/*!
 * VS Footer - shared base styles
 * Author: Rajan Sharma
 */

/* ---------- Design tokens (brand colours from the Vidyarthi Support logo) ---------- */
.vsf {
	--vsf-primary: #0B3366;
	--vsf-secondary: #0F6CBF;
	--vsf-accent: #F7941D;
	--vsf-navy-dark: #082a57;
	--vsf-navy-deep: #061c3e;
	--vsf-accent-soft: #FFB454;
	--vsf-tint: #EEF5FD;
	--vsf-ease: cubic-bezier(.22, .61, .36, 1);
}

@supports (color: color-mix(in srgb, red, blue)) {
	.vsf {
		--vsf-navy-dark: color-mix(in srgb, var(--vsf-primary) 78%, #000);
		--vsf-navy-deep: color-mix(in srgb, var(--vsf-primary) 52%, #000);
		--vsf-accent-soft: color-mix(in srgb, var(--vsf-accent) 68%, #fff);
		--vsf-tint: color-mix(in srgb, var(--vsf-secondary) 8%, #fff);
	}
}

/* ---------- Reset inside the footer only ---------- */
.vsf,
.vsf *,
.vsf *::before,
.vsf *::after {
	box-sizing: border-box;
}

.vsf {
	position: relative;
	display: block;
	width: 100%;
	clear: both;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.65;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.vsf h2,
.vsf h3,
.vsf p,
.vsf ul,
.vsf li {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
	border: 0;
}

.vsf h2,
.vsf h3 {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
}

.vsf a {
	text-decoration: none;
	box-shadow: none;
	border-bottom: 0;
	transition: color .25s var(--vsf-ease), background-color .25s var(--vsf-ease), border-color .25s var(--vsf-ease), transform .25s var(--vsf-ease), box-shadow .25s var(--vsf-ease);
}

.vsf img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.vsf-wrap {
	position: relative;
	z-index: 1;
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
}

.vsf .vsf-ico {
	display: block;
	flex: none;
	width: 20px;
	height: 20px;
}

/* ---------- Logo ---------- */
.vsf .vsf-logo {
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.vsf .vsf-logo--badge {
	padding: 12px 18px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45);
}

/* ---------- Titles / accordion ---------- */
.vsf .vsf-title {
	margin: 0 0 20px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.vsf .vsf-acc__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-align: inherit;
	text-transform: inherit;
	cursor: default;
}

.vsf .vsf-acc__btn:hover,
.vsf .vsf-acc__btn:focus {
	background: none;
	color: inherit;
	box-shadow: none;
}

.vsf .vsf-chev {
	display: none;
}

.vsf-acc__panel {
	display: grid;
	grid-template-rows: 1fr;
}

.vsf-acc__inner {
	min-height: 0;
}

/* ---------- Links ---------- */
.vsf .vsf-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	color: inherit;
}

.vsf .vsf-links--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
}

.vsf .vsf-links--inline a {
	padding: 0;
	font-size: 14px;
}

/* ---------- Social ---------- */
.vsf .vsf-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vsf .vsf-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: inherit;
}

.vsf .vsf-social .vsf-ico {
	width: 18px;
	height: 18px;
}

/* ---------- Contact ---------- */
.vsf .vsf-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 14px;
}

.vsf .vsf-contact__item:last-child {
	margin-bottom: 0;
}

.vsf .vsf-contact__ico {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
}

.vsf .vsf-contact__txt {
	min-width: 0;
	overflow-wrap: anywhere;
}

.vsf .vsf-contact__txt a {
	color: inherit;
}

/* ---------- Buttons ---------- */
.vsf .vsf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	border: 0;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
}

.vsf .vsf-btn .vsf-ico {
	width: 18px;
	height: 18px;
	transition: transform .25s var(--vsf-ease);
}

.vsf .vsf-btn:hover .vsf-ico {
	transform: translateX(4px);
}

.vsf .vsf-btn--lg {
	padding: 16px 32px;
	font-size: 16px;
}

.vsf .vsf-btn--pill {
	border-radius: 999px;
}

.vsf .vsf-btn--accent {
	background: linear-gradient(135deg, var(--vsf-accent-soft), var(--vsf-accent));
	color: #0a2247;
	box-shadow: 0 12px 26px -10px rgba(247, 148, 29, .8);
}

.vsf .vsf-btn--accent:hover {
	color: #0a2247;
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -10px rgba(247, 148, 29, .95);
}

.vsf .vsf-btn--light {
	background: #fff;
	color: var(--vsf-primary);
	box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5);
}

.vsf .vsf-btn--light:hover {
	color: var(--vsf-primary);
	transform: translateY(-2px);
}

.vsf .vsf-btn--dark {
	background: var(--vsf-navy-deep);
	color: #fff;
	box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6);
}

.vsf .vsf-btn--dark:hover {
	color: #fff;
	transform: translateY(-2px);
}

/* ---------- Back to top ---------- */
.vsf .vsf-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--vsf-accent-soft), var(--vsf-accent));
	color: #0a2247;
	box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	cursor: pointer;
	transition: opacity .3s var(--vsf-ease), transform .3s var(--vsf-ease), visibility .3s;
}

.vsf .vsf-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.vsf .vsf-top:hover,
.vsf .vsf-top:focus {
	background: linear-gradient(135deg, var(--vsf-accent-soft), var(--vsf-accent));
	color: #0a2247;
	transform: translateY(-3px);
}

.vsf a:focus-visible,
.vsf button:focus-visible {
	outline: 2px solid var(--vsf-accent);
	outline-offset: 3px;
}

/* ---------- Accordion (mobile only, JS enhanced) ---------- */
@media (max-width: 767px) {
	.vsf .vsf-top {
		right: 14px;
		bottom: 14px;
		width: 42px;
		height: 42px;
	}

	.vsf-js .vsf-acc .vsf-acc__btn {
		cursor: pointer;
	}

	.vsf-js .vsf-acc .vsf-chev {
		display: inline-flex;
		transition: transform .3s var(--vsf-ease);
	}

	.vsf-js .vsf-acc.is-open .vsf-chev {
		transform: rotate(180deg);
	}

	.vsf-js .vsf-acc .vsf-acc__panel {
		transition: grid-template-rows .35s var(--vsf-ease);
	}

	.vsf-js .vsf-acc .vsf-acc__inner {
		overflow: hidden;
	}

	.vsf-js .vsf-acc:not(.is-open) .vsf-acc__panel {
		grid-template-rows: 0fr;
	}

	.vsf-js .vsf-acc:not(.is-open) .vsf-acc__inner {
		visibility: hidden;
	}

	.vsf .vsf-btn {
		white-space: normal;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vsf *,
	.vsf *::before,
	.vsf *::after {
		transition: none !important;
		animation: none !important;
	}
}

@media print {
	.vsf .vsf-top {
		display: none !important;
	}
}

/* =====================================================================
 * v1.1 additions: buttons, icons in titles, map, stats, disclaimer,
 * floating chat buttons, enquiry modal and form
 * ===================================================================== */
.vsf .vsf-btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.vsf .vsf-btn--ghost,
.vsf .vsf-btn--outline {
	background: transparent;
	box-shadow: none;
}

.vsf .vsf-btn--ghost {
	border: 2px solid rgba(255, 255, 255, .55);
	color: #fff;
}

.vsf .vsf-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	transform: translateY(-2px);
}

.vsf .vsf-btn--outline {
	border: 2px solid var(--vsf-primary);
	color: var(--vsf-primary);
}

.vsf .vsf-btn--outline:hover {
	background: var(--vsf-primary);
	color: #fff;
	transform: translateY(-2px);
}

.vsf .vsf-btn--lg.vsf-btn--ghost,
.vsf .vsf-btn--lg.vsf-btn--outline {
	padding: 14px 30px;
}

.vsf .vsf-title__lbl {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.vsf .vsf-title__ico {
	display: inline-flex;
	color: var(--vsf-accent);
}

.vsf .vsf-title__ico .vsf-ico {
	width: 20px;
	height: 20px;
}

.vsf .vsf-contact__lbl {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	opacity: .7;
}

.vsf .vsf-map {
	width: 100%;
	margin-top: 18px;
	overflow: hidden;
	border-radius: 16px;
	aspect-ratio: 16 / 10;
	background: rgba(127, 127, 127, .15);
}

.vsf .vsf-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.vsf .vsf-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px;
	margin: 0 0 48px;
	text-align: center;
}

.vsf .vsf-stats li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vsf .vsf-stats strong {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.15;
}

.vsf .vsf-stats span {
	font-size: 14px;
}

.vsf .vsf-disclaimer {
	margin: 0 0 22px;
	font-size: 12.5px;
	line-height: 1.7;
	opacity: .72;
}

.vsf .vsf-disclaimer a {
	color: inherit;
	text-decoration: underline;
}

/* Floating chat buttons */
.vsf .vsf-float {
	position: fixed;
	bottom: 18px;
	z-index: 98;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.vsf .vsf-float--left {
	left: 16px;
}

.vsf .vsf-float--right {
	right: 16px;
	bottom: 76px;
}

.vsf .vsf-float__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 50px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .5);
	cursor: pointer;
}

.vsf .vsf-float__btn:hover,
.vsf .vsf-float__btn:focus {
	color: #fff;
	transform: translateY(-3px);
}

.vsf .vsf-float__btn .vsf-ico {
	width: 24px;
	height: 24px;
}

.vsf .vsf-float__btn--wa {
	background: #25a84f;
}

.vsf .vsf-float__btn--call {
	background: var(--vsf-secondary);
}

.vsf .vsf-float__btn--enq {
	background: var(--vsf-primary);
}

/* Modal */
.vsf-lock {
	overflow: hidden;
}

.vsf .vsf-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.vsf .vsf-modal[hidden] {
	display: none;
}

.vsf .vsf-modal__bg {
	position: absolute;
	inset: 0;
	background: rgba(4, 16, 40, .68);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.vsf .vsf-modal__box {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 94vh;
	padding: 34px 32px 30px;
	overflow-y: auto;
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
	color: #4a5b75;
	animation: vsf-pop .3s var(--vsf-ease);
}

@keyframes vsf-pop {
	from {
		opacity: 0;
		transform: translateY(18px) scale(.97);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.vsf .vsf-modal__x {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--vsf-tint);
	color: var(--vsf-primary);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.vsf .vsf-modal__x:hover,
.vsf .vsf-modal__x:focus {
	background: var(--vsf-primary);
	color: #fff;
}

.vsf .vsf-modal__title,
.vsf .vsf-formwrap__title {
	margin: 0 0 6px;
	padding-right: 36px;
	color: var(--vsf-primary);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
}

.vsf .vsf-modal__sub,
.vsf .vsf-formwrap__sub {
	margin: 0 0 18px;
	font-size: 14.5px;
}

.vsf.vsf-formwrap {
	max-width: 520px;
	padding: 30px;
	border: 1px solid #dfe9f6;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 44px -26px rgba(11, 51, 102, .35);
	color: #4a5b75;
}

/* Form */
.vsf .vsf-form__row {
	margin-bottom: 14px;
}

.vsf .vsf-form label {
	display: block;
	margin-bottom: 5px;
	color: var(--vsf-primary);
	font-size: 13.5px;
	font-weight: 600;
}

.vsf .vsf-form label b {
	color: #d63638;
}

.vsf .vsf-form input[type="text"],
.vsf .vsf-form input[type="tel"],
.vsf .vsf-form input[type="email"],
.vsf .vsf-form select,
.vsf .vsf-form textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid #d5e1f1;
	border-radius: 12px;
	background: #f8fbff;
	box-shadow: none;
	color: #1d2b44;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
}

.vsf .vsf-form input:focus,
.vsf .vsf-form select:focus,
.vsf .vsf-form textarea:focus {
	border-color: var(--vsf-secondary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(15, 108, 191, .15);
	outline: 0;
}

.vsf .vsf-form .is-bad {
	border-color: #d63638;
	background: #fff6f6;
}

.vsf .vsf-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vsf .vsf-form .vsf-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 4px 0 16px;
	color: #4a5b75;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.vsf .vsf-form__consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
}

.vsf .vsf-form__submit {
	width: 100%;
}

.vsf .vsf-form__submit:disabled {
	opacity: .65;
	cursor: wait;
}

.vsf .vsf-form__msg {
	min-height: 1.4em;
	margin: 12px 0 0;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.vsf .vsf-form__msg.is-ok {
	color: #11703a;
}

.vsf .vsf-form__msg.is-err {
	color: #b32d2e;
}

@media (max-width: 767px) {
	.vsf .vsf-btns {
		width: 100%;
	}

	.vsf .vsf-btns .vsf-btn {
		flex: 1 1 100%;
	}

	.vsf .vsf-float {
		bottom: 14px;
		gap: 8px;
	}

	.vsf .vsf-float--left {
		left: 12px;
	}

	.vsf .vsf-float--right {
		right: 12px;
		bottom: 66px;
	}

	.vsf .vsf-float__btn {
		width: 48px;
		height: 48px;
		justify-content: center;
		padding: 0;
	}

	.vsf .vsf-float__btn span {
		display: none;
	}

	.vsf .vsf-modal__box {
		padding: 30px 22px 24px;
		border-radius: 22px;
	}

	.vsf .vsf-stats strong {
		font-size: 26px;
	}
}

@media (min-width: 768px) {
	.vsf .vsf-float--mobile {
		display: none;
	}
}

/* v1.3 box width mode */
.vsf.vsf-boxed {
	width: min(1320px, calc(100% - 40px));
	margin: 24px auto;
	border-radius: 28px;
	overflow: hidden;
}

@media (max-width: 767px) {
	.vsf.vsf-boxed {
		width: calc(100% - 16px);
		margin: 12px auto;
		border-radius: 20px;
	}
}
