@import url('https://fonts.googleapis.com/css2?family=Arvo&family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arvo&display=swap');

:root{ --main-color: #0E6880; }
.serviceBox{
    color: var(--main-color);
    background-color: #fff;
    height: 250px;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    padding: 0 25px 30px;
    position: relative;
    z-index: 1;
}
.serviceBox:before,
.serviceBox:after{
    content: ""; 
    background: #fff;
    border-radius: 15px 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: -1;
}
.serviceBox:after{
    background-color: var(--main-color);
    height: 50%;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}
.tag {
    font-family: 'Arvo', serif;
    font-size: 27px;
}

.serviceBox .service-icon{
    color:#fff;
    background: var(--main-color);
    font-size: 45px;
    width: 75%;
    margin: 0 auto 35px;
    border-radius:0 0 50px 50px;
    position: relative;
    padding: 15px;
}
.serviceBox .service-icon:before,
.serviceBox .service-icon:after{
    content: "";
    background: linear-gradient(to top left, var(--main-color) 49%, transparent 50%);
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: -10px;
}
.serviceBox .service-icon:after{
    background: linear-gradient(to top right, var(--main-color) 49%, transparent 50%);
    left: auto;
    right: -10px;
}
.serviceBox .title{
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.serviceBox .description{
    color: #555;
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 25px;
}
.serviceBox.yellow{ --main-color: #FFB90D; }
.serviceBox.green{ --main-color: #60B361; }
.serviceBox.blue{ --main-color: #016FCE; }
@media only screen and (max-width: 1199px){
    .serviceBox{ margin: 0 0 40px; }
}

a:hover,
a:focus{
    text-decoration: none;
    outline: none;
}
.tab{ font-family: 'Montserrat', sans-serif; }
.tab .nav-tabs{ border: none; }
.tab .nav-tabs li a{
    color: #999B9D;
    background: #F7F7F7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 30px 11px;
    margin: 0 0 1px 0;
    border: none;
    border-radius: 0;
    position: relative;
    transition: all 0.3s ease-in-out;
}
.tab .nav-tabs li a:hover,
.tab .nav-tabs li.active a,
.tab .nav-tabs li.active a:hover{
    color: #6d7ae0;
    background-color: #f7f7f7;
    border: none;
}
.tab .nav-tabs li a:before,
.tab .nav-tabs li a:after{
    content: '';
    background-color: #6d7ae0;
    height: 3px;
    width: 0;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: all 0.3s ease 0s;
}
.tab .nav-tabs li a:after{
    height: 45px;
    width: 45px;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transform-origin: bottom center;
    left: 50%;
    bottom: 0;
}
.tab .nav-tabs li.active a:before,
.tab .nav-tabs li a:hover:before{
    width: 100%;
}
.tab .nav-tabs li.active a:after,
.tab .nav-tabs li a:hover:after{
    opacity: 0;
    transform: translateX(-50%) scale(1);
}
.tab .tab-content{
    color: #999;
    background-color: transparant;
    font-size: 14px;
    width: 100%;
    letter-spacing: 1px;
    line-height: 25px;
    padding: 30px 25px 20px 20px;
    border: 3px solid #e1e1e1;
}
@media only screen and (max-width: 479px){
    .tab .nav-tabs li{
        width: 100%;
        text-align: center;
    }
    .tab .nav-tabs li a:before{ bottom: 0; }
}