.default-padding {
    padding: 60px 0;
    background-color: var(--bs-secondary-bg);
}

.site-heading {
    overflow: hidden;
}

.site-heading h4 {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--bs-primary);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.site-heading p {
    margin: 0;
    margin-top: 10px;
}

.site-heading h1 {
    display: block;
    font-weight: 700;
    position: relative;
    margin-bottom: 0;
    line-height: 1.55;
}

.site-heading .devider {
    display: inline-block;
    width: 50px;
    height: 2px;
    background: var(--bs-primary);
    position: relative;
    z-index: 1;
    left: 0px;
}


/*==========================================
    Service Card
==========================================*/

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bs-white);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--bs-secondary-bg);
    border-radius: 10px;
    transition: all .35s ease;
}

/*==========================================
    Image
==========================================*/

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .5s ease;
}

/*==========================================
    Overlay
==========================================*/

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(203, 9, 16, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    opacity: 0;
    transform: scale(.6) rotate(-180deg);
    transition: all .4s ease;
}

.service-card:hover .service-icon img {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Hover */
.service-card:hover .service-icon {
    background: var(--bs-secondary-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

/*==========================================
    Content
==========================================*/

.service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px;
    background: var(--bs-white);
    transition: all .35s ease;
}

.service-content h4 {
    margin-bottom: 15px;
    transition: color .35s ease;
}

.service-content p {
    flex-grow: 1;
    margin-bottom: 11px;
    transition: color .35s ease;
}

/*==========================================
    Hover
==========================================*/

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-card:hover .service-overlay {
    opacity: 1;
    visibility: visible;
}

.service-card:hover .service-icon img {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.service-card:hover .service-content {
    background: var(--bs-secondary-bg);
}

/*==========================================
    Owl Carousel
==========================================*/

.services-carousel {
    position: relative;
}

.services-carousel .owl-stage {
    display: flex;
}

.services-carousel .owl-item {
    display: flex;
    height: auto;
}

.services-carousel .item {
    display: flex;
    width: 100%;
}

.services-carousel .service-card {
    width: 100%;
}

/*==========================================
    Navigation
==========================================*/

.services-carousel .owl-nav button {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0 !important;
    border-radius: 50% !important;
    /*background: var(--bs-primary) !important;*/
    color: var(--bs-primary) !important;
    font-size: 18px !important;
    transition: all .3s ease;
}

.services-carousel .owl-nav button:hover {
    background: var(--bs-secondary-bg) !important;
    color: var(--bs-primary) !important;
}

.services-carousel .owl-prev {
    left: -70px;
}

.services-carousel .owl-next {
    right: -70px;
}

/*==========================================
    Responsive
==========================================*/

@media (max-width: 991px) {

    .service-image img {
        height: 220px;
    }

    .service-content {
        padding: 25px;
    }

    .services-carousel .owl-prev {
        left: 10px;
    }

    .services-carousel .owl-next {
        right: 10px;
    }
}

@media (max-width: 767px) {

    .service-image img {
        height: 200px;
    }

    .service-content {
        padding: 20px;
    }

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

.services-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services-items .item {
    width: 100%;
}

.services-items .service-card {
    height: 100%;
}

/* Tablet */
@media (max-width: 991px) {
    .services-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .services-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}