.case-study-tab{
    position: relative;
    
    padding: 80px 0;
    background: #E5EBF3;
}
#categoryTabs {
    width: 75%;
    margin: auto;
    margin-bottom: 50px;
    text-align: center;
}

.case-study { 
    border: 1px solid #ddd; 
    padding: 15px 30px 30px 30px; 
    margin:20px 10px; 
    text-align: center; 
    border-radius: 12px;
    background: linear-gradient(165.58deg, #68A3ED 10.23%, #0952AE 101.12%);
    position: relative;
    height: 100%;
}
.case-study:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: url(/assets/img/case-study_new/case-study-bg.svg) no-repeat center;
    background-size: cover;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
}

.tabnav #nav-tab{
    border: none;
    border: none;
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-link:focus-visible{
    box-shadow: none;
}
.tabnav button:hover{
    color: #F1414F !important;
}
.tabnav button { 
    padding: 14px 35px;
    font-size: 17px;
    color: #F1414F;
    text-align: center;
    border: 1px solid #ff3651 !important;
    margin: 0 6px 15px;
    border-radius: 28px !important;
    margin-bottom: 15px !important;
    font-weight: 400;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s ease-in-out; 
}
.tabnav button.active { 
    background-color: #F1414F !important;
    color: #fff !important;
}
.case-thumbnail {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
}
.thumbnail2{
    transform: translateY(15px);
}
.case-thumbnail img{
    width: 50%;
    margin: 0 5px;
}
.case-study-box{
    margin-bottom: 35px;
}
.case-title-in {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
}
.case-title-in h4{
    width: 80%;
    text-align: left;
    margin: 0;
}
.case-title-in i{
    width: 20%;
}
.case-title {
    position: absolute;
    padding: 26px 20px;
    background: #fff;
    width: 100%;
    left: 0;
    border-radius: 0px 0px 12px 12px;
    width: 100%;
}
.case-title:hover i{
    transition: 0.5s ease;
    transform: rotate(85deg);
}
.case-title h4 a{
    width: 80%;
    text-align: left;
    margin: 0;
    color: #000;
    font-size: 16px;
}
.case-title i{
    width: 20%;
    transform: rotate(45deg);
    font-size: 20px;
}




:root{
    --bg-image-desktop:url(/assets/img/banner1.webp);
    --height:100%;
    --bg-size:cover;
}

.case-study_banner{
    background-size: var(--bg-size) !important;
    padding: 50px 0 0 0;
    height: var(--height);
    background: var(--bg-image-desktop) no-repeat center bottom;
    position: relative;
    overflow: hidden;
}
.cs-bg {
    position: relative;
}

.case-study_banner:before{
    position: absolute;
    content: '';
    width: 375px;
    height: 375px;
    background: linear-gradient(225.56deg, #1663D8 25.25%, #0648AC 94.17%);
    right: 0;
    border-radius: 50%;
    bottom: -170px;
}
.cs-title {
    padding-bottom: 30px;
    h1{
        font-family: Rubik;
        font-weight: 600;
        font-size: 30px;
        line-height: 40px;
        color: #00386F;
        text-transform: capitalize;
    }
    p{
        font-family: Ubuntu Sans;
        color: #333333;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }
}
.cs-rate{
    padding: 50px 0;
    background: #E5EBF3;
}
.cs-rate-box1{
    border-radius: 20px;
    border: 1px solid #BAD9FF;
    background: rgba(255, 255, 255, 0.71);
    backdrop-filter: blur(10px);
    padding: 18px 0 0 0;
    margin-bottom: 20px;
    text-align: center;
}
.cs-rate-box1 h2{
    color: #575757;
    text-align: center;
    font-family: Rubik;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin: 0;
}
.cs-rate-box1 span{
    color: #1B5176;
    text-align: center;
    font-family: Rubik;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 5px;
    display: block;
}
.cs-rate-box1 h3{
    color: #333;
    text-align: center;
    font-family: Rubik;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;

}
.cs-rate-box1 i.green{
    padding-left: 5px;
    color: #17B243 !important;
}
.cs-rate-box1 i.red{
    padding-left: 5px;
    color: #dc3545 !important;
}
.cs-rate-box1 img{
    width: 100%;
}
.about-case {
    padding: 0;
    background: #E5EBF3;
}
.about-discription {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(225.56deg, #1663d8 25.25%, #0648ac 94.17%);
    min-height: 280px;
    border-radius: 110px 12px 12px 0px;
    color: #fff;
    padding:40px 20px;
    position: relative;
    margin-top: 30px;
}
.about-discription:before{
    content: "";
    position: absolute;
    background: url(/assets/img/ownership-pattern.png) left top / contain no-repeat;
    z-index: 1;
    width: 194px;
    height: 194px;
    left: calc(50% - 97px);
    bottom: -15px;
}
.about-discription h3{
    font-family: Rubik;
    font-weight: 600;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0px;
}
.about-discription p{
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
}
.cs-sticky-main{
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}
.cs-sticky-main::before{
    background: #e6ecf3;
    content: '';
    width:100%;
    height: 100%;
    left: 0px;
    top: 0;
    right: 0;
    position: absolute;
}
.cs-sticky-heading{
    padding: 0 10px;
}

.cs-sticky-heading h2{
    font-family: Rubik;
    font-weight: 600;
    font-size: 30px;
    line-height: 35px;
    color: #00386F;
    margin: 0;
}
.cs-stickybmain{
    padding: 10px;
    position: relative;
}
.cs-stickybmain:before {
    position: absolute;
    border-width: 1px;
    border-style: solid;
    border-image: linear-gradient(to bottom, red, rgba(0, 0, 0, 0)) 1 100%;
    border-right: 0;
    content: '';
    height: 100%;
    left: -5px;
    top: 0;
    right: 0;
   
}
.cs-stickybmain .cs-sticky_b-1 h3{
    font-family: Rubik;
    font-weight: 700;
    font-size: 25px;
    color: #00386F;
}

.cs-sticky_b-1 ul li{
    position: relative;
    padding-left: 30px;
    padding-bottom: 10px;
    font-family: Ubuntu Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: #27456D;
}
.cs-sticky_b-1 i{
    position: absolute;
    left: 0;
    top: 5px;
    color: #115BCC;
}
.cs-sticky_b-1 {
    border-bottom: 1px solid #C6D3E3;
    padding: 20px 0; 
}
.cs-sticky_main{
    position: relative;
}
.tabnav {
    display: block;
  }
  .mob_header {
    display: none;
}
@media (max-width: 767px) {
    .case-study-tab .tabnav {
        display: none;
    }
    .case-study-tab .tab-content>.tab-pane {
        display: block !important;
        opacity: 1;
        padding: 10px;
    }
    .case-study-tab .tab-content>.tab-pane .mob_header {
        display: block;
        text-align: center;
        padding: 15px 20px;
        font-size: 18px;
        background-color: #0a55b1;
        color: #ffffff;
        font-weight: 600;
        letter-spacing: 1px;
        border-radius: 30px;
    }
}


@media (min-width: 768px) {
    .mob_header {
        display: none;
    }
    .tabnav {
        display: block;
    }
}


@media (max-width: 767px) {
    .mob_header {
        display: block;
        font-weight: bold;
        padding: 10px;
        background: #f5f5f5;
        cursor: pointer;
        border-bottom: 1px solid #ccc;
        position: relative;
    }
    .case-title-in h4{
        width: 80%;
    }
    .case-title{
        padding: 12px 10px;
    }
    .case-title-in h4 a{
        font-size: 13px;
    }

    .tabnav {
        display: none;
    }

    .tab-btnmob {
        display: none; 
        padding: 15px 15px;
        background: #ccdfff;
        margin: -18px 10px 10px 10px;
    }

    .mob_header.active {
        background: #ddd;
    }
    .case-study-box{
        margin-bottom: 50px !important;
        padding: 0;
    }
    .tab-content{
        padding: 10px 0;
        border-radius: 10px;
    }
}