.block-services.block-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.block-services.block-section .block-container {
    width: 100%;
    max-width: 1440px;
    position: relative;
}

.block-services {
    padding-top: 66.77px;
    padding-bottom: 52px;
}

.block-services .text h2 {
    color: #303030;
    text-align: center;
    font-family: Open Sans;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 133.2%;
    /* 50.616px */
    text-transform: capitalize;
    max-width: 1018px;
    margin: auto;
    margin-bottom: 18px;
}

.block-services .text p {
    color: #4E4E4E;
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    /* 28.8px */
    max-width: 1018px;
    margin: auto;
    margin-bottom: 29.65px;
}

@media (min-width: 1200px) {
    .services-container {
        padding-top: 80px;
    }
}

.block-services .logos-container {
    margin: auto;
    display: flex;
    justify-content: center;
    /* margin-bottom: 41.83px; */
    margin-bottom: 29.65px;
}

.block-services .logos {
    display: flex;
    /* gap: 24.21px;
    padding: 0px;
    margin: 0px;
    width: fit-content; */
    flex-direction: column;
    gap: 18.48px;
    justify-content: center;
    align-items: center;
}

.block-services .logos-row {
    display: flex;
    gap: 24.21px;
    padding: 0px;
    margin: 0px;
    width: fit-content;
}

@media (min-width: 1200px) {
    .block-services .logos-row.margin-row {
        margin-top: -50px !important;
    }
}

.block-services .logos .logo-image {
    margin-bottom: 0px;
}

.block-services .logos .logo-image>img {
    /* height: 60.52084px;
    width: 60.52084px; */
    height: 150px;
    width: 150px;
    transition: .2s all;
}

.block-services .logos .logo-image>img:hover {
    transform: scale(1.2);
}

.block-services .categories-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 44.6px;
}

.block-services #categories-container {
    display: flex;
    gap: 0;
    justify-content: center;
    transition: .5s all;
}

.block-services .category {
    color: #73757A;
    text-align: center;
    font-feature-settings: 'ss02' on;
    font-family: Poppins;
    font-size: 14.151px;
    font-style: normal;
    font-weight: 600;
    line-height: 16.981px;
    cursor: pointer;
    padding: 9.2px 11.32px;
    border-bottom: 1.415px solid transparent;
    transition: .2s all;
    position: relative;
}

.block-services .category.active {
    color: #23385D;
}

.block-services .category::after {
    content: '';
    background-color: transparent;
    height: 1.415px;
    border-radius: 7.075px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 0px;
    transition: .2s all;
}

.block-services .category.active::after {
    background-color: #23385D;
    width: 100%;
}

.card-container {
    display: flex;
    gap: 29.01px;
    transform: translateX(0);
    transition: .5s all;
    padding-left: 139px;
}

.card .text {
    display: flex;
    flex-direction: column;
    gap: 12.028px;
}

.card.small {
    display: inline-flex;
    padding: 31.132px 43.16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12.028px;
    border-radius: 21.226px;
    background: #F6F8FB;
    border: none;
    min-width: 376.32074px;
    min-height: 376.97754px;
    max-width: 376.32074px;
    max-height: 376.97754px;
}

.card.small img {
    /* max-width: 84.19769px;
max-height: 93.25119px; */
    /* max-width: 119px;
max-height: 97px; */
}

.card.small h3 {
    color: #303030;
    font-family: Open Sans;
    font-size: 21.226px;
    font-style: normal;
    font-weight: 600;
    line-height: 133.2%;
    text-transform: capitalize;
    width: 236.321px;
    text-align: left;
}

.card.small p {
    color: #4E4E4E;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    align-self: stretch;
    text-align: left;
}

.card.medium {
    display: flex;
    min-width: 634.67px;
    min-height: 375.708px;
    max-width: 634.67px;
    max-height: 375.708px;
    padding: 58.322px 42.943px 55.593px 50.236px;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    gap: 13.443px;
    flex-shrink: 0;
    background: #F6F8FB;
    border: none;
    border-radius: 21.226px;
}

/* .card.medium img {
width: 266.731px;
height: 291.321px;
flex-shrink: 0;
} */

.card.medium h3 {
    width: 192px;
    color: #303030;
    font-family: Open Sans;
    font-size: 21.226px;
    font-style: normal;
    font-weight: 600;
    line-height: 133.2%;
    /* 28.274px */
    text-transform: capitalize;
    text-align: left;
}

.card.medium p {
    color: #4E4E4E;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    /* 25.6px */
    width: 253.302px;
    text-align: left;
}

.card-slider {
    display: none;
}

.card-slider.active {
    display: flex;
    flex-direction: column;
}

.slider-controls {
    display: flex;
    gap: 6px;
    margin-top: 44.29px;
    justify-content: center;
}

.slider-controls ul {
    display: flex;
    gap: 6px;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    align-items: center;
}

.slider-controls span,
.slider-controls li {
    cursor: pointer;
}

.slider-controls li {
    width: 12.21px;
    height: 12.21px;
    border-radius: 16.789px;
    background: #E4E7EC;
    transition: .2s all;
}

.slider-controls li.active {
    width: 48.841px;
    height: 12.21px;
    border-radius: 16.789px;
    background: #2A3A5A;
}

.fa-chevron-right,
.fa-chevron-left {
    width: 32px;
    height: 32px;
    color: #BBBCBF;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: .2s all;
}

.fa-chevron-right.more,
.fa-chevron-left.more {
    color: #23385D;
}

.category-arrows {
    position: absolute;
    width: 100%;
    justify-content: space-between;
}

.category-arrows .category-right,
.category-arrows .category-left {
    z-index: 15;
}


@media (max-width: 370px) {

    .cards .card.medium,
    .cards .card.small {
        min-width: 280px !important;
        max-width: 280px !important;
    }
}

@media (max-width: 568px) {
    .block-services.block-section {
        padding: 40px 20px;
    }

    .block-services .text h2 {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .block-services .text p {
        font-size: 16px;
    }

    .block-services .logos {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0px;
        padding: 0px;
    }

    .block-services .logos-row {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .block-services .logo-image {
        width: 40%;
        margin-bottom: 0px;
        display: flex;
        justify-content: center;
    }

    .card-container {
        padding: 0px;
    }

    .cards .card.medium,
    .cards .card.small {
        display: flex;
        flex-direction: column;
        padding: 20px;
        min-width: 335px;
        max-width: 335px;
        min-height: 275.97754px;
        max-height: unset !important;
        position: relative;
    }

    .cards .card.medium img,
    .cards .card-small img {
        width: 100%;
        height: auto;
    }

    .cards .card.medium .text {
        align-self: flex-start;
    }

    .cards .card.medium p {
        width: 100%;
    }

    .cards .card {
        justify-content: center;
    }

    .cards .card img {
        max-width: 65px;
        height: auto;
        align-self: flex-start;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .block-services .categories-selector,
    .block-services #categories-container {
        justify-content: flex-start;
        width: 100%;
    }

    .block-services .category {
        min-width: 100%;
    }

    .block-services .category.active::after {
        margin-left: 15%;
        width: 70%;
    }
}

@media (min-width: 568px) and (max-width: 1200px) {
    .block-services.block-section {
        padding: 40px;
    }

    .block-services .logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card-container {
        padding-left: 100px;
    }
}

@media (min-width: 1441px) {
    .card-container {
        padding-left: 114px;
    }
}