.tab-content {
    padding: 0;
}

.tab-pane {
    z-index: 4;
}

.tab-pane h2 {
    font-family: "Gilroy";
    font-size: 7vw;
    color: #1b1b1b;
    line-height: 1;
    margin-bottom: 0 !important;
}

.text_wrapper {
    margin-right: 3rem;
    padding: 3rem 0;
    position: absolute;
    left: 12%;
    width: 30%;
}

.text_wrapper p {
    color: black;
}

.panel {
    padding: 7% 13%;
    padding-bottom: 0;
}

.img_service, .img_service2, .img_service3 {
    z-index: 3;
    position: absolute;
}

.img_service {
    right: 31%;
}

.img_service2 {
    right: 18%;
}

.img_service3 {
    right: 16%;
}

.img_service img {
    width: 40vh;
    margin-top: 20%;
}

.img_service2 img {
    width: 80vh;
}

.img_service3 img {
    width: 80vh;
    margin-top: 8%;
}

.blue_square {
    background-color: #FFC700;
    margin-left: 4rem;
    height: 73vh;
    position: absolute;
    right: 13%;
    width: 32%;
    z-index: 0;
    border-radius: 15px;
}

.filter {
    bottom: 0;
    padding: 2% 13%;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter ul {
    list-style: none;
    padding: 0;
}

.filter ul li .active {
    color: #FFC700 !important;
}

.filter ul li a {
    color: rgba(0, 0, 0, 0.35) !important;
    position: relative;
    text-decoration: none;
    transition: color .2s ease;
}

.filter ul li a:after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    display: block;
    margin-top: 3px;
    right: 0;
    background: #FFC700;
    transition: width .2s ease;
    -webkit-transition: width .2s ease;
}

.filter ul li a:hover:after {
    width: 100%;
    left: 0;
    background: #FFC700;
}

.filter ul li a:hover {
    color: #FFC700 !important;
}

.filter span {
    font-family: Roboto;
    font-weight: 500;
    margin-right: 1rem;
}

span {
    font-family: 'Roboto', sans-serif !important;
}

@media screen and (max-width: 770px) {

    .blue_square {
        display: none;
    }
    
    .img_service, .img_service2, .img_service3 {
        display: none;
    }

    .filter {
        top: 17%;
        z-index: 998;
        height: 10%;
    }

    .nav-pills {
        font-weight: bolder;
    }

    .filter ul li a:after {
        content: none;
    }

    .nav-pills span {
        display: none;
    }

    .nav-pills .active {
        border: 2px solid #FFC700;
        padding: 0.25rem 0.75rem;
        border-radius: 100px;
    }

    .text_wrapper {
        margin: 0 !important;
        width: 76%;
        padding: 15rem 0;
        z-index: 1;
    }

    .text_wrapper h2 {
        font-size: 4rem;
    }

}

@media screen and (max-width: 470px) {

    .filter {
        padding-top: 30px;
        padding-bottom: 1rem;
        height: 20vh;
    }

    .filter>ul {
        flex-direction: column;
        align-items: center;
    }

    .text_wrapper {
        padding: 0;
        margin-top: 40vh !important;
    }

    h2 {
        font-size: 3rem !important;
    }
}