/* Footer — 3-column layout: org | contact | quick links */
.halchal-footer-uday {
	--footer-bg: #f4f8fb;
	--footer-text: var(--color-body, #1e3a52);
	--footer-muted: var(--color-body, #4a6278);
	--footer-accent: var(--color-header-bg, #e85d04);
	--footer-accent-hover: var(--color-link-hover, #c44d03);
	--footer-body-size: var(--hp-text-md, 16px);
	--footer-heading-size: var(--hp-text-xl, 20px);
	--footer-link-size: var(--hp-text-md, 16px);
	--footer-meta-size: var(--hp-text-base, 15px);
	font-size: var(--footer-body-size);
	line-height: 1.55;
	color: var(--footer-muted);
	background: var(--footer-bg);
	box-shadow: 0 -1px 0 rgba(30, 58, 82, 0.06);
}
.halchal-footer-uday .footer-top {
	padding: 40px 0 36px;
}
.halchal-footer-uday .footer-uday-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px 24px;
	align-items: start;
}
@media (min-width: 768px) {
	.halchal-footer-uday .footer-uday-row {
		grid-template-columns: 1fr 1fr;
		gap: 32px 40px;
	}
	.halchal-footer-uday .footer-uday-col--links {
		grid-column: 1 / -1;
	}
}
@media (min-width: 992px) {
	.halchal-footer-uday .footer-uday-row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(200px, 260px);
		gap: 36px 44px;
		align-items: start;
	}
	.halchal-footer-uday .footer-uday-col--links {
		grid-column: auto;
	}
}
.halchal-footer-uday .footer-uday-col {
	min-width: 0;
}
.halchal-footer-uday .footer-uday-logo-link {
	display: inline-block;
	margin-bottom: 14px;
}
.halchal-footer-uday .footer-uday-logo {
	display: block;
	max-width: 200px;
	max-height: 90px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.halchal-footer-uday .footer-uday-org-name {
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-weight: 700;
	color: var(--footer-text);
	margin: 0 0 16px;
	line-height: 1.35;
	letter-spacing: 0.01em;
}
.halchal-footer-uday .footer-uday-line,
.halchal-footer-uday .footer-uday-reg {
	margin: 0 0 11px;
	font-size: var(--footer-body-size);
	color: var(--footer-muted);
	line-height: 1.6;
}
.halchal-footer-uday .footer-uday-line strong,
.halchal-footer-uday .footer-uday-reg strong {
	font-weight: 600;
	color: var(--footer-text);
}
.halchal-footer-uday .footer-uday-reg {
	margin-top: 14px;
	font-size: var(--footer-meta-size);
}
/* Footer titles use .halchal-section-head + .halchal-section-title (halchal-typography.css) */
.halchal-footer-uday .halchal-section-head {
	margin-top: 26px;
}

.halchal-footer-uday .footer-uday-col--contact > .halchal-section-head:first-child,
.halchal-footer-uday .footer-uday-col--org > .halchal-section-head:first-child,
.halchal-footer-uday .footer-uday-col--links > .halchal-section-head:first-child {
	margin-top: 0;
}

.halchal-footer-uday .footer-uday-heading {
	margin: 0;
	padding: 0 0 8px;
	border-top: none;
	border-left: none;
	border-right: none;
	text-transform: none;
}
.halchal-footer-uday .footer-uday-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}
.halchal-footer-uday .footer-uday-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	font-size: 18px;
	text-decoration: none;
	color: #fff;
	transition: transform 0.2s ease, opacity 0.2s ease;
	box-shadow: 0 2px 8px rgba(30, 58, 82, 0.12);
}
.halchal-footer-uday .footer-uday-social a:hover {
	transform: translateY(-2px);
	opacity: 0.92;
	color: #fff;
}
.halchal-footer-uday .footer-uday-social a[aria-label="Facebook"] {
	background: #1877f2;
}
.halchal-footer-uday .footer-uday-social a[aria-label="Twitter"] {
	background: #1da1f2;
}
.halchal-footer-uday .footer-uday-social a[aria-label="YouTube"] {
	background: #ff0000;
}
.halchal-footer-uday .footer-uday-social a[aria-label="TikTok"] {
	background: #010101;
}
.halchal-footer-uday .footer-uday-link {
	color: var(--footer-accent) !important;
	text-decoration: none;
	font-size: var(--footer-link-size);
	font-weight: 600;
	line-height: 1.45;
	word-break: break-word;
}
.halchal-footer-uday .footer-uday-link:hover {
	color: var(--footer-accent-hover);
	text-decoration: none;
}
.halchal-footer-uday .footer-uday-col--contact .footer-uday-line strong + a,
.halchal-footer-uday .footer-uday-col--contact .footer-uday-line a.footer-uday-link {
	color: var(--footer-accent);
}
/* Quick links — same format as contact column */
.halchal-footer-uday .footer-uday-col--links {
	display: block;
}
.halchal-footer-uday .footer-quick-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	width: 100%;
}
.halchal-footer-uday .footer-quick-nav .footer-uday-line {
	margin: 0;
	line-height: 1.45;
}
.halchal-footer-uday .footer-quick-nav a.footer-uday-link {
	color: var(--footer-accent) !important;
	font-size: var(--footer-link-size) !important;
	font-weight: 600;
	text-decoration: none;
}
.halchal-footer-uday .footer-quick-nav a.footer-uday-link:hover,
.halchal-footer-uday .footer-quick-nav a.footer-uday-link:focus {
	color: var(--footer-accent-hover) !important;
	text-decoration: none;
}
/* Visitor counter — dark footer bar, 3D digits */
.halchal-footer-uday .footer-visitor-wrap {
	display: flex;
	justify-content: center;
	margin: 0 0 12px;
	padding: 4px 0 2px;
}
.halchal-footer-uday .footer-visitor-counter {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	min-width: 0;
}
.halchal-footer-uday .footer-visitor-label {
	margin: 0;
	font-family: var(--font-body, "Segoe UI", Arial, sans-serif);
	font-size: var(--hp-text-sm, 14px);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.35;
	text-align: center;
	letter-spacing: 0.02em;
}
.halchal-footer-uday .footer-visitor-digits {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.halchal-footer-uday .footer-visitor-digit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0.65em;
	padding: 0;
	font-family: "Segoe UI", Arial, Helvetica, sans-serif;
	font-size: clamp(18px, 3.2vw, 24px);
	font-weight: 700;
	line-height: 1;
	color: #e8e8e8;
	text-shadow:
		-1px 0 0 #5a5a5a,
		-2px 1px 0 #3a3a3a,
		-2px 2px 1px rgba(0, 0, 0, 0.5),
		1px -1px 0 rgba(255, 255, 255, 0.1);
	letter-spacing: 0;
}
.halchal-footer-uday .footer-bottom {
	background: var(--color-footer-bg, #1a2d42);
	padding: 20px 0 22px;
}
.halchal-footer-uday .footer-copyright {
	margin: 0;
	font-size: var(--footer-meta-size);
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.55;
	text-align: center;
}
.halchal-footer-uday .footer-copyright .footer-link {
	color: rgba(255, 255, 255, 0.95);
	text-decoration: none;
}
/* Back to top */
.to-top {
	display: none;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 0;
	overflow: hidden;
	box-sizing: border-box;
}
.to-top .top-anchor {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	text-decoration: none !important;
	line-height: 1 !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.to-top .top-anchor-icon {
	display: block;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	pointer-events: none;
}
.to-top .top-anchor:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.to-top:hover,
.to-top:focus-within {
	transform: translateY(-2px);
}
.halchal-footer-uday .footer-copyright .footer-link:hover {
	text-decoration: none;
}
@media (min-width: 992px) {
	.halchal-footer-uday {
		--footer-body-size: 17px;
		--footer-heading-size: 1.35rem;
		--footer-link-size: 17px;
	}
}

@media (max-width: 767px) {
	.halchal-footer-uday .footer-top {
		padding: 32px 0 28px;
	}
	.halchal-footer-uday .halchal-section-head {
		margin-top: 22px;
	}
	.halchal-footer-uday .footer-uday-line,
	.halchal-footer-uday .footer-uday-reg,
	.halchal-footer-uday .footer-quick-nav a.footer-uday-link {
		font-size: var(--hp-text-base, 15px);
	}
	.halchal-footer-uday .footer-copyright,
	.halchal-footer-uday .footer-visitor-label {
		font-size: var(--hp-text-base, 15px);
	}
	.halchal-footer-uday .footer-visitor-counter {
		max-width: 100%;
		width: 100%;
	}
}
