.sv-about-value-widget {
    --light-color: var(--sv-light);
    --dark-color: var(--sv-primary-dark);
    padding: 6rem var(--sv-content-padding);
    position: relative;
    z-index: 1;
}

.sv-about-value-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: var(--dark-color);
    z-index: -1;
}

.sv-about-value-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.sv-about-value-intro {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 3rem;
    color: var(--light-color);
}

.sv-about-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.sv-about-value-item {
    min-width: calc(20% + 20px);
    aspect-ratio: 1;
    border: 1px solid var(--light-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 -10px;
}

.sv-value-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

/* Hide original logo pixels, keep for SEO */
.sv-value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}

/* Mask overlay */
.sv-value-icon .mask {
    position: absolute;
    inset: 0;

    background-color: var(--light-color); /* Tint color */

    /* Same image is used as mask */
    /* mask-image: url('logo.png'); */
    /* -webkit-mask-image: url('logo.png'); */

    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;

    /* Safari/WebKit prefix */
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.sv-value-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    color: var(--light-color);
}

.sv-value-description {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-size: .75rem;
    line-height: 1.4;
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    max-height: 0;
    overflow: hidden;
    color: var(--light-color);
}

/* Hover Effects */
.sv-about-value-item:hover {
    transform: translateY(-5px);
    background: var(--light-color);
}

.sv-about-value-item:hover .sv-value-icon {
    opacity: 0;
    transform: translateY(-20px);
}

.sv-about-value-item:hover .sv-value-title {
    transform: translateY(-225%);
    color: var(--dark-color);
    font-weight: 600;
}

.sv-about-value-item:hover .sv-value-description {
    opacity: 1;
    transform: translateY(-20%);
    max-height: 200px;
    color: var(--dark-color);
}

/* Responsive */
@media (max-width: 767px) {
    .sv-about-value-intro {
        font-size: 1.35rem;
    }
    .sv-about-value-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 0 -20px;
    }
    .sv-about-value-item {
        /* flex: 0 0 calc(33.333% - 30px); */
        /* flex: 0 0 calc(50% - 30px); */
        /* flex: 0 0 calc(100% - 30px); */
        flex: 0 0 50%;
        max-width: 175px;
        margin: 0;
    }
}
