﻿.list-services-section {
    width: 100%;
    /* display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center; */
    box-sizing: border-box;
    /* padding: 40px 0; */
    justify-content: flex-start;
}

.service-card {
    /* max-width: 424px;
     height: 390px; */
    /* margin: 0 10px 56px 10px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.service-card .service-name {
    /* font-size: 20px;
font-weight: 700; */
    color: #1D4288;
}

.service-card p {
    height: 100px;
    width: 95%;
    text-align: justify;
    /* font-size: 16px;
font-weight: 400;
line-height: 28px; */
    display: -webkit-box;
    color: #1a1a1a;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card .group-btn {
    width: 100%;
    display: flex;
    align-items: center;
}

.service-card .group-btn button {
    /* border: none;
background-color: #1D4288;
width: 200px;
height: 48px;
    font-family: BebasNeue;
font-weight: 400;
font-size: 22px; 
    color: white; */
    margin-right: 24px;
}

    
.service-card .group-btn button a {
    color: inherit;
}

.schedule-btn, .schedule-btn{
    max-width: 212px;
}

.service-card .group-btn .learn-more-btn {
    white-space: nowrap;
}

.schedule-btn, .schedule-btn:hover {
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 2px solid #1D4288;
    /* font-size: 14px;
    font-weight: 700; */
    color: #1D4288;
    cursor: pointer;
    min-width: 89px;
}

.service-card-img {
    width: 100%; 
    height: auto; 
    object-fit: cover;
    height: 273px;
}


@media (max-width: 1024px) {
    .service-card .group-btn a {
        width: 100%;
    }

    .service-card .group-btn .learn-more-btn {
        margin: 0 auto;
    }

    .service-card .group-btn .schedule-btn {
        margin-left: 0;
        align-self: flex-start;
        margin-top: 8px;
    }

}
