@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

.aafe-hover-reveal-card-wrapper {
	width: 100%;
	display: flex;
}

.aafe-hover-reveal-card-wrapper h1,
.aafe-hover-reveal-card-wrapper h2,
.aafe-hover-reveal-card-wrapper h3,
.aafe-hover-reveal-card-wrapper h4,
.aafe-hover-reveal-card-wrapper h5,
.aafe-hover-reveal-card-wrapper h6 {
	font-family: 'Sora', sans-serif;
	margin: 0;
}

.aafe-hover-reveal-card-wrapper p,
.aafe-hover-reveal-card-wrapper span,
.aafe-hover-reveal-card-wrapper li,
.aafe-hover-reveal-card-wrapper a {
	font-family: 'Inter', sans-serif;
}

/* Alignment Classes */
.aafe-hover-reveal-card-align-left .aafe-hover-reveal-card-wrapper { justify-content: flex-start; }
.aafe-hover-reveal-card-align-center .aafe-hover-reveal-card-wrapper { justify-content: center; }
.aafe-hover-reveal-card-align-right .aafe-hover-reveal-card-wrapper { justify-content: flex-end; }



.aafe-hover-reveal-card {
	position: relative;
	width: 220px;
	height: 320px;
	background: mediumturquoise;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	cursor: pointer;
	text-decoration: none;
	transition: all var(--aafe-transition, 300ms) ease;
}

.aafe-hover-reveal-card__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.aafe-hover-reveal-card__normal-content {
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	justify-content: center;
	display: flex;
	flex-direction: column;
}

.aafe-hover-reveal-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.aafe-hover-reveal-card__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}
.aafe-hover-reveal-card__icon i {
	font-size: 1em;
}

.aafe-hover-reveal-card__normal-text,
.aafe-hover-reveal-card__hover-text {
	color: #000;
}

.aafe-hover-reveal-card__normal-desc,
.aafe-hover-reveal-card__hover-desc {
	margin-top: 10px;
}

.aafe-hover-reveal-card__before,
.aafe-hover-reveal-card__after {
	position: absolute;
	width: 20%;
	height: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: lightblue;
	transition: all 0.5s ease;
	z-index: 2;
	overflow: hidden;
}

.aafe-hover-reveal-card__before {
	top: 0;
	inset-inline-end: 0;
	border-end-start-radius: 100%;
	border-start-end-radius: 15px;
}

.aafe-hover-reveal-card__after {
	bottom: 0;
	inset-inline-start: 0;
	border-start-end-radius: 100%;
	border-end-start-radius: 15px;
}

.aafe-hover-reveal-card:hover .aafe-hover-reveal-card__before,
.aafe-hover-reveal-card:focus-within .aafe-hover-reveal-card__before,
.aafe-hover-reveal-card:hover .aafe-hover-reveal-card__after,
.aafe-hover-reveal-card:focus-within .aafe-hover-reveal-card__after {
	width: 100%;
	height: 100%;
	border-radius: 15px;
}

.aafe-hover-reveal-card__hover-content {
	opacity: 0;
	transition: opacity 0.2s ease;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	justify-content: center;
}

.aafe-hover-reveal-card:hover .aafe-hover-reveal-card__hover-content,
.aafe-hover-reveal-card:focus-within .aafe-hover-reveal-card__hover-content {
	opacity: 1;
	transition-delay: 0.1s;
}

/* Hover Effects (Global System) */
.aafe-hover-reveal-card-wrapper[data-hover="lift"] .aafe-hover-reveal-card {
    transition: transform var(--aafe-transition, 300ms) ease, box-shadow var(--aafe-transition, 300ms) ease;
}
.aafe-hover-reveal-card-wrapper[data-hover="lift"] .aafe-hover-reveal-card:hover,
.aafe-hover-reveal-card-wrapper[data-hover="lift"] .aafe-hover-reveal-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.aafe-hover-reveal-card-wrapper[data-hover="glow"] .aafe-hover-reveal-card {
    transition: box-shadow var(--aafe-transition, 300ms) ease;
}
.aafe-hover-reveal-card-wrapper[data-hover="glow"] .aafe-hover-reveal-card:hover,
.aafe-hover-reveal-card-wrapper[data-hover="glow"] .aafe-hover-reveal-card:focus-within {
    box-shadow: 0 0 0 3px #4F46E5, 0 8px 30px rgba(79,70,229,0.25);
}
.aafe-hover-reveal-card-wrapper[data-hover="scale"] .aafe-hover-reveal-card {
    transition: transform var(--aafe-transition, 300ms) ease;
}
.aafe-hover-reveal-card-wrapper[data-hover="scale"] .aafe-hover-reveal-card:hover,
.aafe-hover-reveal-card-wrapper[data-hover="scale"] .aafe-hover-reveal-card:focus-within {
    transform: scale(var(--aafe-hover-scale, 1.03));
}

