.boxes__wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    @media screen and (max-width: 768px) {
        flex-direction: column;
    }
}
.column__wrapper {
    width: 45%;
}

.box__base {
    height: 338px;
    border-radius: 10px;
    color: rgb(187, 196, 197);
    cursor: default;
    margin: 5px;
    transition: all 0.3s;
    width: 383px;
    overflow: hidden;
}

.box__base:hover {
    height: 507px;
}

.minimizeHeight {
    height: 162px;
}
.services h3 {
    font-size: 48px;
    font-weight: 700;
    color: #2a3342;
}
.services p {
    font-size: 20px;
    font-weight: 500;
    color: #556987;
}

.service-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 23px;
    width: 700px;
}
.services .service-card {
    container: service-card / inline-size;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 330px;
    height: 338px;
    padding: 1.5rem;
    padding-bottom: 0;
    border-radius: 1.5rem;
    background-color: red;
    transition: height 0.4s ease-in-out;
    @media screen and (max-width: 768px) {
        height: 500px;
    }
}
.service-card:hover {
    @media screen and (min-width: 768px) {
        height: 500px;
    }
}
.service-card .card-content {
    flex-grow: 0.5;
    z-index: 2;
}
.service-card h4 {
    color: #ffffff;
    font-size: 21.92px;
    font-weight: 600;
}
.service-card p {
    color: #ffffff;
    font-size: 16.08px;
    font-weight: 500;
}
.service-card .card_icon {
    position: absolute;
    bottom: 0;
    margin: 0 -1.5rem;
    width: 100%;
    height: 59%;
    display: flex;
    justify-content: end;
    align-items: end;
    z-index: 5;
    border-bottom-right-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
    transition: all 0.4s ease-in-out;
    @media screen and (max-width: 768px) {
        background-color: transparent !important;
    }
}
.service-card .card_icon img {
    object-fit: cover;
    width: 90%;
    transition: all 0.6s ease;
}
.service-card:hover .card_icon {
    background-color: unset !important;
}
.service-card:hover .card_icon img {
    @media screen and (min-width: 768px) {
        width: 130%;
    }
}
.service-card.minimizeHeight {
    height: 170px !important;
    overflow: hidden;
}
.service-card.minimizeHeight .card_icon {
    visibility: hidden;
    height: 1px;
    opacity: 0;
}
.service-card.minimizeHeight .card_icon {
    height: 1px;
}
