/* ==========================================================================
   Info3 widget — services cards
   ========================================================================== */

.site_services .container_wrap {
    flex: 1 1 auto;
    margin: 4rem auto 0 auto;
    max-width: 1420px;
    min-width: 0;
    padding: 0 20px;
    width: 100%;
}

.site_services_panel {
    width: 100%;
}

.site_services_title {
    font-size: 35px;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.site_services_title::first-letter {
    color: var(--primary-color);
}

.site_services_row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
    width: 100%;
}

.site_services_col {
    box-sizing: border-box;
    flex: 0 0 100%;
    margin-bottom: 1rem;
    max-width: 100%;
    min-width: 0;
    padding: 0 0.5rem;
}

.site_services_card {
    border: unset;
    border-radius: 1.25rem;
    box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 260px;
    margin: 0;
    max-height: 260px;
    min-height: 260px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.site_services_card picture {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.site_services_card picture img {
    display: block;
    height: 100%;
    left: 0;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    transition: 0.2s;
    width: 100%;
}

.site_services_card:hover .site_services_card_content {
    background: rgba(0, 0, 0, 0.5);
}

.site_services_card:hover picture img {
    filter: blur(4px);
}

.site_services_card_content {
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex: 0 0 auto;
    padding: 1.25rem;
    position: relative;
    transition: 0.2s;
    width: 100%;
    z-index: 2;
}

.site_services_card_heading {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: 500;
    gap: 0.75rem;
    margin: 0;
    line-height: 1.2;
}

.site_services_card_heading span {
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 27px;
    line-height: 1;
}

.site_services_actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.site_services_button {
    flex-shrink: 0;
}

.site_services_card.invisible {
    visibility: hidden;
}

.site_services_card.animate__fade_in {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: site_fade_in;
    visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
    .site_services_card.animate__fade_in {
        animation-duration: 1ms !important;
    }
}

@media (min-width: 576px) {
    .site_services_col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .site_services_col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 1200px) {
    .site_services_col {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1399.98px) {
    .site_services_title {
        font-size: calc(1.34375rem + 1.125vw);
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
    .site_services_title {
        font-size: 2.1875rem;
    }
}

@media (max-width: 1199.98px) {
    .site_services .container_wrap {
        margin-top: 3.5rem;
    }

    .site_services_card {
        height: 240px;
        max-height: 240px;
        min-height: 240px;
    }
}

@media (max-width: 991.98px) {
    .site_services_card {
        height: 200px;
        max-height: 200px;
        min-height: 200px;
    }
}

@media (max-width: 767.98px) {
    .site_services_title {
        text-align: center;
    }

    .site_services_card {
        height: 180px;
        max-height: 180px;
        min-height: 180px;
    }
}

@media (max-width: 575.98px) {
    .site_services_card {
        height: 160px;
        max-height: 160px;
        min-height: 160px;
    }
}
