
/* =========================
   SERVICE IMAGE (DESKTOP - UNCHANGED)
========================= */
.service-section .service-box .service-image img {
    position: relative;
    overflow: hidden;
    margin-bottom: 0px;
    border-radius: 0;
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.service-section .service-box .service-image a {
    transition: all .3s ease-in-out;
}

/* LABEL */
.service-section .service-box .service-image label {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #043fa6;
    color: #fff;
    padding: 10px 13px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}

/* =========================
   CONTENT (DESKTOP)
========================= */
.service-section .service-box .service-contain {
    padding: 0 20px 20px;
}

.service-section .service-box .service-contain-2 {
    padding: 0;
}

.service-section .service-box .service-contain a {
    color: #333;
    text-decoration: none;
}

/* TITLE */
.service-section .service-box .service-contain a {
    margin: 10px 0 6px;
    font-weight: 500;
    line-height: 1.5;
    text-transform: capitalize;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    font-size: calc(14px + 2*(100vw - 320px)/1600);
    transition: color .3s ease-in-out;
    height: 45px;
}

/* PARAGRAPH */
.service-section .service-box .service-contain p {
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 0;
}

/* BUTTON */
.service-section .service-box .service-contain .service-button {
    border: none;
    background-color: rgba(var(--theme-color-rgb), 0.1);
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: 10px 22px;
    color: var(--theme-color);
    transition: all .3s ease-in-out;
    margin-top: 5px;
    font-size: 14px;
}

.service-section .service-box .service-contain .service-button i {
    margin-left: 10px;
}

.service-section .service-box .service-contain .service-button:hover {
    background-color: #043fa6;
    color: #fff;
}

/* =========================
   CARD DESIGN
========================= */
.service-box {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease-in-out;
}

.service-box:hover {
    border-color: #0d6efd;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.2);
    transform: translateY(-6px);
}

/* =========================
   HOVER SYNC (TITLE + BUTTON)
========================= */
.service-box:hover .service-contain a {
    color: #0751d2;
}

.service-box:hover .service-contain .service-button {
    background-color: #043fa6;
    color: #fff;
}

/* =========================
   MOBILE + TABLET FIX
========================= */

@media (max-width: 991px) {

    /* IMAGE SIZE */
    .service-section .service-box .service-image img {
        height: 180px;
    }

    /* CONTENT CLEAN */
    .service-section .service-box .service-contain {
        padding: 12px;
        text-align: center;
    }

    /* ONLY TITLE */
    .service-section .service-box .service-contain p {
        display: none;
    }

    .service-section .service-box .service-contain .service-button {
        display: none;
    }

    /* TITLE SINGLE LINE */
    .service-section .service-box .service-contain a {
        font-size: 15px;
        height: auto;
        -webkit-line-clamp: 1;
        margin: 8px 0 0;
    }
}

/* =========================
   SMALL MOBILE (ANDROID)
========================= */

@media (max-width: 575px) {

    .service-card {
        padding-left: 6px;
        padding-right: 6px;
    }

    .service-section .service-box .service-image img {
        height: 140px;
    }

    .service-section .service-box .service-contain a {
        font-size: 13px;
    }

  
    .service-contain {
        display: block;
    }
}