﻿section.case1 .card_container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

section.case1 .card {
    gap: 20px;
}

@media (max-width: 575px) {
    section.case1 .card {
        width: calc(100% - 40px);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    section.case1 .card {
        width: calc(50% - 50px);
    }
}

@media (min-width: 992px) {
    section.case1 .card {
        width: calc(50% - 40px);
    }
}

section.case1 .card h4 {
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

section.case1 .card p {
    padding-left: 20px;
    padding-right: 20px;
}

section.case1 .card a {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: auto;
    margin-bottom: 20px;
}


section.case1 .all_service_button {
    margin-top: 100px;
    margin-bottom: 30px;
}

    section.case1 .all_service_button a {
        width: 30%;
        max-width: 150px;
        height: 50px;
        line-height: calc(50px - 6px - 6px);
        display: block;
        margin-left: auto;
        margin-right: auto;
        color: #406C9F;
    }




section.case2 .card_container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

section.case2 .card {
    gap: 20px;
}

@media (max-width: 575px) {
    section.case2 .card {
        width: calc(100% - 40px);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    section.case2 .card {
        width: calc(50% - 50px);
    }
}

@media (min-width: 992px) {
    section.case2 .card {
        width: calc(50% - 50px);
        
    }
}


section.case_service .card_container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

section.case_service .card {
    gap: 20px;
}

@media (max-width: 575px) {
    section.case_service .card {
        width: calc(100% - 40px);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    section.case_service .card {
        width: calc(50% - 50px);
    }
}

@media (min-width: 992px) {
    section.case_service .card {
        width: calc(33.33% - 10px);
    }
}















/* This is comment for the cards in serviced company*/


.case_serviced_comp .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 0 30px;
}

.case_serviced_comp .cards {
    width: 300px;
    margin: 10px;
    background-color: burlywood;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.case_serviced_comp .card-img img {
    height: 30vh;
    width: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0px 0px;
}

.case_serviced_comp .card-body h2 {
    text-align: center;
}

.case_serviced_comp .card-body p {
    text-align: justify;
    margin-bottom: 10px;
    padding: 5px;
    margin-bottom: 35px;
}

.case_serviced_comp .card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    margin-bottom: 10px;
}

.case_serviced_comp .card-footer button {
        width: 150px;
        background: white;
        margin-top: auto;
    }

.case_serviced_comp .card-footer button:hover {
            background-color: blue;
            color: white;
            border: 2px;
        }


