/* ongoing project */

.ongoing-project {
    background: #f7f7f7;
    padding: 3rem 0;
}

.work-detail {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 10px;
    margin: 2rem 0;
}

.ongoing-project h3 {
    color: var(--yellow-color);
    position: relative;
}

.ongoing-project h3::before {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: var(--yellow-color);
    left: 39.5%;
    top: 55%;
    position: absolute;
}

.ongoing-project h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: var(--yellow-color);
    left: 56.5%;
    top: 55%;
    position: absolute;
}

.work-detail img {
    height: 295px;
    object-fit: cover;
}


/* quality wala */

/* .section-full.overlay-wraper.bg-top-center.bg-center {
    background-image: url('../images/about/bg-1.jpg');
} */

.section-full {
    position: relative;
    float: left;
    width: 100%;
    max-width: 100%;
}

.bg-top-center {
    background-position: top center;
}

.opacity-08 {
    opacity: .8;
}

.overlay-main {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.bg-black {
    background-color: #000;
}

.p-t80 {
    padding-top: 80px;
}

.p-b80 {
    padding-bottom: 80px;
}

.site-text-white {
    color: #fff;
}

.quality-section-outer {
    position: relative;
}

.quality-section-content {
    margin-top: 220px;
    position: relative;
    top: -160px;
}

.corner-line {
    position: relative;
    z-index: 1;
}

.corner-line:before {
    left: -4px;
    bottom: -4px;
}

.corner-line:after,
.corner-line:before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--yellow-color);
    z-index: -1;
    transition: all .5s ease-in-out;
}

.corner-line:after {
    right: -4px;
    bottom: -4px;
}

.corner-line:after,
.corner-line:before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--yellow-color);
    z-index: -1;
    transition: all .5s ease-in-out;
}

.d-icon-box-one {
    position: relative;
    padding: 50px 30px;
}


/* TEAM CSS */

.header-tauko {
    position: relative;
}

.header-tauko h3::before {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: var(--yellow-color);
    left: -20%;
    top: 55%;
    position: absolute;
}

.header-tauko h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: var(--yellow-color);
    left: 105%;
    top: 55%;
    position: absolute;
}

.our-team {
    text-align: center;
    transition: all 0.5s ease 0s;
    margin-bottom: 30px;
}

.our-team:hover {
    box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.our-team .pic {
    overflow: hidden;
    position: relative;
}

.our-team .pic:before,
.our-team .pic:after {
    content: "";
    width: 200%;
    height: 80%;
    background: rgba(38, 37, 37, 0.8);
    position: absolute;
    top: -100%;
    left: -4%;
    transform: rotate(45deg);
    transition: all 0.5s ease 0s;
}

.our-team .pic:after {
    background: rgba(214, 6, 6, 0.8);
    top: auto;
    left: auto;
    bottom: -100%;
    right: -4%;
}

.our-team:hover .pic:before {
    top: 0;
}

.our-team:hover .pic:after {
    bottom: 0;
}

.our-team .pic img {
    width: 100%;
    height: auto;
}

.our-team .social {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    bottom: 45%;
    left: 0;
    opacity: 0;
    z-index: 2;
    transition: all 0.5s ease 0.3s;
}

.our-team:hover .social {
    opacity: 1;
}

.our-team .social li {
    display: inline-block;
}

.our-team .social li a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #fff;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease 0s;
}

.our-team .social li a:after {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--red-color);
    border-radius: 0 20px 20px 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.3s ease 0s;
}

.our-team .social li a:hover:after {
    transform: rotate(180deg);
}

.our-team .team-content {
    padding: 20px;
}

.our-team .title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--red-color);
    text-transform: uppercase;
    margin-bottom: 7px;
}

.our-team .post {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #333333;
    text-transform: capitalize;
}

@media only screen and (max-width: 990px) {
    .our-team {
        margin-bottom: 30px;
    }
}