/* Cards Powerful Tools Hover Effects */
#cards-powerful-tools .div-card {
	position: relative;
	overflow: hidden;
	background-size: contain;
	background-size: 90%;
    background-position: 50% 40%;
	background-color: #f5f5f7;
	/* cursor: pointer; */
	/* transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
}

/* Sliding overlay effect - slides from bottom to top */
#cards-powerful-tools .div-card::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 100%;
	background: rgba(0, 0, 0, 0.75);
	transition: top 0.5s ease;
	z-index: 1;
	pointer-events: none;
}

#cards-powerful-tools .div-card:hover::before {
	top: 0;
}

#cards-powerful-tools .div-card .card-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
    height: 160px;
	transition: height 0.5s ease;
    padding: 60px 50px 50px 50px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 80%);
}

#cards-powerful-tools .div-card:hover .card-content {
    height: 100%;
}

/* Content container positioning */
/* #cards-powerful-tools .div-card > div:first-child {
	position: relative;
	z-index: 2;
	transition: transform 0.5s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

#cards-powerful-tools .div-card:hover > div:first-child {
	transform: translateY(-30px);
	justify-content: flex-start;
	padding-top: 2.5rem;
} */

/* Title styling - smoother animation */
#cards-powerful-tools .card-slide-up-title {
	transform: translateY(0);
	opacity: 1;
	/* transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.1s; */
	position: relative;
	z-index: 2;
	/* margin-bottom: 0.5rem; */
}

#cards-powerful-tools .div-card:hover .card-slide-up-title {
	transform: translateY(-15px);
	/* margin-bottom: 1.5rem; */
}

/* Description styling - smoother slide up */
#cards-powerful-tools .card-slide-up-description {
	transform: translateY(50px);
	opacity: 0;
	/* transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.2s; */
	position: relative;
	z-index: 2;
	max-height: 0;
	overflow: hidden;
}

#cards-powerful-tools .div-card:hover .card-slide-up-description {
	transform: translateY(0);
	opacity: 1;
	max-height: 400px;
}

/* Ensure all content is above overlay */
#cards-powerful-tools .div-card * {
	position: relative;
	z-index: 2;
}

@media (max-width: 1024px) {
	#cards-powerful-tools .div-card {
		height: 350px;
	}

    #cards-powerful-tools .div-card .card-content {
        height: 160px;
        padding: 50px;
    }
}

@media (max-width: 992px) {
    #cards-powerful-tools {
        gap: var(--spacing-8);
    }

	#cards-powerful-tools .card-slide-up-title {
		font-size: 30px;
	}
}

@media (max-width: 768px) {
	#cards-powerful-tools .card-slide-up-title {
		font-size: 24px;
	}
}

@media (max-width: 425px) {
    #cards-powerful-tools .div-card .card-content {
        height: 110px;
		padding: 30px 50px;
	}
}
    