.tab-section .container {
    max-width: 1350px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    font-family: "Poppins", Sans-serif;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    outline: 0;
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    display: inline-block;
    transition: all .4s ease;
}

.primary-btn {
    padding: 12px 25px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #FFFFFF !important;
    background-color: #219EBC !important;
    border-radius: 50px;
    display: inline-block;
}

.primary-btn:hover {
    background-color: #323232 !important;
}

.tab-section {
    padding: 80px 0;
}

.tab-section .h1 {
    color: #212529;
    font-size: 64px;
    font-weight: 700;
    line-height: 130%;
    text-align: center;
    margin-bottom: 30px;
}

.tab-section-inner .tab-bar {
    overflow: hidden;
    overflow-x: scroll;
    scrollbar-width: none;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tab-section-inner .tabs-nav {
    display: flex;
    justify-content: start;
    gap: 10px;
    flex-wrap: nowrap;
    width: max-content;
    overflow: hidden;
    overflow-x: scroll;
    scrollbar-width: none;
}

.tab-section-inner .tabs-nav li {
    white-space: nowrap;
}

.tab-section-inner .tabs-nav li.tab-active a {
    background-color: #323232 !important;
}

.tab-section-inner .h2 {
    color: #212529;
    font-size: 45px;
    font-weight: 700;
    line-height: 130%;
    text-align: center;
    margin-bottom: 40px;
}

.blog-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.blog-details-inner {
    background-color: #FFFFFF;
    box-shadow: 4px 4px 10px 0px rgba(32.999999999999986, 158.00000000000026, 188, 0.1);
    border-radius: 0;
    padding: 20px;
}

.blog-details-inner>a {
    display: block;
}

.blog-details-inner .blog-img img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 0;
    transition: all 0.4s ease;
}

.blog-details-inner:hover .blog-img img {
    transform: scale(1.05) rotate(2deg);
    opacity: .8;
}

.blog-details-inner .h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 150%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    color: #219EBC;
}

.blog-details-inner p {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #212529;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 20px;
}

.blog-details-inner .primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-details-inner .primary-btn img {
    width: 20px;
    height: auto;
}

.video-details {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.video-details-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 30px;
}

.video-details-inner:nth-child(even) .video-sec {
    order: 1;
}
.video-content li{    
    margin-bottom: 16px;
    margin-left: 26px;
    list-style: disc;
}

.video-details-inner .h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 150%;
    color: #219EBC;
}

.video-details-inner p {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #212529;
}

.video-details-inner p:last-child {
    margin-bottom: 0;
}

.video-details-inner .video-sec :where(iframe, video, img) {
    width: 100%;
    height: 330px;
    border-radius: 32px;
    display: block;
}

.video-details-inner .video-sec img {
    height: 400px;
    object-fit: cover;
}

.video-details-inner .primary-btn {
    margin-top: 16px;
}
#tab-2 .video-details-inner{
 align-items: center;
}
@media only screen and (min-width: 1023px) {
#tab-2 .video-details-inner:nth-child(odd){grid-template-columns: 0.8fr 1fr;}
#tab-2 .video-details-inner:nth-child(even){grid-template-columns: 1fr 0.8fr;}
#tab-2 .video-details-inner .video-content h3{font-size: 36px;}
}
#tab-2 .video-details-inner .video-sec img{
    height: 600px;
    background-color: #f5f5f5;
    object-fit: contain;
}

.custom-pagination {
    margin-top: 50px;
}

.custom-pagination ul {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.custom-pagination ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #219EBC !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 16px;
    line-height: 1;
}

.custom-pagination ul li a:hover {
    background-color: #212529 !important;
}

.custom-pagination ul li.active a {
    background-color: #212529 !important;
    font-weight: 600;
}

.custom-pagination ul li img {
    display: block;
    width: 14px;
    height: auto;
}

.custom-pagination ul li img.previous {
    transform: rotate(180deg);
}

@media only screen and (max-width: 1199px) {
    .blog-details-inner .h3 {
        font-size: 20px;
    }

    .tab-section-inner .h2 {
        font-size: 36px;
    }

    .tab-section .h1 {
        font-size: 45px;
    }

    .primary-btn {
        font-size: 16px;
    }

    .video-details-inner .h3 {
        font-size: 22px;
    }

    .video-details-inner p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 991px) {
    .blog-details {
        grid-template-columns: 1fr 1fr;
    }

    .video-details-inner .video-sec img {
        height: 300px;
    }
}

@media only screen and (max-width: 767px) {
    .tab-section {
        padding: 90px 0;
    }

    .tab-section .h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .blog-details {
        grid-template-columns: 1fr;
    }

    .tab-section-inner .h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .tab-section-inner .tab-bar {
        margin-bottom: 40px;
    }

    .blog-details-inner .primary-btn img {
        width: 17px;
    }

    .video-details-inner .h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .video-details-inner p {
        margin-bottom: 12px;
    }

    .video-details-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-details-inner:nth-child(even) .video-sec {
        order: 0;
    }
}