.serviceBox {
    text-align: center;
    padding: 20px 25px 55px;
    position: relative;
    z-index: 1;
    min-height: 270px;
    margin-bottom: 30px;
    margin-top: 30px;
}

    .serviceBox:hover {
        cursor: pointer;
    }

    .serviceBox:before,
    .serviceBox:after {
        content: '';
        /*background: linear-gradient(#a64cef, #882FD5);*/
        border-radius: 20px;
        position: absolute;
        left: 10px;
        right: 0;
        top: 15px;
        bottom: 0;
        z-index: -1;
    }

    .serviceBox:after {
        background-color: white;
        left: 0;
        right: 10px;
        top: 0;
        bottom: 15px;
        clip-path: polygon(30% 0, 100% 0, 100% 85%, 75% 100%, 0 100%, 0 20%);
        border-left: solid 2px var(--darkColor1);
        border-top: solid 2px var(--darkColor1);
    }

    .serviceBox:hover::after {
        border-left: solid 2px var(--hoverColor1);
        border-top: solid 2px var(--hoverColor1);
    }

    .serviceBox .service-icon {
        color: #882FD5;
        font-size: 35px;
        text-shadow: 4px 4px rgba(0,0,0,0.1);
        margin: 0 0 10px;
    }

    .serviceBox .title {
        color: #882FD5;
        font-size: 18px;
        font-weight: 400;
        text-transform: uppercase;
        margin: 0 0 10px;
    }

        .serviceBox .title span {
            font-weight: 700;
        }

    .serviceBox .description {
        color: #888;
        font-size: 13px;
        line-height: 20px;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }

    .serviceBox .read-more {
        color: #fff;
        font-size: 22px;
        line-height: 22px;
        position: absolute;
        right: 15px;
        bottom: 9px;
        transition: all 0.3s ease 0s;
    }

        .serviceBox .read-more:hover {
            color: rgba(255,255,255,0.7);
            text-shadow: 3px 3px rgba(255,255,255,0.1);
        }

    .serviceBox.background:before {
        /*background: linear-gradient(var(--lightColor1), var(--darkColor1));*/
        background-color: var(--darkColor1);
        -webkit-transition: background-color 100ms linear;
        -ms-transition: background-color 100ms linear;
        transition: background-color 100ms linear;
    }

    .serviceBox.background:hover::before {
        background-color: var(--hoverColor1);
        -webkit-transition: background-color 200ms linear;
        -ms-transition: background-color 200ms linear;
        transition: background-color 200ms linear;
    }

    .serviceBox:hover .image-wrapper {
        box-shadow: 0px 0px 20px;
        -webkit-transition: box-shadow 200ms linear;
        -ms-transition: box-shadow 200ms linear;
        transition: box-shadow 200ms linear;
    }

    .serviceBox:hover::after {
        background-color: var(--hoverColor2);
    }

    .serviceBox .image-wrapper {
        width: 115px;
        box-shadow: 0px 0px 5px;
        border-radius: 5px;
        margin-bottom: 10px;
    }



.flex-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.courseType2 .h-wrapper .border-title {
    border-right: solid 10px var(--darkColor1);
}

.courseType2 .h-wrapper a {
    float: left;
    border-radius: 50px;
    font-size: 11px;
    min-width: 130px;
    font-weight: 700;
    margin-top:12px;
}

.courseType2 .features-wrapper .features {
    display: inline-block;
    font-size: 12px;
    padding: 0 10px;
    line-height: 24px;
    border-radius: 12px;
    margin-left: 8px;
    color: #8d80d0;
    background-color: #f6f4ff;
    margin-bottom: 10px;
}

.courseType2 .h-wrapper .title {
    position: relative;
    float: right;
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 0;
    padding: 12px 73px 12px 0;
}