.case_study_area {
    background: #fff;
}

.case_study_area [class*="col-"] {
    padding-top: 50px;
    padding-bottom: 50px;
}
.thank-you-title {
   /* max-width: 480px; has conflict with use cases page top title */
}
.thank-you-title p {
    max-width: 630px;
}
.thank-you-title .D_BodyText_Poppins_regular_20px {
    margin: 0 auto;
}

.case_study_area .row {
    --bs-gutter-x: 3.75rem;
}

.case_img img {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    width: 100%;
    transition: 1s;
    transform: scale(1);
}

.case_img img:hover {
    transform: scale(1.1);
    transform-origin: right;
}

.case_img {
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.bg-wrapper {
    position: relative;
    width: 100%;
}

.bg-wrapper::before {
    position: absolute;

}

.case-right,
.cas_study_img_shape {
    width: 50%;
}

.case_study_br {
    position: relative;
    width: 100%;
    height: 50%;
    z-index: 15;
}

.bg-wrapper {
    height: 50%;
    background: transparent url("../img/case_study/right-top-shape.svg") right bottom no-repeat;
    background-size: cover;
}


.case_study_br.bg-yellow {
    background-image: url("../img/case_study/yellow-shape.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.case_study_br.bg-purple {
    background-image: url("../img/case_study/purple-shape.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.case_img {
    width: 100%;
    height: 298px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0 50% 50% 0;
    z-index: 1;
}
.cas_study_img_shape {
    width: 50%;
    height: 100%;
    position: relative;
}

.case_2 .cas_study_img_shape{
    width: 50%;
}

.img_shape_bg {
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    right: 0;
    display: block;
}
.img_shape_bg.bg_purple {
    background: #EFE3FF;
}

.case_study_thumb {
    display: flex;
    /*
    padding: 20px 15px 20px 20px;
    border: 1px solid #c5c5c5;
    border-radius: 7.7px; */
    position: relative;
    text-decoration: none;
}

.case_study_thumb:hover {
    text-decoration: none;
}

.case_study_tr {
    display: flex;
    align-items: flex-end;
    padding-bottom: 24px;
}

.bg-wrapper h3 {
    padding-left: 58px;
    padding-top: 23px;
    padding-right: 40px;
    font-size: 36px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: normal;
    color: #1a1b20;
    font-family: playfair display,serif;
    display: flex;
    padding-bottom: 22px;
    align-items: start;
    flex-direction: column;
    height: 100%;
    justify-content: end;
}
.case_2 .bg-wrapper h3{
    padding-left: 32px;
    padding-top: 30px;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
}

.case_study_br.bg-purple {
    /* padding-left: 71px; */
}

.case_study_br.bg-purple h4,
.case_study_br.bg-purple p {
    color: #fff;
}

.case_study_br p {
    font-size: 19px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    color: #1a1b20;
}

.case_study_br h4 {
    font-size: 19px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    color: #1a1b20;
    font-weight: 600;
}

.case_study_br {
    padding-left: 40px;
    padding-top: 27px;
    padding-right: 40px
}

.case_study_br.pl-35 {
    padding-left: 35px;
    padding-right:40px;
}

.case_text {
    margin-top: 30px;
}

.case_text p a {
    font-size: 24px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #1a1b20;
    max-width: 550px;
    text-decoration: none;
}

.case_text_single p a {
    font-size: 32px;
}

.case_text h3 {
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: -0.2px;
    color: #755be2;
    margin-bottom: 18px;
}

.case_text_single {
    display: flex;
    align-items: center;
    border-top: 1px solid #755be2;
    border-bottom: 1px solid #755be2;
    height: 100%;
    padding-right: 30px;
    padding-left: 49px;
}

.case_2 {
    padding-bottom: 50px;
}

.case_study_area_main {
    padding-bottom: 100px;
}

.thank_case_study .thank-you-inner h1:before {
    background: #755be2;
}

.thank_case_study .single-form {
    background-color: #fff;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    border: var(--light-purple) solid #000;
    margin-top: 50px;
    padding: 0 20px;

}

.thank_case_study .single-form select {
    color: #1a1b20;
    border: 1px solid #eeeeee;
    background-color: #fff;
    background-position: 98% center;
    cursor: pointer;
}

.thank_case_study .single-form select.loader {
    background: url(../img/case_study/loader-circle.svg) 100% -3px no-repeat;
    background-size: 60px;
}

.case_2 .bg-wrapper h3.font-size-small {
    font-size: 20px;
}


@media (min-width: 1200px) {


    /* Case2 */
    .case_2.case_study_area .row {
        --bs-gutter-x: 28px;
        /* padding-top: 50px; */
        /* padding-bottom: 50px; */
    }

    .case_2 .bg-wrapper h3 {
        font-size: 24.2px;
        font-weight: 500;
        line-height: 1;
    }

    .case_2 .case_study_br {
        padding-left: 32px;
        padding-top: 24px;
    }

    .case_2 .case_study_br p,
    .case_2 .case_study_br h4 {
        font-size: 12.7px;
        line-height: 1.3;
    }

    .case_2 .case_text {
        margin-top: 20px;
    }

    .case_2 .case_text p a {
        font-size: 17px;
    }

    .case_2 .case_text h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }


}
@media (max-width: 1399px) {
    .case_img {
        height: 290px;
    }
}

@media (max-width: 1359px) {
    .case_img {
        height: 270px;
    }
}

@media (max-width: 1199px) {
    .case_study_area_main {
        padding-bottom: 60px;
    }
    .case_img {
        height: 252px;
    }
    .video-play {
        width: 60px;
    }

    .case_study_thumb {
/*         padding: 10px; */
    }

    .case_study_area [class*="col-"] {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .case_study_area .row {
        --bs-gutter-x: 1rem;
    }

    .case_study_br {
        padding-left: 32px;
    }

    .case_study_br.pl-35 {
        padding-left: 18px;
    }

    .bg-wrapper h3 {
        font-size: 18.3439px;
    }

    .case_study_br h4,
    .case_study_br p,
    .case_study_tr p,
    .case_study_tr h4 {
        font-size: 9.68152px;
    }

    .case_text {
        margin-top: 20px;
    }

    .case_text h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .case_text_single p {
        font-size: 18px;
    }

    .case_text p a {
        font-size: 17px;
    }

}

@media (max-width: 991px) {

    .thank-you-area.thank_case_study{
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .case_study_area_main {
        padding-top: 60px;
    }

    .single-grid {
        padding-top: 0 !important;
        padding-bottom: 0 !important;

    }

    .single-grid:first-child {
        padding-bottom: 0 !important;
    }

    .case_text_single {
        padding-bottom: 30px;
        padding-left: 0;
        padding-right: 0;
    }

    .case_2 .cas_study_img_shape{
        width: 50%;
    }

    /*  */
    .case_study_br {
        padding-left: 32px;
        padding-right: 18px;
    }

    .case_study_br.pl-35 {
        padding-left: 22px;
        padding-top: 18px;
    }

    .bg-wrapper h3 {
        font-size: 18.74px;
        padding-left: 30px;
        padding-right: 40px;
        padding-top: 0;
        display: flex;
        height: 100%;
        justify-content: end;
        flex-direction: column;
        padding-bottom: 12px;
    }

    .case_study_br h4,
    .case_study_br p,
    .case_study_tr p,
    .case_study_tr h4 {
        font-size: 9.89px;
    }

    .case_text {
        margin-top: 20px;
    }

    .case_text h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .case_text_single p {
        font-size: 18px;
    }

    .case_text p a {
        font-size: 18px;
    }

    .case_study_br {
        padding-top: 13px;
        padding-left: 25px;
    }

    .case_2 {
        padding-bottom: 30px;
    }


    .cas_study_img_shape {
        width: 50%;
    }
}

@media (max-width: 768px) {

    .cas_study_img_shape {
        width: 50%;
    }
    .case_2 .bg-wrapper h3,
    .bg-wrapper h3 {
        padding-left: 30px;
        padding-top: 30px;
        padding-right: 40px;
        font-size: 19px;

    }
}

@media (max-width: 575px) {
    .case_text_single {
        border-top: 0;
    }
    .bg-wrapper h3 {
        padding-left: 18px;
        padding-top: 9px;
        display: flex;
        height: 100%;
        justify-content: end;
        flex-direction: column;
        padding-bottom: 8px;
        font-size: 20px;
    }

    .case_study_br.pl-35 {
        padding-left: 25px;
    }
}