:root {
    --font-poppins: "Poppins", sans-serif;
    --font-playfair-display: "Playfair Display", sans-serif;
    --fw-300: 300;
    --fw-400: 400;
    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;
    --text-body: #262626;
    --theme-dark: #262626;
    --theme-dark-rgb: 38, 38, 38;
    --goldern-yellow: #C9AF68;
    --goldern-yellow-rbg: 201, 175, 104;
    --goldern-light: #F9F7F4;
    --white: #fff;
    --error-text: #BF481B;
    --black: #000;
    --transition: all 400ms ease-in-out;
    --golden-gradient: linear-gradient(180deg, #F9F7F4 0%, #FFF 100%);
    
}

.our-core-values{
    padding: 50px 0 70px;
    margin-bottom: 70px;
}
.values-boxes-wrap{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: -2px;
}
.values-boxes-item{
    padding: 40px 30px;
    background-color: var(--theme-dark);
    width: calc(20% - 2px);
    flex: 1 1 calc(20% - 2px);
    transition: var(--transition);
    position: relative;
    margin-bottom: 2px;
}
.values-boxes-item::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(141deg, #8F5E25 -0.84%, #FBF4A1 27.99%, #C9AF68 78.83%, #8F5E25 96%);
    opacity: 0;
    transition: all 400ms ease-out;
    pointer-events: none;
    z-index: 1;
}
.values-boxes-item:hover::before{
    opacity: 1;
}
.values-boxes-item:not(:last-child){
    margin-right: 2px;
}

.values-boxes-item .icon-wrap{
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    transition: all 400ms ease-out;
}
.values-boxes-item .icon-wrap img{
    transition: all 400ms ease-out;
}
.values-boxes-item:hover .icon-wrap img{
    filter: contrast(3) brightness(0);
}
.values-boxes-item .content-wrap {
    position: relative;
    z-index: 2;
    transition: all 400ms ease-out;
}
.values-boxes-item .content-wrap h6{
    color: var(--white);
    margin-bottom: 9px;
    transition: all 400ms ease-out;
}
.values-boxes-item .content-wrap p{
    transition: all 400ms ease-out;
    color: #CCC;
    font-family: var(--font-poppins);
    font-size: 14px;
    font-style: normal;
    font-weight: var(--fw-400);
    line-height: 24px; /* 171.429% */
}

.values-boxes-item:hover .content-wrap h6,
.values-boxes-item:hover .content-wrap p{
    color: var(--black);
}

.values-boxes-item:hover .icon-wrap,
.values-boxes-item:hover .content-wrap{
    transform: translateY(-10px);
}