.expertises .left .expertise img, .expertises .right .expertise img {
    width: 100%;
}

.expertises .expertise .desc{
    font-family: "IBM Plex Sans";
    font-weight: normal;
    font-style: normal;
    text-align: center;
    color: #000000;

}

.expertises {
    display: flex;
    flex-direction: row;
    max-width: 1300px;
    margin: auto;
}

.expertises .expertise {
    cursor: pointer;
    position: relative;
}


.expertises .left {
    width: 575px;
    margin: 5px;
}
.expertises .left .expertise{
    height: 100%;
}
.expertises .left .expertise img{
    height: 100%;
    object-fit: cover;
}

.expertises .left .title, .expertises .right .title {
    font-family: "IBM Plex Sans";
    font-size:24px;
    font-weight: bold;
    font-style: normal;
    text-align: left;
    color: #ffffff;
    z-index: 2;
    margin:0;
}

.expertises .left .content {
    position: absolute;
    bottom: 10px;
    left: 20px;
        z-index: 2;
 
}

.expertises .right .title {
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 14px;

}

.expertises .right .desc{
    display: none;
}

.expertises .left .desc{
    font-family: "IBM Plex Sans";
    font-size: 13px;
    font-weight: 500;
    font-style: normal;
    text-align: left;
    color: #ffffff;
    line-height: 20px;
}

.expertises .gradient{
    position: absolute;
    bottom: 0px;
    height: 100px;
    width: 100%;
    background-image: linear-gradient(transparent, #e5232a);
    z-index: 1;
}
.expertises .right {
    width: 66%;
    margin: 5px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 8px;
    justify-content: space-between;

    align-content: center;/*  */
}

.expertises .right .expertise {
    width: calc(34% - 10px);
}


/* Styles for mobile devices (up to 767px width) */
@media only screen and (max-width: 767px) {
    .expertises {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .expertises .left {
        width: 100%;
        margin: 5px;
    }

    .expertises .right {
         width: 100%; 
        /* margin: 5px; */
        display: flex;
        flex-wrap: wrap;
        row-gap: 15px;
        justify-content: space-between;
    }
    .expertises .right .expertise {
        width: calc(52% - 15px);
    }
}

/* Styles for tablet devices (768px to 1023px width) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Your CSS styles for tablet devices here */
}
