.tools {
	padding: 105px 0 120px;
	margin-bottom: 115px;
	background: var(--kanye-gray-color);
}

.tools__header {
	margin-bottom: 48px;
}

.tools__title {
	margin: 0;
}

.tools__row {
	display: flex;
	flex-wrap: wrap;
}

.item-tools {
	height: auto;
	flex: 0 0 25%;
}

.item-tools__wrapper {
	display: block;
	padding: 40px 32px 42px 40px;
	background: var(--redesign-beige-color);
	color: var(--kanye-default-color);
	height: 100%;
	transition: all 0.3s ease 0s;
}

.item-tools:nth-child(1) .item-tools__wrapper{
	background: #BFC1B7;
}

.item-tools:nth-child(2) .item-tools__wrapper{
	background: #E8E4D9;
}

.item-tools:nth-child(3) .item-tools__wrapper{
	background: #D2D6CF;
}

.item-tools:nth-child(4) .item-tools__wrapper{
	background: #CBC8B0;
}

.item-tools:nth-child(5) .item-tools__wrapper{
	background: #D2D6CF;
}

.item-tools:nth-child(6) .item-tools__wrapper{
	background: #CBC8B0;
}

.item-tools:nth-child(7) .item-tools__wrapper{
	background: #E8E4D9;
}

.item-tools:nth-child(8) .item-tools__wrapper{
	background: #BFC1B7;
}

.item-tools__wrapper * {
	color: var(--kanye-default-color);
}

.item-tools__icon {
	width: 40px;
	height: 40px;
	position: relative;
	margin-bottom: 22px;
}

.item-tools__icon path {
	transition: all 0.3s ease 0s;
}

.item-tools__icon svg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: contain;
}

.item-tools__title {
	display: flex;
	justify-content: space-between;
}

.item-tools__title:not(:last-child) {
	margin-bottom: 20px;
}

.item-tools__title span {
	font-weight: 500;
	font-size: 25px;
	line-height: 130%;
}

.item-tools__title svg {
	height: 32.5px;
	flex: 0 0 auto;
	margin-left: 20px;
	transition: all 0.3s ease 0s;
	transform: scale(1.4);
}

.item-tools__title path {
	transition: color 0.3s ease 0s;
    stroke: #575757;
    stroke-width: 0px;
}

.item-tools__text {
	font-size: 16px;
	line-height: 150%;
}

@media (any-hover: hover) {
	.item-tools__wrapper:hover {
		background: var(--kanye-darkgold-color);
	}

	.item-tools__wrapper:hover .item-tools__title svg {
		transform: translateX(10px) scale(1.4);
	}

	.item-tools__wrapper:hover .item-tools__title svg path {
		stroke: #575757;
	}
}

@media (min-width:1367px) {
	.tools__row {
		margin: -15px;
	}

	.item-tools {
		padding: 15px;
	}
}

/* CONTAINER CHANGE */
/* @media (max-width: 1549.98px) and (min-width: 1367px) { */
@media (max-width: 1590px) and (min-width: 1367px) {
	.item-tools {
		flex: 0 0 33.333%;
		padding: 7.5px;
	}
}

@media (max-width: 961px) {
	.tools {
		padding: 80px 0;
		margin-bottom: 80px;
	}

	.item-tools {
		flex: 0 0 100%;
	}

	.tools__header {
		margin-bottom: 40px;
	}

	.item-tools__wrapper {
		padding: 40px 62px 42px 62px;
	}
}

@media (max-width: 639.98px) {
	.item-tools__wrapper {
		padding: 40px 24px 42px 24px;
	}

	.tools {
		padding: 60px 0;
		margin-bottom: 60px;
	}

	.tools__header {
		margin-bottom: 69px;
	}
}

.item-tools{
	perspective: 2000px; /* Remove this if you don't want the 3D effect */
}

.item-tools__wrapper{
	transition: transform 0.5s;
	transform-style: preserve-3d;
}

.item-tools.item-tools-flip .item-tools__wrapper {
	transform: rotateY(180deg) translateZ(5px);
}


.item-tools__wrapper-front, .item-tools__wrapper-back {
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden; /* Safari */
	backface-visibility: hidden;
	-webkit-perspective: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    visibility:visible;
    backface-visibility: hidden;
}
  
/* Style the front side (fallback if image is missing) */
.item-tools__wrapper-front {
}

/* Style the back side */
.item-tools__wrapper-back {
transform: rotateY(180deg);
position: absolute;
top: 0;
left: 0;
}

.item-tools__wrapper-back .item-tools__title span{
font-weight: 500;
font-size: 20px;
line-height: 130%;
}

.item-tools__wrapper{
height: 365px;
}

.item-tools__wrapper-back svg{
transform: rotate(180deg);
margin-bottom: 20px;
}

/* tools grid */
.tools__grid {
	display: grid;
	grid-gap: 20px;
	/* grid-template-columns: 1fr 1fr; */
}
.tools__grid .tools__item.item-tools {
	position: relative;
	padding: initial;
}

.tools__grid .tools__item .item-tools__wrapper {
	height: 240px;
	padding: 30px;
	border-radius: 12px;
}
.tools__grid .item-tools__title span {
	font-size: 18px;
}
.tools__grid .tools__item--banner {
	background: initial;
}
.tools__grid .item-tools.tools__item--banner .item-tools__wrapper {
	position: relative;
    z-index: 10;
    background: initial;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tools__item--banner__header {

}
.btn.tools__btn {
	background: #ffffff;
	font-size: 12px;
	max-width: 220px;
}
.tools__grid .tools__item--banner .tools__image {
	border-radius: 12px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}
.tools__grid .tools__item--banner .tools__item--banner__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.30);
	border-radius: 12px;
}
.tools__grid .tools__item--banner .tools__barge {
	margin-bottom: 10px;
}
.tools__grid .tools__item--banner .tools__barge span {
    background: #ECE2D2;
    padding: 6px 18px;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 12px;
}
.tools__grid .tools__item--banner .tools__title {
	font-size: 18px;
	color: #ffffff;
	font-weight: 500;
}
.item-main-banner-new__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.30);
}

@media (min-width: 640px) {
	.tools__grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 960px) {
	.tools__grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}