.center-expertise-container {
    /*background-image: url("../../assets/images/center-of-expertise-background.png");
    background-position: center center;
    background-size: cover;*/
    width: 80%;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    color: white;
    padding: 64px 16px 64px 16px;
    min-height: 70vh;
    border-radius: 12px;
}

.center-expertise-item {
    position: relative;
    background-position: center center;
    background-size: cover;
    border-radius: 100%;
    overflow: hidden;
}

/* Pseudo-element to apply brightness only to the background */
.center-expertise-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* Inherit the background from parent */
    border-radius: inherit;
    filter: brightness(100%);
    transition: filter 0.1s ease;
    z-index: 1;
}

/* On hover, reduce brightness of the background only */
.center-expertise-item:hover::before {
    filter: brightness(70%);
}

/* Ensure text remains unaffected */
.center-expertise-item .content {
    display: none;
    position: relative;
    z-index: 2;
    color: inherit; /* Keep text color unchanged */
}

.center-expertise-item:hover .content {
    display: block;
}

.center-expertise-construction {
    background-image: url("../../assets/images/expertise-center/construction.png");
}

.center-expertise-industry {
    background-image: url("../../assets/images/expertise-center/industry.png");
}

.center-expertise-agriculture {
    background-image: url("../../assets/images/expertise-center/agriculture.png");
}

.center-expertise-services {
    background-image: url("../../assets/images/expertise-center/rock.png");
}

.center-expertise-rock {
    background-image: url("../../assets/images/expertise-center/services.jpg");
}

.center-expertise-item-container {
    background-image: url("../../assets/icons/logo-only-g.svg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 18px;
}
