/* ==========================================================
   Hridoy Buttons Addon — Button Styles & Animations
   ========================================================== */

.hba-btn {
	--hba-primary: #92C200;
	--hba-primary-dark: #6f9400;
	--hba-text: #ffffff;

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
	background-color: var(--hba-primary);
	color: var(--hba-text);
	border: 2px solid var(--hba-primary);
}

.hba-btn-inner {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	z-index: 2;
}

.hba-btn-icon svg,
.hba-btn-icon i {
	display: inline-flex;
	transition: transform 0.3s ease;
}

/* ----------------------------------------------------------
   1) GROW  — সহজ স্কেল/গ্রো হোভার এফেক্ট
---------------------------------------------------------- */
.hba-skin-grow:hover {
	transform: scale(1.06);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.hba-skin-grow:hover .hba-icon-right i,
.hba-skin-grow:hover .hba-icon-right svg {
	transform: translateX(4px);
}
.hba-skin-grow:hover .hba-icon-left i,
.hba-skin-grow:hover .hba-icon-left svg {
	transform: translateX(-4px);
}

/* ----------------------------------------------------------
   2) GRADIENT SWEEP — গ্র্যাডিয়েন্ট বাম থেকে ডানে সুইপ করবে
---------------------------------------------------------- */
.hba-skin-gradient {
	background: linear-gradient(
		90deg,
		var(--hba-primary) 0%,
		var(--hba-primary-dark) 50%,
		var(--hba-primary) 100%
	);
	background-size: 220% 100%;
	background-position: 0% 0%;
	border-color: transparent;
}
.hba-skin-gradient:hover {
	background-position: 100% 0%;
	box-shadow: 0 12px 28px rgba(146, 194, 0, 0.35);
	transform: translateY(-2px);
}

/* ----------------------------------------------------------
   3) ARROW SLIDE — শুধু আইকন স্লাইড করে বের হয়ে আসবে
---------------------------------------------------------- */
.hba-skin-arrow-slide {
	padding-right: 2.2em !important;
}
.hba-skin-arrow-slide .hba-btn-icon {
	position: absolute;
	right: 14px;
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.35s ease;
}
.hba-skin-arrow-slide:hover .hba-btn-icon {
	opacity: 1;
	transform: translateX(0);
}
.hba-skin-arrow-slide:hover .hba-btn-text {
	transform: translateX(-6px);
}
.hba-skin-arrow-slide .hba-btn-text {
	display: inline-block;
	transition: transform 0.35s ease;
}

/* ----------------------------------------------------------
   4) OUTLINE FILL — আউটলাইন থেকে নিচ থেকে উপরে রঙ ভরে যাবে
---------------------------------------------------------- */
.hba-skin-outline-fill {
	background: transparent;
	color: var(--hba-primary);
}
.hba-skin-outline-fill::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--hba-primary);
	transform: translateY(101%);
	transition: transform 0.35s ease;
	z-index: 1;
}
.hba-skin-outline-fill:hover {
	color: var(--hba-text);
}
.hba-skin-outline-fill:hover::before {
	transform: translateY(0);
}

/* ----------------------------------------------------------
   5) PULSE GLOW — হালকা পালস/গ্লো রিং এনিমেশন
---------------------------------------------------------- */
.hba-skin-pulse {
	animation: hba-pulse 2.4s infinite;
}
.hba-skin-pulse:hover {
	animation-play-state: paused;
	transform: scale(1.05);
}
@keyframes hba-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(146, 194, 0, 0.55);
	}
	70% {
		box-shadow: 0 0 0 14px rgba(146, 194, 0, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(146, 194, 0, 0);
	}
}

/* ----------------------------------------------------------
   6) WHATSAPP STYLE — গোল, গ্রো এনিমেশন সহ (ফ্লোটিং সিটিএ-র জন্য উপযোগী)
---------------------------------------------------------- */
.hba-skin-whatsapp {
	background-color: #25D366;
	border-color: #25D366;
	border-radius: 50px !important;
}
.hba-skin-whatsapp:hover {
	transform: scale(1.08) rotate(-1deg);
	box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}

/* ----------------------------------------------------------
   Responsive tweaks
---------------------------------------------------------- */
@media (max-width: 767px) {
	.hba-btn {
		width: 100%;
		text-align: center;
	}
}
