.eng-services {
    margin-top: 150px;
}

.service-name,
.service-name-small {
    position: relative;
    overflow: hidden;
}

.service-name::before,
.service-name-small::before {
    content: "";
    position: absolute;
    width: 10%;
    height: 3px;
    background-color: #7e0204;
    /* background-color: #fff;  */
    border: 1px solid #7e0204;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 1s;
}

.service-name:hover:before,
.service-name-small:hover:before {
    width: 20%;
}

.color-white{
    color: #fff;
}

.flip-box {
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    margin-top: 50px;
}

.flip-box-front,
.flip-box-back {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    min-height: 300px;
    min-width: 150px;

    transition: transform 0.7s cubic-bezier(.4,.2,.2,.1);
    -webkit-backface-visibility: hidden;
} 

.flip-box-front {
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-front {
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}

.flip-box-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-back {
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}

.flip-box .inner{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 60px;
    outline: 1px solid transparent;
    perspective: inherit;
    z-index: 2;
    transform: translateY(-50%)translateZ(60px) scale(0.94);
    top: 50%;

}

.flip-box-header {
    font-size: 30px;
    color: #f8f9fa;
}

.flip-box-header-blue {
    font-size: 30px;
    color: var(--headerclr);
}

.header-red {
    color: #7e0204;
    font-weight: bolder;
}

.flip-box p {
    font-size: 12px;
    line-height: 1.5rem;
}

.flip-box-img{
    margin-top: 25px;
}

.flip-box-button  {
    background-color: #013f5c;
    color: #fff;
    border: 1px solid #7e0204;
    border-radius: 0px;
    transition: all 1s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.flip-box-button::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    background-color: #7e0204;
    /* background-color: #fff;  */
    border: 1px solid #013f5c;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 1s;
}

.flip-box-button:hover:before {
    width: 100%;
}
.flip-box-button:hover {
    background-color: transparent;
    color: #fff;
    transition: all 1s;
}

.para-trading {
    color: #504a4a;
    font-weight: 200;
}








