/* Site footer, shared by every page in English, Hindi and Gujarati. */
.site-footer {
	--sf-bg: #00475e;
	--sf-text: #fff;
	--sf-soft: #cfe6ee;
	--sf-line: rgba(255, 255, 255, .2);
	padding: 64px 0 24px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: linear-gradient(160deg, #002a39 0%, #003f54 50%, #00607d 100%);
	color: var(--sf-text);
	font-size: 15px;
	line-height: 1.6;
}

.site-footer a {
	color: var(--sf-text);
}

/* Moving background: faint medical icons drift slowly, soft light moves behind them */
.site-footer::before {
	content: "";
	position: absolute;
	top: -360px;
	right: -360px;
	bottom: -360px;
	left: -360px;
	z-index: -1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360' fill='none' stroke='white' stroke-opacity='.1' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(40 40) scale(2.4)'%3E%3Cpath d='M11 2a2 2 0 0 0-2 2v5H4a2 2 0 0 0-2 2v2c0 1.1.9 2 2 2h5v5c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-5h5a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-5V4a2 2 0 0 0-2-2h-2z'/%3E%3C/g%3E%3Cg transform='translate(230 70) scale(2.4)'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3Cpath d='M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27'/%3E%3C/g%3E%3Cg transform='translate(60 230) scale(2.4)'%3E%3Cpath d='M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 6 6 6 6 0 0 0 6-6V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3'/%3E%3Cpath d='M8 15v1a6 6 0 0 0 6 6 6 6 0 0 0 6-6v-4'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/g%3E%3Cg transform='translate(250 250) scale(2.4)'%3E%3Cpath d='M12 11v4M14 13h-4M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M18 6v14M6 6v14'/%3E%3Crect width='20' height='14' x='2' y='6' rx='2'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 360px 360px;
	animation: sf-drift 45s linear infinite;
}

.site-footer::after {
	content: "";
	position: absolute;
	top: -30%;
	left: -20%;
	z-index: -2;
	width: 70%;
	height: 160%;
	background: radial-gradient(closest-side, rgba(31, 127, 156, .55), transparent);
	animation: sf-glow 16s ease-in-out infinite alternate;
}

@keyframes sf-drift {
	to {
		transform: translate(360px, -360px);
	}
}

@keyframes sf-glow {
	to {
		transform: translateX(110%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer::before,
	.site-footer::after {
		animation: none;
	}
}

.site-footer a:hover,
.site-footer a:focus {
	color: var(--sf-text);
	text-decoration: underline;
}

.site-footer a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sf-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.4fr);
	gap: 48px;
}

.sf-logo {
	display: block;
	width: 210px;
	max-width: 100%;
}

.sf-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.sf-about {
	margin: 16px 0 0;
	color: var(--sf-text);
	font-size: 18px;
	line-height: 1.6;
}

.sf-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: 16px;
	margin-right: 8px;
	border: 1px solid var(--sf-line);
	border-radius: 50%;
	font-size: 17px;
}

.site-footer .sf-social:hover,
.site-footer .sf-social:focus {
	background: #fff;
	color: var(--sf-bg);
	text-decoration: none;
}

.site-footer .sf-title {
	position: relative;
	margin: 0 0 22px;
	padding-bottom: 10px;
	color: var(--sf-text);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
}

.site-footer .sf-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 34px;
	height: 2px;
	border-radius: 2px;
	background: var(--sf-soft);
}

.sf-links li {
	margin-bottom: 9px;
}

.sf-links a {
	display: inline-block;
	line-height: 1.45;
}

/* Quick Links: same arrow as the specialties */
.sf-links:not(.sf-links-two) a {
	position: relative;
	padding-left: 18px;
	transition: padding-left .2s ease;
}

.sf-links:not(.sf-links-two) a::before {
	content: "";
	position: absolute;
	top: .72em;
	left: 0;
	width: 7px;
	height: 7px;
	border: solid var(--sf-soft);
	border-width: 2px 2px 0 0;
	transform: translateY(-50%) rotate(45deg);
}

.site-footer .sf-links:not(.sf-links-two) a:hover,
.site-footer .sf-links:not(.sf-links-two) a:focus {
	padding-left: 22px;
	text-decoration: none;
}

/* Specialties: full width row of links below the other columns */
.sf-col-specialties {
	grid-column: 1 / -1;
	padding-top: 30px;
	border-top: 1px solid var(--sf-line);
}

.sf-links-two {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.sf-links-two li {
	margin: 0;
}

.sf-links-two a {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	min-height: 54px;
	padding: 9px 14px 9px 30px;
	border: 1px solid var(--sf-line);
	border-radius: 10px;
	background: rgba(255, 255, 255, .05);
	font-size: 14.5px;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.sf-links-two a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 14px;
	width: 7px;
	height: 7px;
	border: solid var(--sf-soft);
	border-width: 2px 2px 0 0;
	transform: translateY(-50%) rotate(45deg);
	transition: border-color .25s ease;
}

.site-footer .sf-links-two a:hover,
.site-footer .sf-links-two a:focus {
	border-color: #fff;
	background: #fff;
	color: var(--sf-bg);
	text-decoration: none;
	transform: translateY(-2px);
}

.sf-links-two a:hover::before,
.sf-links-two a:focus::before {
	border-color: var(--sf-bg);
}

.sf-contact li {
	position: relative;
	margin-bottom: 16px;
	min-height: 38px;
	padding-left: 50px;
}

.sf-contact li > i {
	position: absolute;
	top: 2px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--sf-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 14px;
	transition: background-color .25s ease, color .25s ease;
}

.sf-contact li:hover > i {
	background: #fff;
	color: var(--theme-color);
}

.sf-contact small {
	display: block;
	margin-bottom: 2px;
	color: var(--sf-soft);
	font-size: 13px;
	font-weight: 500;
}

.sf-contact a {
	overflow-wrap: anywhere;
}

.sf-credentials {
	margin-top: 44px;
	padding: 22px 0;
	border-top: 1px solid var(--sf-line);
	border-bottom: 1px solid var(--sf-line);
	text-align: center;
}

.sf-credentials strong {
	display: block;
	font-size: 16px;
	font-weight: 600;
}

.sf-credentials p {
	margin: 4px 0 0;
	color: var(--sf-soft);
	font-size: 14px;
}

.sf-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	padding-top: 20px;
	color: var(--sf-soft);
	font-size: 13px;
}

.sf-bottom a {
	color: var(--sf-soft);
}

.sf-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}

@media (prefers-reduced-motion: reduce) {
	.sf-links a,
	.sf-links-two a,
	.sf-contact li > i {
		transition: none;
	}

	.site-footer .sf-links-two a:hover,
	.site-footer .sf-links-two a:focus {
		transform: none;
	}
}

@media (max-width: 1099px) {
	.sf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 40px;
	}

	.sf-grid > div:first-child {
		grid-column: 1 / -1;
	}

	.sf-links-two {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sf-links-two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Phone: room for the floating contact icons below the legal links */
@media (max-width: 767px) {
	.site-footer {
		padding-bottom: 72px;
	}
}

@media (max-width: 599px) {
	.site-footer {
		padding-top: 48px;
	}

	.sf-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sf-links-two {
		grid-template-columns: minmax(0, 1fr);
	}

	.sf-links-two a {
		min-height: 46px;
	}
}

/* ============ Footer design 2: richer gradient, separate animated icons, cleaner blocks ============ */
.site-footer {
	padding-top: 72px;
	background: linear-gradient(135deg, #001f2b 0%, #00384b 42%, #00566f 78%, #007595 115%);
}

/* Soft colour that moves behind everything */
.site-footer::before {
	top: -40%;
	right: auto;
	bottom: auto;
	left: -15%;
	z-index: -3;
	width: 60%;
	height: 150%;
	background: radial-gradient(closest-side, rgba(0, 134, 171, .5), transparent);
	animation: sf-aurora-a 18s ease-in-out infinite alternate;
}

.site-footer::after {
	top: auto;
	right: -15%;
	bottom: -50%;
	left: auto;
	z-index: -3;
	width: 55%;
	height: 130%;
	background: radial-gradient(closest-side, rgba(191, 227, 238, .22), transparent);
	animation: sf-aurora-b 22s ease-in-out infinite alternate;
}

/* Separate line icons, each with its own movement */
.sf-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	pointer-events: none;
}

.sf-bg::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 3px;
	background: linear-gradient(90deg, transparent, #bfe3ee, transparent);
	animation: sf-shine 7s ease-in-out infinite;
}

.sf-icon {
	position: absolute;
	color: #fff;
	opacity: .13;
	fill: none;
	stroke: currentColor;
	stroke-width: 1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sf-i1 {
	top: 7%;
	left: 37%;
	width: 86px;
	height: 86px;
	animation: sf-spin 26s linear infinite;
}

.sf-i2 {
	top: 30%;
	right: 3%;
	width: 110px;
	height: 110px;
	animation: sf-beat 2.6s ease-in-out infinite;
}

.sf-i3 {
	top: 40%;
	left: 2%;
	width: 120px;
	height: 120px;
	animation: sf-float 9s ease-in-out infinite alternate;
}

.sf-i4 {
	bottom: 6%;
	left: 30%;
	width: 92px;
	height: 92px;
	animation: sf-float 11s ease-in-out -4s infinite alternate;
}

.sf-i5 {
	top: 6%;
	right: 28%;
	width: 70px;
	height: 70px;
	animation: sf-float 8s ease-in-out -2s infinite alternate-reverse;
}

.sf-i6 {
	right: 18%;
	bottom: 8%;
	width: 78px;
	height: 78px;
	animation: sf-spin 34s linear infinite reverse;
}

/* A heartbeat travelling across the footer */
.sf-ecg {
	position: absolute;
	top: 47%;
	left: 0;
	width: 100%;
	height: 70px;
	overflow: visible;
	fill: none;
	opacity: .32;
	stroke: #bfe3ee;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.sf-ecg path {
	stroke-dasharray: .22 .78;
	vector-effect: non-scaling-stroke;
	animation: sf-travel 8s linear infinite;
}

/* Blocks */
.site-footer .sf-title {
	font-size: 18px;
}

.site-footer .sf-title::after {
	width: 40px;
	height: 3px;
	background: linear-gradient(90deg, #bfe3ee, rgba(191, 227, 238, 0));
	transition: width .3s ease;
}

.sf-grid > div:hover > .sf-title::after {
	width: 70px;
}

.sf-about {
	font-size: 16px;
	line-height: 1.7;
}

.sf-logo {
	width: 230px;
}

.site-footer .sf-social {
	width: 44px;
	height: 44px;
	margin-top: 20px;
	background: rgba(255, 255, 255, .08);
	transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.site-footer .sf-social:hover,
.site-footer .sf-social:focus {
	transform: translateY(-3px);
}

/* Contact rows as soft cards */
.sf-contact li {
	min-height: 0;
	margin-bottom: 10px;
	padding: 10px 14px 10px 62px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
	background: rgba(255, 255, 255, .05);
	transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.sf-contact li:hover {
	border-color: rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .1);
	transform: translateX(3px);
}

.sf-contact li > i {
	top: 50%;
	left: 12px;
	margin-top: -19px;
}

/* Specialty links */
.sf-col-specialties {
	padding-top: 34px;
}

.sf-links-two a {
	border-color: rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .05);
}

/* Name and disclaimer */
.sf-credentials {
	padding: 22px 24px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 16px;
	background: rgba(255, 255, 255, .06);
}

.sf-bottom {
	padding-top: 20px;
}

@keyframes sf-aurora-a {
	to {
		transform: translate(70%, 12%);
	}
}

@keyframes sf-aurora-b {
	to {
		transform: translate(-80%, -18%);
	}
}

@keyframes sf-shine {
	from {
		transform: translateX(-100%);
	}

	to {
		transform: translateX(260%);
	}
}

@keyframes sf-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes sf-beat {
	0%,
	100% {
		transform: scale(1);
	}

	15% {
		transform: scale(1.12);
	}

	30% {
		transform: scale(1);
	}

	45% {
		transform: scale(1.08);
	}

	60% {
		transform: scale(1);
	}
}

@keyframes sf-float {
	from {
		transform: translateY(-16px) rotate(-6deg);
	}

	to {
		transform: translateY(16px) rotate(6deg);
	}
}

@keyframes sf-travel {
	from {
		stroke-dashoffset: 1;
	}

	to {
		stroke-dashoffset: 0;
	}
}

@media (max-width: 767px) {
	.sf-i1,
	.sf-i5,
	.sf-i6 {
		display: none;
	}

	.sf-i2 {
		width: 80px;
		height: 80px;
	}

	.sf-i3 {
		width: 84px;
		height: 84px;
	}

	.sf-ecg {
		top: 30%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sf-bg::before,
	.sf-icon,
	.sf-ecg path {
		animation: none;
	}

	.sf-contact li,
	.sf-contact li:hover,
	.site-footer .sf-social:hover {
		transform: none;
	}
}

/* ============ Teal panels and banners: same gradient and moving icons as the footer ============ */
.tc-panel {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-color: #00384b !important;
	background-image: linear-gradient(135deg, #001f2b 0%, #00384b 42%, #00566f 78%, #007595 115%) !important;
	background-size: auto !important;
}

.page-title:not(.overlay).tc-panel::before,
.sv-hero.tc-panel::before {
	background: none !important;
}

.sv-hero.tc-panel::after {
	display: none;
}

.tc-panel > .sf-bg {
	z-index: -1;
}

/* Soft colour that moves behind the icons */
.tc-panel > .sf-bg::after {
	content: "";
	position: absolute;
	top: -40%;
	left: -15%;
	z-index: -1;
	width: 60%;
	height: 180%;
	background: radial-gradient(closest-side, rgba(0, 134, 171, .5), transparent);
	animation: sf-aurora-a 18s ease-in-out infinite alternate;
}

.tc-panel > .sf-bg .sf-ecg {
	top: auto;
	bottom: 12px;
}

/* The banner's own icon already sits on the right */
.page-title:not(.overlay).tc-panel > .sf-bg .sf-i2 {
	display: none;
}

/* Small panels: fewer, smaller icons */
.tc-panel-sm > .sf-bg .sf-i1,
.tc-panel-sm > .sf-bg .sf-i4,
.tc-panel-sm > .sf-bg .sf-i6,
.tc-panel-sm > .sf-bg .sf-ecg {
	display: none;
}

.tc-panel-sm > .sf-bg .sf-icon {
	width: 62px;
	height: 62px;
}

@media (prefers-reduced-motion: reduce) {
	.tc-panel > .sf-bg::after {
		animation: none;
	}
}

/* Banners: keep the stethoscope clear of the heading */
@media (min-width: 992px) {
	.page-title:not(.overlay).tc-panel > .sf-bg .sf-i3,
	.sv-hero.tc-panel > .sf-bg .sf-i3,
	.hv-hero.tc-panel > .sf-bg .sf-i3 {
		top: 58%;
		left: 50%;
	}
}

@media (max-width: 767px) {
	.page-title:not(.overlay).tc-panel > .sf-bg .sf-i3 {
		top: 18%;
		right: 5%;
		left: auto;
	}
}

/* First column: full logo, larger text, LinkedIn as a pill */
.sf-logo {
	width: 320px;
}

.sf-about {
	margin-top: 22px;
	font-size: 18.5px;
	line-height: 1.7;
}

.site-footer .sf-social {
	gap: 9px;
	width: auto;
	height: 46px;
	margin-top: 24px;
	padding: 0 22px 0 16px;
	border-radius: 999px;
	font-size: 19px;
}

.sf-social-text {
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
}

@media (max-width: 575px) {
	.sf-logo {
		width: 270px;
	}

	.sf-about {
		font-size: 17px;
	}
}

/* Quick Links as rows, so the column matches the contact cards. Less space above the specialties. */
.sf-grid {
	row-gap: 30px;
}

.sf-col-specialties {
	padding-top: 28px;
}

@media (min-width: 600px) {
	.sf-links:not(.sf-links-two) li {
		margin-bottom: 10px;
	}

	.sf-links:not(.sf-links-two) li:last-child {
		margin-bottom: 0;
	}

	.sf-links:not(.sf-links-two) a {
		display: flex;
		align-items: center;
		min-height: 46px;
		padding: 8px 14px 8px 32px;
		border: 1px solid rgba(255, 255, 255, .12);
		border-radius: 12px;
		background: rgba(255, 255, 255, .05);
		transition: padding-left .2s ease, background-color .25s ease, border-color .25s ease;
	}

	.sf-links:not(.sf-links-two) a::before {
		top: 50%;
		left: 14px;
	}

	.site-footer .sf-links:not(.sf-links-two) a:hover,
	.site-footer .sf-links:not(.sf-links-two) a:focus {
		padding-left: 36px;
		border-color: rgba(255, 255, 255, .3);
		background: rgba(255, 255, 255, .1);
	}
}
