/* ============================================
   Why Accelerate Section Styles
   ============================================ */

.why-section {
	background: var(--white);
	padding: 158px 0;
	position: relative;
	overflow: hidden;
}

.why-section-bg {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 857px;
	height: 1045px;
	pointer-events: none;
	z-index: 0;
	opacity: 1;
}

.why-section-bg-1024 {
	display: none;
}

.why-section-bg-768 {
	display: none;
}

.why-title {

	margin-bottom: 5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.accelerate-text {
	display: inline-block;
	height: 1em;
	vertical-align: middle;
	width: 382px;
	height: 47.074px;
}

.why-dot {
	color: var(--orange);
}

.why-cards-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	position: relative;
	z-index: 1;
	max-width: 1304px;
}

.why-card {
	width: 424px;
	height: 340px;
	background: linear-gradient(128deg, var(--i2c-black) -516.45%, var(--i2c-brand-600) 222.23%);
	padding: 2.5rem;
	border-radius: var(--borderRadiusLarge);
	color: var(--white);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	justify-content: center;
	gap: 10px;
	--hover-x: 0;
	--hover-y: 0;
	justify-content: space-between;
}

.why-card::before {
	content: '';
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	background-image: url('../images/backgrounds/cards-bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	/* border-radius: var(--borderRadiusLarge); */
	opacity: 0;
	transform: translate(var(--hover-x), var(--hover-y));
	transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
	z-index: 1;
	will-change: transform, opacity;
}

.why-card.is-hovered::before {
	opacity: 1;
	transform: translate(0, 0);
}

.why-card.is-hovered {
	border: 1px solid #294FFF;
}

.why-card-icon {
	width: 56px;
	height: 56px;
	border-radius: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	position: relative;
	z-index: 2;
	transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
	transform: scale(1.1);
}

.why-card-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.why-card-title {

	color: var(--white);
	position: relative;
	z-index: 2;
}

.why-card-description {
	position: relative;
	z-index: 2;
}

.why-section-img-bg {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 857px;
}

.why-section-img-bg img {
	width: 100%;
	height: auto;
}


/* Responsive Styles */
/* Design screen 1601px and below */
@media screen and (max-width: 1600px) {
	.why-card-title {
		letter-spacing: -0.2px;
	}

	.why-section-img-bg {
		width: 574px;
	}

	.why-section {
		padding: 120px 0;
	}

	.why-section-bg {
		width: 573px;
		height: 682px;
	}

	.why-cards-grid {
		max-width: 970px;
		gap: 24px;
	}

	.why-title {
		margin-bottom: 3.75rem;
	}

	.why-card {
		width: 288px;
		height: 231px;
		gap: 44px;
		padding: 23px;
		border-radius: 1rem;
	}

	.accelerate-text {
		width: auto;
        height: 40px;
	}


	.why-card-icon {
		width: 32px;
		height: 32px;
	}

	.why-card-content {
		gap: 8px;
	}

	.why-card-icon img {
		width: 32px;
		height: 32px;
	}
}

/* Design screen 1024px */
@media screen and (max-width: 1199px) {
	.why-section {
		padding: 5rem 0;
	}

	.why-section-bg {
		display: none;
	}

	.why-section-img-bg {
		width: 359px;
	}

	.why-section-bg-1024 {
		display: block;
		position: absolute;
		bottom: 0;
		right: 0;
		max-width: 359px;
		height: 449px;
	}

	.why-title {
		margin-bottom: 3rem;
	}

	.accelerate-text {
		height: 24.074px;
	}

	.why-card {
		gap: 78px;
		width: 293px;
		height: 231px;
	}

	.why-card-content {
		gap: 0.5rem;
	}

	.why-card-title {
		margin-bottom: 0;
	}


	.why-card-icon {
		width: 32px;
		height: 32px;
	}

	.why-card-icon img {
		width: 32px;
		height: 32px;
	}
}

/* Design screen 768px */
@media screen and (max-width: 991px) {
	.why-section {
		padding: 5rem 0;
	}

	.why-title {
		margin-bottom: 3rem;
	}

	.accelerate-text {
		height: 24px;
	}

	.why-cards-grid {
		max-width: none;
	}

	.why-section-img-bg {
		width: 249px;
	}

	.why-card {
		width: calc(33% - 14px);
		height: 242px;
		padding: 1.25rem;
		gap: 10px;
	}

	.why-section-bg-1024 {
		display: none;
	}

	.why-section-bg-768 {
		display: block;
		position: absolute;
		bottom: 0;
		right: 0;
		width: 250px;
		height: 344px;
	}


}

/* Design screen 375px */
@media screen and (max-width: 767px) {
	.why-section {
		padding: 5rem 0;
	}

	.why-section-bg {
		display: none;
	}

	.why-section-bg-768 {
		display: none;
	}

	.why-cards-grid {
		gap: 0;
		margin-right: -24px;
	}

	.why-cards-grid::-webkit-scrollbar {
		display: none;
	}

	.why-cards-grid .slick-track {
		display: flex;
		gap: 12px;
	}

	.why-cards-grid .slick-track .why-card {
		display: flex;
	}

	.why-card {
		width: 240px;
		flex-shrink: 0;
		height: 192px;
		padding: 1rem;
		gap: 2rem;
		scroll-snap-align: start;
		justify-content: space-between;
	}

	.why-title {
		gap: 0px 5px;
		flex-wrap: wrap;
		margin-bottom: 1.5rem;
	}

	.accelerate-text {
		height: 32px;
	}

	.why-card-content {
		gap: 0.375rem;
	}


	.why-section-bg-1024 {
		display: none;
	}

	.why-section-img-bg {
		display: none;
	}

	.why-card.slick-active:before {
		opacity: 1;
		transform: translate(0, 0);
	}

	.why-cards-grid .slick-dots {
		padding-top: 30px;
	}
}