/* =========================================
   MY EXPERTISE SERVICES
========================================= */

.sahadev-expertise-services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}


/* =========================================
   CARD
========================================= */

.sahadev-expertise-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 165px;
    padding: 16px 14px 18px;
    background: #1c1917;
    border: 1px solid hsl(20 8% 18%);
    border-radius: 7px;
    color: #e5a823;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
    box-shadow: 0 0 40px #ed851d26 !important;
}

.sahadev-expertise-card:hover {
    border-color: hsl(30deg 85% 52% / 40%);
    box-shadow: 0 0 60px #ed851d40 !important;
}


/* =========================================
   IMAGE
========================================= */

.sahadev-expertise-image {
    width: 96px;
    height: 96px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid hsl(30deg 85% 52% / 20%);
    border-radius: 50%;
}

.sahadev-expertise-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sahadev-expertise-card:hover .sahadev-expertise-image img {
    transform: scale(1.06);
}


/* =========================================
   TITLE
========================================= */

.sahadev-expertise-title {
    margin: auto 0 0;
    color: rgba(246, 184, 40, 1);
    font-family: Cinzel, serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .sahadev-expertise-services {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .sahadev-expertise-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .sahadev-expertise-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .sahadev-expertise-card {
        min-height: 150px;
        padding: 14px 10px 16px;
    }

    .sahadev-expertise-image {
        width: 82px;
        height: 82px;
        margin-bottom: 12px;
    }

    .sahadev-expertise-title {
        font-size: 13px;
    }

}