.tab_section {
    padding: 120px 0 100px;
    .tab {
        display: flex;
        justify-content: center;
        padding: 40px 0 40px;
        .tablinks {
            background: #f8f9fd;
            border-radius: 55px;
            border: none;
            font-weight: 800;
            font-size: 14px;
            line-height: 170%;
            color: #4a6cb7;
            margin: 0 8px;
            padding: 10px 25px;
            cursor: pointer;
            &.active {
                background: #eff1fa;
                color: #0b2766;
            }
        }
    }
    .tabcontent {
        display: none;
        &.active {
            display: block;
        }
        .tab_grid {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            flex-wrap: wrap;
            .image {
                width: 50%;
                position: relative;
                border-radius: 20px;
                overflow: hidden;
                display: inherit;
                video {
                    cursor: pointer;
                }
                img {
                    display: flex;
                    border-radius: 20px;
                    z-index: 1;
                }
                .video_tab_btn {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 45px;
                    height: 45px;
                    border: 2px solid #fff;
                    border-radius: 10rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transform: translate(-50%, -50%);
                    cursor: pointer;
                    overflow: hidden;
                    transition-property: color;
                    transition-duration: 0.3s;
                    z-index: 1;
                    img {
                        border-radius: 0;
                        position: relative;
                        right: -2px;
                    }
                    &:before {
                        content: "";
                        position: absolute;
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        background: #0b2766;
                        border-radius: 100%;
                        transform: scale(0);
                        transition-property: transform;
                        transition-duration: 0.3s;
                        transition-timing-function: ease-out;
                    }
                    &:hover {
                        &:before {
                            transform: scale(2);
                        }
                    }
                }
            }
            .content {
                width: 50%;
                padding: 0 0 0 50px;
                .tab_content_heading {
                    font-size: 24px;
                    line-height: 170%;
                    color: #0b2766;
                    font-weight: 400;
                    padding: 0 0 15px;
                }
                .p_outer {
                    max-width: 430px;
                    p {
                        font-size: 16px;
                        line-height: 170%;
                        color: #5673b1;
                        padding: 0 0 10px;
                        &:last-child {
                            padding: 0;
                        }
                    }
                    a {
                        font-weight: 800;
                        font-size: 16px;
                        line-height: 170%;
                        color: #0b2766;
                        // display: inline-flex;
                        align-items: center;
                        margin: 13px 0 0;
                        img {
                            width: 16px;
                            margin: 0 0 0 12px;
                            transition: 0.2s;
                            transform-origin: 50% 60%;
                        }
                        &:hover {
                            img {
                                animation: bounceright 0.3s alternate ease
                                    infinite;
                            }
                        }
                    }
                }
            }
        }
    }
}
@media (max-width: 767.5px) {
    .tab_section {
        padding: 20px 0 30px;
        .tab {
            padding: 40px 0 40px;
            flex-wrap: wrap;
            .tablinks {
                margin: 8px;
            }
        }
        .tabcontent {
            .tab_grid {
                .image {
                    width: 100%;
                    margin: 0 auto 30px;
                    justify-content: center;
                    .ba-slider,
                    .ba-slider-new {
                        position: relative;
                        overflow: hidden;
                        margin: 0 auto;
                    }
                    img {
                        margin: 0 auto;
                    }
                    video {
                        max-width: 578px;
                        margin: 0 auto;
                        border-radius: 20px;
                    }
                }
                .content {
                    width: 100%;
                    padding: 0 0 0 0;
                    text-align: center;
                    a {
                        justify-content: center;
                    }
                    .p_outer {
                        margin: 0 auto;
                    }
                }
            }
        }
    }
}
@media (min-width: 768px) and (max-width: 991.5px) {
    .tab_section {
        padding: 50px 0 15px;
        .tabcontent {
            .tab_grid {
                .content {
                    padding: 0 0 0 30px;
                    .p_outer {
                        p {
                            font-size: 14px;
                        }
                    }
                }
            }
        }
    }
}
@media (min-width: 992px) and (max-width: 1199.5px) {
    .tab_section {
        padding: 70px 0 50px;
    }
}
