.row.products-section {
    width: 100%;
    margin: 0px auto;
    display: block;
    max-width: 1368px;
    padding-bottom: 60px;
}

.obj-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gal-tab-img {
    border-radius: 5px;
    height: 100%;
    width: auto;
    height: 100%;
    object-fit: cover;
    width: 100%;
    overflow: hidden;
}

.grid-root {
    transform: translateX(15px);
}

.tab-content {
    background: white;
    padding: 30px;
    border-radius: 0 0 5px 5px;
    border: 4px solid #1c4f9c;
    margin: 0 1px;
}

.obj-cover {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(125px, 125px);
}

.grid-wrapper div {
    display: flex;
}

.grid-wrapper picture img {
    height: 100%;
    object-fit: cover;
}

.one {
    grid-column: 1 / 3;
    grid-row: 1 / 5;
}

.two {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.three {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}

.four {
    grid-column: 3 / 5;
    grid-row: 3 / 5;
}

.nav-link.tab-link {
    background: #337ab7;
    color: white;
    padding: 20px;
    padding-bottom: 25px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.nav-link.tab-link:hover {
    background: #1c4f9c;
}

.active.nav-link.tab-link {
    background: #1c4f9c;
    font-weight: 600;
    border-radius: 5px 5px 0 0;
}

.nav-link {
    cursor: pointer;
}

.nav.nav-pills {
    display: flex;
    margin-bottom: -5px !important;
    position: relative;
    flex-wrap: nowrap;
}

.tab-content {
    position: relative;
    z-index: 1;
}

.nav-pills > li {
    flex: 1 1 auto;
    margin: 0 1px;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background-color: white;
    color: #bf0426;
}

.tab-icons {
    display: flex;
    justify-content: center;
}

.grid-root > .col-lg-6:last-child {
    padding: 45px;
}

.grid-root > .col-lg-6:last-child h3 {
    font-size: 34px;
    line-height: 1.5;
    text-align: center;
    font-weight: 700;
    padding: 0 30px;
}

.grid-root > .col-lg-6:last-child h3 span {
    color: #1c4f9c;
    font-weight: 800;
}

.tab-icons div {
    width: 135px;
    padding-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home .galleries {
    margin-bottom: 30px;
    margin-top: 0;
}

@media (max-width: 1368px) {
    .home .galleries {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .nav-link.tab-link {
        padding: 12px;
        font-size: 16px;
    }

    .grid-root {
        transform: translateX(0);
    }

    .grid-root > .col-md-6:last-child h3 {
        margin-top: 0;
        font-size: 24px;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .grid-wrapper {
        grid-auto-rows: minmax(75px, 75px);
    }
}

@media (max-width: 630px) {
    .nav.nav-pills {
        flex-wrap: wrap;
        margin-bottom: 5px;
    }

    .nav-link.tab-link {
        margin: 5px;
    }

    .active .nav-link.tab-link {
        border-radius: 5px;
    }

    .nav-pills .nav-item:first-child .nav-link {
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .grid-root > .col-lg-6:last-child h3 {
        font-size: 20px;
        padding: 0 10px;
    }

    .grid-root > .col-md-6:last-child {
        padding: 15px;
    }

    .grid-wrapper {
        grid-auto-rows: minmax(50px, 50px);
    }

    .nav-pills > li + li {
        margin-left: 0;
    }

    .nav-pills .nav-item:first-child .nav-link {
        margin-left: 5px;
    }
}
