.services-area {
    padding-top: 120px;
    padding-bottom: 80px;
}

.services-area  .sidebar-wrapper {
    display: inline-block;
    margin-bottom: 40px;
    width: 100%;
}

.services-area  .sidebar-wrapper .nice-select {
    padding: 0 20px;
    margin-bottom: 10px;
    width: 100%;
    height: 60px;
    font-size: 1.1rem;
    line-height: 60px;
    background-color: #fff;
    border: 1px solid #dde0e0;
}

.services-area  .sidebar-wrapper .nice-select .option.selected {
    font-weight: 500;
}

.services-area  .sidebar-wrapper .nice-select:focus {
    border-color: var(--main-color);
}

.services-area  .sidebar-wrapper .nice-select::after {
    right: 20px;
    width: 10px;
    height: 10px;
    border-bottom: 3px solid #999;
    border-right: 3px solid #999;
}

.services-area .sidebar-wrapper .nice-select ul {
    width: 100%;
}

.services-area .sidebar-wrapper .nice-select ul li {
    display: block;
}

.services-item {
    position: relative;
    margin-bottom: 30px;
}

.services-item:hover .services-overlay {
    left: 10px;
    top: 50%;
    visibility: visible;
    opacity: 1;
}

.services-item:hover .services-content {
    visibility: hidden;
    opacity: 0;
}

.services-item:hover .services-thumb::after {
    left: 10px;
    top: -10px;
    visibility: visible;
    opacity: 1;
}

.services-item:hover .services-thumb img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.services-thumb {
    position: relative;
    height: 435px;
    overflow: hidden;
}

.services-thumb img {
    height: 100%;
    width: 100%;
    object-position: center;
    object-fit: cover;
}

.services-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(246 138 126 / 90%);
    visibility: hidden;
    opacity: 0;
}

.services-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 30px;
    padding-right: 0;
    width: 100%;
    background-color: var(--main-color);
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.services-content-inner {
    padding-right: 80px;
    padding-top: 18px;
    padding-bottom: 12px;
    overflow: hidden;
}

.services-content-inner h3 {
    margin-bottom: 0;
    font-size: 1.6rem;
    color: #fff;
    overflow:hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    
}

.services-content-inner .icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 100%;
    line-height: 70px;
    font-size: 1.8rem;
    text-align: center;
    background-color: var(--minor-color);
    color: #fff;
}

.services-overlay {
    position: absolute;
    top: 60%;
    left: 0;
    right: 0;
    padding: 0 50px;
    width: 100%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.services-overlay h3 {
    margin-bottom: 23px;
    color: #fff;
}

.services-overlay p {
    margin-bottom: 35px;
    color: #fff;
}

.services-overlay a {
    height: 40px;
    line-height: 40px;
    padding: 0 40px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .services-overlay {
        padding: 0 20px;
    }

    .services-thumb {
        height: 340px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .services-overlay {
        padding: 0 20px;
    }

    .services-thumb {
        height: 387px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .services-area {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    .services-overlay {
        padding: 0 110px;
    }

    .services-thumb {
        height: auto;
    }
}

@media (max-width: 575px) {
    .services-area {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    .services-overlay {
        padding: 0 20px;
    }

    .services-thumb {
        height: auto;
    }
}

@media (max-width: 480px) {
    .sidebar-wrapper {
        padding: 45px 30px;
        padding-bottom: 30px;
    }
}
