/* Base styling for cards section */
.primary-btn::after {
    height: 37px;
    bottom: 0;
}
.margin-b-80 {
    margin-bottom: 80px;
}
.work-hero-section {
    margin-top: 160px;
}
.work-cards-holder {
    margin-top: 64px;
    background-color: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    overflow: hidden;
}
.work-cards-holder img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    border-right: 1px solid #D5D7DA;
    border-radius: 0;
    box-sizing: border-box;
}
.work-card-text {
    padding-top: 86px;
    padding-left: 60px;
    padding-right: 15px;
    width: 100%;
    height: 100%;
}
.card-title {
    font-family: "IBM Plex Serif", serif;
    font-weight: 600;
    font-style: italic;
    line-height: 44px;
    color: #2D2D2D;
    font-size: 36px;
}
.card-header-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    line-height: 20px;
    color: #CA2525;
    font-size: 14px;
}
.card-text {
    margin-top: 24px;
    margin-bottom: 32px;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    line-height: 28px;
    color: #868686;
    font-size: 18px;
}
.card-footer {
    margin-top: 50px;
    margin-right: 24px;
    margin-bottom: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #2D2D2D;
}

/* RESPONSIVE */
@media (max-width: 1400px) {
    .work-card-text {
        padding-top: 50px;
        padding-left: 36px;
    }
    .card-footer {
        margin: 32px 0;
    }
}
@media (max-width: 992px) {
    .work-card-text {
        padding-top: 32px;
        padding-left: 16px;
    }
    .card-text {
        margin: 24px 0;
    }
    .card-title {
        line-height: 36px;
        font-size: 28px;
    }
    .card-footer {
        flex-direction: column;
    }
    .card-footer p{
        margin-bottom: 12px;
    }
    .work-hero-section {
        margin-top: 110px;
    }
}
.counter {
    font-weight: bold;
    transition: all 0.3s ease;
}
