@import url(../fonts/font_stylesheet.css);
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400;1,500&display=swap');

.skilled-services {
    display: flex;
    justify-content: center;
    align-items: start;
    width: 100%;
    background: linear-gradient(180deg, rgba(10, 30, 53, 1), rgba(10, 30, 53, 0.9668461134453782) 65%, rgba(10, 30, 53, 0.7959777661064426) 99%), url(../../images/roof.jpeg) no-repeat left top;
    background-position: center;
    background-size: cover;
    padding-bottom: 100px;
}

.skilled-services-content {
    width: 85%;
}

.skilled-service-label {
    font-size: 50px;
    letter-spacing: .015in;
    color: #f1f1f1;
    font-family: 'dragon-serialregular';
    text-transform: capitalize;
    margin-top: 50px;
}

.services-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    margin: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    flex-wrap: nowrap;
}

.services-slider::-webkit-scrollbar {
    width: 0;
    height: 0;
    background-color: transparent;
}

.services-slider::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.scroll-arrows {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px auto 20px;
}

.scroll-left,
.scroll-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: solid .5px #f1f1f1;
}

.scroll-left img,
.scroll-right img {
    width: 15px;
    margin: auto;
}

.scroll-left img {
    transform: rotate(180deg);
}

.scroll-left:hover,
.scroll-right:hover {
    background-color: #b8967e;
    border: none;
}

.service-card {
    display: flex;
    flex: 0 0 calc(40% - 16px);
    scroll-snap-align: center;
    height: 350px;
    margin-right: 30px;
    cursor: pointer;
    transition: .5s;
    justify-content: space-between;
    background: transparent;
    border: solid 1px rgba(193, 193, 193, 0.317);
}

.service-img {
    display: block;
    flex-basis: 40%;
    height: 100%;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.service-content {
    display: block;
    padding: 30px 20px;
    position: relative;
    flex-basis: 60%;
    height: 100%;
}

.number {
    display: block;
    width: 100%;
}

.number h6 {
    color: #b8967e;
    font-size: 14px;
    font-family: 'dragon-serialregular';
    letter-spacing: .015in;
    text-align: right;
    text-transform: capitalize;
}

.service-name {
    display: block;
    margin-bottom: 20px;
}

.service-name h3 {
    font-size: 25px;
    font-family: 'dragon-serialregular';
    letter-spacing: .015in;
    color: #f1f1f1;
}

.service-desc {
    display: block;
    padding: 0 0 30px;
}

.service-desc p {
    color: #f1f1f1;
    font-family: 'Montserrat';
    font-weight: 400;
    line-height: 20px;
    font-size: 12px;
}

.navigate {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: solid 1px rgba(193, 193, 193, 0.317);
}

.navigate img {
    width: 20px;
}

.service-icon {
    display: block;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.service-icon img {
    width: 40px;
    filter: brightness(50%);
}

.service-card:hover {
    background-color: #f1f1f1;
}

.service-card:hover .service-name h3 {
    color: #0a1e35;
}

.service-card:hover .service-desc p {
    color: #0a1e35;
}

.service-card:hover .navigate {
    background-color: #b8967e;
}

@media screen and (max-width: 768px) {
    .skilled-services {
        background: linear-gradient(180deg, rgba(10, 30, 53, 1), rgba(10, 30, 53, 0.9668461134453782) 70%, rgba(10, 30, 53, 0.7959777661064426) 85%), url(../../images/roof.jpeg) no-repeat left top;
    }

    .skilled-service-label {
        font-size: 25px;
    }

    .scroll-left,
    .scroll-right,
    .navigate {
        width: 25px;
        height: 25px;
        padding: 0;
    }

    .scroll-left img,
    .scroll-right img,
    .navigate img {
        width: 15px;
        height: 15px;
    }

    .navigate a {
        padding: 0;
    }

    .service-card {
        flex: 0 0 calc(45% - 5px);
        height: 280px;
        margin-right: 18px;
    }

    .service-img,
    .service-content {
        flex-basis: 50%;
    }

    .service-content {
        padding: 12px;
    }

    .service-name {
        margin-bottom: 10px;
    }

    .service-name h3 {
        font-size: 12px;
    }

    .service-desc {
        padding: 0 0 15px;
    }

    .service-desc p,
    .number h6 {
        font-size: 10px;
    }

    .service-icon img {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 425px) {
    .skilled-service-label {
        text-align: center;
        font-size: 20px;
    }

    .scroll-left,
    .scroll-right,
    .navigate {
        width: 18px;
        height: 18px;
        padding: 0;
    }

    .scroll-arrows {
        margin: 30px auto;
    }

    .scroll-left img,
    .scroll-right img,
    .navigate img {
        width: 12px;
        height: 12px;
    }

    .service-card {
        flex: 0 0 calc(90% - 5px);
        height: 280px;
        margin-right: 15px;
    }
}