/* NDev Social Contact — footer icons + floating buttons */

.ndev-sc-floating {
	position: fixed;
	bottom: 1.25rem;
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.ndev-sc-floating--right {
	right: 1rem;
	left: auto;
}

.ndev-sc-floating--left {
	left: 1rem;
	right: auto;
}

.ndev-sc-floating__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 9999px;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 24px rgb(15 23 42 / 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ndev-sc-floating__btn:hover,
.ndev-sc-floating__btn:focus-visible {
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 12px 28px rgb(15 23 42 / 0.28);
	outline: none;
}

.ndev-sc-floating__btn--zalo {
	background: #0068ff;
}

.ndev-sc-floating__btn--call {
	background: #22c55e;
}

.ndev-sc-floating__icon,
.ndev-sc-floating__btn svg {
	position: relative;
	z-index: 1;
}

.ndev-sc-floating__pulse {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: inherit;
	opacity: 0.55;
	animation: ndev-sc-pulse 2s ease-out infinite;
	pointer-events: none;
}

@keyframes ndev-sc-pulse {
	0% {
		transform: scale(1);
		opacity: 0.55;
	}
	70% {
		transform: scale(1.45);
		opacity: 0;
	}
	100% {
		transform: scale(1.45);
		opacity: 0;
	}
}

.ndev-sc-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	color: #fff;
	text-decoration: none;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.ndev-sc-social-link:hover,
.ndev-sc-social-link:focus-visible {
	transform: translateY(-2px);
	filter: brightness(1.08);
	outline: none;
}

.ndev-sc-social-link--facebook {
	background: #1877f2;
}

.ndev-sc-social-link--tiktok {
	background: #111;
}

.ndev-sc-social-link--youtube {
	background: #ff0000;
}

.ndev-sc-social-link--linkedin {
	background: #0a66c2;
}

.ndev-sc-social-link--email {
	background: #64748b;
}

.ndev-sc-social-link--zalo {
	background: #0068ff;
}

@media (max-width: 640px) {
	.ndev-sc-floating {
		bottom: 0.9rem;
		gap: 0.65rem;
	}

	.ndev-sc-floating--right {
		right: 0.75rem;
	}

	.ndev-sc-floating--left {
		left: 0.75rem;
	}

	.ndev-sc-floating__btn {
		width: 3rem;
		height: 3rem;
	}
}
