﻿@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
    /*margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;*/
}

body {
    /*display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    height: 100vh;*/
}

.service-container {
    width: 100%;
    margin: auto;
}

.services {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom:20px
}

.single-service {
    flex-basis: 31%;
    background-color: #fff;
    padding: 35px 25px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    height: 400px;
    transition: 0.3s;
}
    .single-service:hover {
        flex-basis: 31%;
        background-color: #fff;
        padding: 32px 20px;
        box-shadow: 0 14px 28px rgb(0 0 0 / 53%);
        text-align: center;
        position: relative;
        height: 420px;
        transition: 0.6s;
    }

    .single-service:before {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        /*border-top: 3px solid #f7931e;*//*ff3636*/
        /*border-left: 3px solid #1B9FD5;*/ /*ff3636*/
        transition: 0.3s;
        left: 0;
        top: 0;
        opacity: 0;
    }

    .single-service:after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        /*border-right: 3px solid #f7931e;*//*ff3636*/
        /*border-bottom: 3px solid #1B9FD5;*/ /*ff3636*/
        transition: 0.3s;
        right: 0;
        bottom: 0;
        opacity: 0;
    }

    .single-service:hover:before,
    .single-service:hover:after {
        width: 50%;
        height: 50%;
        opacity: 1;
    }

.service-icon {
    position: relative;
    display: inline-block;
}

    .service-icon i {
        color: #ccc; /*f7931e---ff3636*/
        width: 60px;
        height: 60px;
        line-height: 60px;
        border: 2px solid #ccc; /*ff3636*/
        font-size: 30px;
        border-radius: 50%;
        transition: 0.3s;
    }

    .service-icon:before {
        content: "";
        position: absolute;
        width: 2px;
        height: 20px;
        bottom: -20px;
        background-color: #ccc; /*ff3636*/
        left: 50%;
    }

    .service-icon:after {
        content: "";
        position: absolute;
        width: 30px;
        height: 2px;
        bottom: -20px;
        background-color: #ccc; /*ff3636*/
        left: 50%;
        transform: translateX(-50%);
    }

.single-service h4 {
    margin-top: 60px;
    font-size: 26px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.single-service:hover .service-icon i {
    background-color: #1B9FD5;/*ff3636*/
    color: #fff;
}
@media(max-width:910px) {
    .single-service {
        width: 300px !important;
        /*margin: 30px;*/
    }
}
@media(max-width:767px){
    .services {
        display: flow;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 20px;
        text-align: -webkit-center;
    }
    .single-service {
        width: 250px !important;
        margin: 30px;
    }
}