:root {
	--d: 2500ms;
	--angle: 180deg;
	--gradX: 50%;
	--gradY: 50%;
	/* --c1: #6055F2;
	--c2: rgba(122, 226, 255, 0.2); */
	--c1: #7D4CFA;
	--c2: rgba(125, 76, 250, 0.2);
}

@property --angle {
	syntax: '<angle>';
	initial-value: 90deg;
	inherits: true;
}

@property --gradX {
	syntax: '<percentage>';
	initial-value: 50%;
	inherits: true;
}

@property --gradY {
	syntax: '<percentage>';
	initial-value: 50%;
	inherits: true;
}

.cta-button {
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	text-align: center;
	border-radius: 1000px !important;
	min-width: 172px;
	min-height: 54px;
	padding: 0 30px;
	text-decoration: none;
	border: none !important;
	overflow: hidden;
	background-color: transparent !important;
	background: radial-gradient(ellipse at var(--gradX) var(--gradY), var(--font-color), var(--font-color) 10%, var(--c2) 40%) 30% !important;
	animation: borderRadial var(--d) linear infinite forwards;
	transition: all .1s cubic-bezier(.6, .04, .98, .335);
	position: relative;
	z-index: 3;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
}

.cta-button:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	border-radius: 500px;
	justify-content: center;
	align-items: center;
	display: flex;
	overflow: hidden;
	background: radial-gradient(ellipse at var(--gradX) var(--gradY), var(--c1), var(--c1) 10%, var(--c2) 40%) 30%;
	animation: borderRadial var(--d) linear infinite forwards;
	pointer-events: none;
}

.cta-button::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	right: 2px;
	bottom: 2px;
	z-index: 1;
	border-radius: 500px;
	background-color: #211f54;
	pointer-events: none;
}


/* Variant: transparent center with crisp animated border */
.cta-button.cta-transparent {
	color: var(--font-color);
	background: transparent !important;
}

.cta-button.cta-transparent::before {
	display: none;
	transition: all 0.4s ease;
}

.cta-button.cta-transparent:after {
	z-index: 0;
	border-radius: 500px;
	background: radial-gradient(ellipse at var(--gradX) var(--gradY), var(--font-color), var(--font-color) 10%, var(--c2) 40%) 30%;
	animation: borderRadial var(--d) linear infinite forwards;
	padding: 3px;
	/* show gradient only on border, keep center transparent */
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.cta-button span {
	display: inline-block;
	position: relative;
	z-index: 2;
	pointer-events: none;
	transition: transform 300ms cubic-bezier(0.3, 1, 0.7, 1);
}

.our-work .cta-button span {
	color:var(--white) !important;
}

.cta-button.cta-card-bg::before {
	background-color: var(--theme-card);
}

/* Variant: Hover to fill background */
.cta-button.cta-hover-fill::before {
	transition: all 0.4s ease;
}

.cta-button.cta-hover-fill:hover::before {
	background-color: var(--font-color); 
	transition: all 0.4s ease;
}

/* Optional: Change text color on hover if background gets too bright */
.cta-button.cta-hover-fill:hover {
	color: #ffffff !important;
	transition: all 0.4s ease;
}

/* If using the transparent variant, we make the background appear on hover */
.cta-button.cta-transparent.cta-hover-fill:hover::before {
	display: block;
	/* Show the background that was hidden */
	z-index: -1;
	background-color: var(--font-color);
	transition: all 0.4s ease;
}

@keyframes borderRadial {
	0% {
		--gradX: 50%;
		--gradY: 0%;
	}

	20% {
		--gradX: 100%;
		--gradY: 50%;
	}

	40% {
		--gradX: 100%;
		--gradY: 100%;
	}

	60% {
		--gradX: 50%;
		--gradY: 100%;
	}

	80% {
		--gradX: 0%;
		--gradY: 50%;
	}

	100% {
		--gradX: 50%;
		--gradY: 0%;
	}
}


/* Proud About above 1921px css Start */
@media (min-width:1921px) {
	.btn {
		min-width: 10.417vw;
		min-height: 2.813vw;
		padding: 0.885vw 1.771vw;
		border: solid 0.052vw transparent !important;
		border-radius: 2.604vw;
	}

	.btn:after {
		border: solid 0.052vw var(--theme-font-color);
		border-radius: 2.604vw;
	}

	.cta-button {
		border-radius: 52.083vw;
		min-width: 8.958vw;
		min-height: 2.813vw;
		padding: 0 1.563vw;
	}

	.cta-button:after {
		border-radius: 26.042vw;
	}

	.cta-button::before {
		top: 0.104vw;
		left: 0.104vw;
		right: 0.104vw;
		bottom: 0.104vw;
		border-radius: 26.042vw;
	}
}

/* Proud About above 1921px css End */
@media (max-width: 991px) {
	.cta-button {
		font-size: 16px;
		min-width: 170px;
		min-height: 48px;
		padding: 4px 30px;
	}
}

@media (max-width: 767px) {
	.btn {
		padding: 10px 34px;
		min-width: 170px;
		min-height: 48px;
	}
}