/*!
 * Brainology Header, Footer & Mega Menu — front-end styles (v3.1)
 * Developed by Mahmoud Tawfik for Brainology.doctor
 *
 * Every rule is namespaced with .alhm / .alhm-header / .alhm-footer and driven by CSS
 * variables so nothing leaks into (or is overridden by) the active theme.
 * Restrained corner radii and subtle transitions support Brainology’s calm visual identity.
 */

/* ---------- Header / Footer wrappers ---------- */
.alhm-header,
.alhm-footer {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.alhm-header {
	position: relative;
	z-index: 9990;
	background: var(--alhm-header-bg, #FFFFFF);
}
.alhm-header--sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
}
body.admin-bar .alhm-header--sticky { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .alhm-header--sticky { top: 46px; }
}
.alhm-header.is-stuck { box-shadow: 0 6px 24px rgba(28, 63, 65, .10); }

/* ---------- Design tokens (override from Elementor style controls) ---------- */
.alhm {
	/* Brainology palette: calm teal, warm white, and soft mint */
	--alhm-bar-bg: #FFFFFF;
	--alhm-text: #263C3E;
	--alhm-hover: #0E9492;
	--alhm-divider: rgba(38, 60, 62, .12);
	--alhm-icon: #0E9492;
	--alhm-icon-size: 16px;
	--alhm-item-hover-bg: rgba(14, 148, 146, .08);
	--alhm-panel-bg: #FFFFFF;
	--alhm-fly-bg: #F1F8F7;
	--alhm-panel-max: 1200px;
	--alhm-panel-pad: 28px;
	--alhm-panel-radius: 4px;
	--alhm-radius: 4px;
	--alhm-badge-bg: rgba(14, 148, 146, .12);
	--alhm-badge-text: #086967;
	--alhm-btn-bg: #0E9492;
	--alhm-btn-text: #FFFFFF;
	--alhm-btn-hover: #0A7D7B;
	--alhm-outline: #0E9492;
	--alhm-btn-radius: 4px;
	--alhm-drawer-bg: #FFFFFF;
	--alhm-drawer-w: min(92vw, 400px);
	--alhm-overlay: rgba(24, 48, 50, .42);
	--alhm-burger: #263C3E;
	--alhm-tb-bg: #EAF6F5;
	--alhm-tb-text: #365556;
	--alhm-tb-icon: #0E9492;
	--alhm-tb-hover: #086967;
	--alhm-tb-divider: rgba(14, 148, 146, .16);
	--alhm-tb-h: 38px;
	--alhm-tb-fs: 12px;
	--alhm-tb-gap: 22px;
	--alhm-wrap: 1280px;
	--alhm-side: max(24px, calc((100% - var(--alhm-wrap)) / 2));

	position: relative;
	display: block;
	width: 100%;
	color: var(--alhm-text);
	font-family: "DM Sans", Inter, "Segoe UI", sans-serif;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

/* ---------- Scoped reset ---------- */
.alhm *,
.alhm *::before,
.alhm *::after { box-sizing: border-box; border-radius: var(--alhm-radius, 4px) !important; }
.alhm ul,
.alhm li { margin: 0; padding: 0; list-style: none; }
.alhm ul::before, .alhm li::before, .alhm li::marker { content: none; }
.alhm a { text-decoration: none; box-shadow: none; border: 0; background-image: none; }
.alhm button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.alhm a:focus-visible,
.alhm button:focus-visible {
	outline: 2px solid var(--alhm-hover);
	outline-offset: 2px;
}

/* ======================================================================
 * TOP INFO BAR — merged into this same widget, toggled by "Show top info bar"
 * ==================================================================== */
.alhm-topbar {
	display: block;
	width: 100%;
	background: var(--alhm-tb-bg, #EAF6F5);
	box-sizing: border-box;
	font-family: "DM Sans", Inter, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}
.alhm-topbar *,
.alhm-topbar *::before,
.alhm-topbar *::after { box-sizing: border-box; }
.alhm-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--alhm-tb-h, 38px);
	padding-inline: var(--alhm-side);
}
.alhm-topbar__list {
	display: flex;
	align-items: center;
	gap: var(--alhm-tb-gap, 22px);
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
	flex-wrap: wrap;
}
.alhm-topbar__list:first-child { position: relative; }
.alhm-topbar__list:first-child .alhm-topbar__item:not(:last-child)::after {
	content: "";
	position: absolute;
	inset-inline-start: 100%;
	margin-inline-start: calc(var(--alhm-tb-gap, 22px) / 2);
	width: 1px;
	height: 12px;
	background: var(--alhm-tb-divider, rgba(255,255,255,.18));
	transform: translateX(-50%);
}
.alhm-topbar__item {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-width: 0;
}
.alhm-topbar__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--alhm-tb-text, rgba(255,255,255,.75));
	font-size: var(--alhm-tb-fs, 12px);
	font-weight: 500;
	letter-spacing: .02em;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	transition: color .15s ease;
}
a.alhm-topbar__link:hover,
a.alhm-topbar__link:focus-visible { color: var(--alhm-tb-hover, #0E9492); }
a.alhm-topbar__link:focus-visible { outline: 1px solid var(--alhm-tb-hover, #0E9492); outline-offset: 3px; }
.alhm-topbar__icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	font-size: 1.05em;
	color: var(--alhm-tb-icon, #0E9492);
}
.alhm-topbar__icon svg { width: 1em; height: 1em; fill: currentColor; }

@media (max-width: 640px) {
	.alhm-topbar__item--hide-mobile { display: none; }
	.alhm-topbar__inner { padding-inline: 16px !important; gap: 10px; }
	.alhm-topbar__list { gap: calc(var(--alhm-tb-gap, 22px) * .6); }
}

/* ---------- Bar ---------- */
.alhm .alhm__bar {
	display: flex;
	align-items: center;
	gap: 32px;
	width: 100%;
	min-height: var(--alhm-bar-h, 76px);
	background: var(--alhm-bar-bg);
	padding-inline: var(--alhm-side);
}
.alhm .alhm__logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	color: var(--alhm-text);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -.01em;
}
.alhm .alhm__logo img {
	display: block;
	width: var(--alhm-logo-w, 170px);
	max-width: 100%;
	height: auto;
}
.alhm .alhm__drawer {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 24px;
	min-width: 0;
}
.alhm .alhm__drawer-head { display: none; }
.alhm .alhm__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	margin-inline-start: auto;
	color: var(--alhm-burger, var(--alhm-text));
}
.alhm .alhm__toggle-box { position: relative; display: block; width: 22px; height: 16px; }
.alhm .alhm__toggle { position: relative; border: 1px solid rgba(38, 60, 62, .16) !important; overflow: hidden; transition: border-color .25s ease, background-color .25s ease, color .25s ease, transform .15s ease; }
.alhm .alhm__toggle:hover { border-color: #0E7775 !important; color: #0E9492; }
/* Press ripple (square pulse) */
.alhm .alhm__toggle::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 100%;
	margin: -50% 0 0 -50%; background: #0E9492; opacity: 0; transform: scale(.2); pointer-events: none;
}
.alhm .alhm__toggle.is-pressed::after { animation: alhmRipple .6s ease-out; }
@keyframes alhmRipple { 0% { opacity: .55; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.2); } }

.alhm .alhm__nav {
	display: flex;
	flex: 1 1 auto;
	justify-content: var(--alhm-nav-justify, flex-start);
	min-width: 0;
}
.alhm .alhm__list {
	display: flex;
	align-items: center;
	gap: var(--alhm-gap, 4px);
}
.alhm .alhm__item { position: static; }
.alhm .alhm__item--dropdown { position: relative; }
.alhm .alhm__row { display: flex; align-items: center; }

.alhm .alhm__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 10px 6px 10px 12px;
	color: var(--alhm-text);
	font-size: .96rem;
	font-weight: 500;
	transition: color .2s ease;
}
/* Animated underline on hover/active (desktop) */
.alhm .alhm__link::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 4px;
	height: 2px;
	background: var(--alhm-hover);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s cubic-bezier(.22, .61, .36, 1);
}
.alhm:not(.alhm--mobile) .alhm__link:hover::after,
.alhm:not(.alhm--mobile) .alhm__item.is-open > .alhm__row .alhm__link::after { transform: scaleX(1); }
.alhm .alhm__item:not(.has-panel) .alhm__link { padding-right: 12px; }
.alhm .alhm__chev {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 28px;
	margin-inline-end: 4px;
	color: var(--alhm-text);
	transition: transform .25s cubic-bezier(.22, .61, .36, 1), color .15s ease;
}
.alhm .alhm__link:hover,
.alhm .alhm__item.is-open > .alhm__row .alhm__link,
.alhm .alhm__item.is-open > .alhm__row .alhm__chev { color: var(--alhm-hover); }
.alhm .alhm__item.is-open > .alhm__row .alhm__chev { transform: rotate(180deg); }

/* ---------- Panels ---------- */
.alhm .alhm__panel {
	position: absolute;
	top: var(--alhm-panel-top, 100%);
	left: var(--alhm-panel-left, 0);
	width: var(--alhm-panel-w, 100%);
	z-index: 9999;
	background: var(--alhm-panel-bg);
	box-shadow: 0 32px 56px -16px rgba(0, 0, 0, .35);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px) scale(.99);
	transform-origin: top center;
	transition: opacity .22s cubic-bezier(.22, .61, .36, 1), transform .28s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .22s;
}
/* Invisible bridge so the pointer can travel from the link down to the panel. */
.alhm .alhm__panel::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -28px;
	height: 28px;
}
.alhm .alhm__item.is-open > .alhm__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition-delay: 0s;
}
.alhm[data-panel="boxed"] .alhm__panel-inner { max-width: none; }

.alhm .alhm__panel-inner {
	max-width: var(--alhm-panel-max);
	margin-inline: auto;
	padding: var(--alhm-panel-pad);
}
.alhm .alhm__panel-inner--tpl { padding: 0; }

/* ---- Legacy "Cards" layout ---- */
.alhm .alhm__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 28px;
}
.alhm .alhm__card { grid-column: span var(--alhm-span, 12); min-width: 0; }
.alhm .alhm__card-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 6px;
	margin-bottom: 22px;
	background: var(--alhm-card-bg, #F1F8F7);
}
.alhm .alhm__card-head .alhm__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	background: #fff;
	color: var(--alhm-text);
	font-size: 18px;
}
.alhm .alhm__card-title {
	font-family: "Lora", Georgia, serif;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.2;
	color: #263C3E;
}
.alhm .alhm__cols {
	display: grid;
	grid-template-columns: repeat(var(--alhm-cols, 1), minmax(0, 1fr));
	gap: 28px;
	padding: 0 14px;
}
.alhm .alhm__col-title {
	margin-bottom: 8px;
	padding: 0 0 12px 0;
	border-bottom: 1px solid #DDEBEA;
	font-size: 1.05rem;
	color: #263C3E;
}

/* ---- "Flyout" layout: left categories, right sub-services ---- */
.alhm .alhm__panel--flyout .alhm__panel-inner--flyout { padding: 0; max-width: none; }
.alhm .alhm__flyout {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	align-items: stretch;
	max-height: 76vh;
}
.alhm .alhm__flygroups {
	background: var(--alhm-fly-bg);
	padding: 10px 0;
	overflow-y: auto;
}
.alhm .alhm__fgroup { position: relative; }
.alhm .alhm__fglink {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 20px;
	color: rgba(38, 60, 62, .88);
	font-size: .97rem;
	line-height: 1.3;
	transition: background-color .2s ease, color .2s ease;
}
.alhm .alhm__fgicon,
.alhm .alhm__fyhead-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	background: rgba(14, 148, 146, .12);
	color: #0E7775 !important;
	font-size: 15px;
	transition: background-color .2s ease, color .2s ease;
}
.alhm .alhm__fgicon i, .alhm .alhm__fyhead-icon i,
.alhm .alhm__fgicon svg, .alhm .alhm__fyhead-icon svg { color: inherit !important; fill: currentColor !important; font-size: inherit; width: 1em; height: 1em; }
.alhm .alhm__fgtitle { flex: 1 1 auto; }
.alhm .alhm__fgchev { flex: 0 0 auto; opacity: .5; transform: rotate(-90deg); transition: transform .2s ease, opacity .2s ease; }
[dir="rtl"] .alhm .alhm__fgchev { transform: rotate(90deg); }
.alhm .alhm__fgroup::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 3px;
	background: var(--alhm-hover);
	transform: scaleY(0);
	transition: transform .2s ease;
}
.alhm .alhm__fgroup:hover .alhm__fglink,
.alhm .alhm__fgroup.is-active .alhm__fglink { background: rgba(14, 148, 146, .08); color: #0E7775; }
.alhm .alhm__fgroup:hover .alhm__fgicon,
.alhm .alhm__fgroup.is-active .alhm__fgicon { background: #0E9492; color: #FFFFFF !important; }
.alhm .alhm__fgroup:hover::before,
.alhm .alhm__fgroup.is-active::before { transform: scaleY(1); }
.alhm .alhm__fgroup:hover .alhm__fgchev,
.alhm .alhm__fgroup.is-active .alhm__fgchev { opacity: 1; color: var(--alhm-hover); transform: rotate(-90deg) translateY(2px); }

.alhm .alhm__fypanels { background: var(--alhm-panel-bg); min-width: 0; display: flex; }
.alhm .alhm__fgsub { display: none; }
.alhm .alhm__fypanel { display: none; flex: 1 1 auto; min-width: 0; }
.alhm .alhm__fypanel.is-active { display: grid; grid-template-columns: minmax(0, 1fr) 300px; animation: alhmFyIn .25s ease; }
@keyframes alhmFyIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.alhm .alhm__fymain { display: flex; flex-direction: column; padding: 26px 44px 26px; min-width: 0; }
.alhm .alhm__fyhead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
	padding-bottom: 14px;
}
.alhm .alhm__fyhead-title { font-family: "Lora", Georgia, serif; font-size: 1.55rem; font-weight: 500; letter-spacing: -.01em; color: #263C3E; line-height: 1.2; }
.alhm .alhm__fyhead-title::after { content: ""; display: block; width: 46px; height: 3px; margin-top: 12px; background: #0E9492; }
.alhm .alhm__fyhead-all { font-size: .85rem; font-weight: 600; color: #086967; white-space: nowrap; transition: transform .2s ease, color .2s ease; }
.alhm .alhm__fyhead-all:hover { color: #111; transform: translateX(3px); }

/* Numbered rows that stretch to fill the panel height (no dead white space) */
.alhm .alhm__fylist { flex: 1 1 auto; display: grid; grid-auto-rows: minmax(58px, 1fr); counter-reset: alhmn; border-top: 1px solid #DDEBEA; }
.alhm .alhm__fylist .alhm__li { counter-increment: alhmn; border-bottom: 1px solid #DDEBEA; display: flex; }
.alhm .alhm__fylist .alhm__ilink { flex: 1 1 auto; align-items: center; gap: 22px; padding: 8px 14px 8px 4px; position: relative; overflow: hidden; }
.alhm .alhm__fylist .alhm__icon { display: none; }
.alhm .alhm__fylist .alhm__ilink::before {
	content: counter(alhmn, decimal-leading-zero);
	flex: 0 0 auto;
	width: 34px;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .08em;
	color: #0E9492;
	transition: color .2s ease, transform .25s ease;
}
.alhm .alhm__fylist .alhm__ilink::after {
	content: "\2192";
	margin-inline-start: auto;
	font-size: 1.1rem;
	color: #086967;
	opacity: 0;
	transform: translateX(-10px);
	transition: opacity .2s ease, transform .25s ease;
}
.alhm .alhm__fylist .alhm__ilink:hover,
.alhm .alhm__fylist .alhm__ilink:focus-visible { background: linear-gradient(90deg, #EFF8F7, rgba(246, 241, 227, 0)); box-shadow: none; }
.alhm .alhm__fylist .alhm__ilink:hover::before { color: #111; transform: translateX(4px); }
.alhm .alhm__fylist .alhm__ilink:hover::after { opacity: 1; transform: none; }
.alhm .alhm__fylist .alhm__ilink-title { font-size: 1rem; font-weight: 500; }

/* Dark call-to-action card, full panel height */
.alhm .alhm__fycta {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	padding: 32px 28px;
	overflow: hidden;
	background: #17484A;
	color: #fff;
	border-left: 3px solid #0E9492;
}
.alhm .alhm__fycta-mark {
	position: absolute;
	top: -10px;
	right: -14px;
	font-size: 150px;
	line-height: 1;
	color: rgba(14, 148, 146, .16);
	pointer-events: none;
}
.alhm .alhm__fycta-mark i, .alhm .alhm__fycta-mark svg { color: inherit; fill: currentColor; width: 1em; height: 1em; font-size: inherit; }
.alhm .alhm__fycta-kicker { position: relative; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8BE0DC; }
.alhm .alhm__fycta-title { position: relative; font-size: 1.45rem; font-weight: 400; line-height: 1.2; color: #fff; }
.alhm .alhm__fycta-text { position: relative; margin: 0; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.alhm .alhm__fycta-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
	padding: 14px 18px;
	background: #0E9492;
	color: #FFFFFF;
	font-weight: 600;
	font-size: .92rem;
	transition: background-color .2s ease, padding .2s ease;
}
.alhm .alhm__fycta-btn:hover { background: #fff; color: #17484A; padding-inline-end: 24px; }
.alhm .alhm__fycta-tel { position: relative; font-size: .95rem; font-weight: 600; color: #fff; transition: color .2s ease; }
.alhm .alhm__fycta-tel:hover { color: #0E9492; }

/* ---- Shared link row styling (flyout right panel, cards, dropdowns, blog) ---- */
.alhm .alhm__ilink {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 12px;
	color: #263C3E;
	transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.alhm .alhm__panel--flyout .alhm__ilink { color: #263C3E; }
.alhm .alhm__ilink:hover,
.alhm .alhm__ilink:focus-visible {
	background: #EFF8F7;
	color: #111;
	box-shadow: inset 3px 0 0 #0E9492;
	transform: none;
}
.alhm .alhm__ilink:hover .alhm__icon { background: #0E9492; color: #263C3E; }
.alhm .alhm__ilink .alhm__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	background: rgba(14, 148, 146, .16);
	color: #086967;
	font-size: 14px;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease;
}
.alhm .alhm__icon i { font-size: inherit; line-height: 1; }
.alhm .alhm__icon svg { width: 1em; height: 1em; fill: currentColor; }
.alhm .alhm__itext { display: block; min-width: 0; }
.alhm .alhm__ilink-title { display: block; font-size: .96rem; line-height: 1.3; }
.alhm .alhm__idesc { display: block; margin-top: 2px; font-size: .8rem; opacity: .6; }
.alhm .alhm__badge {
	margin-inline-start: 2px;
	padding: 2px 8px;
	background: var(--alhm-badge-bg);
	color: var(--alhm-badge-text);
	font-size: .75rem;
	font-weight: 500;
	line-height: 1.4;
}

/* Simple dropdown & random-blog panel */
.alhm .alhm__item--dropdown > .alhm__panel {
	top: calc(100% + 6px);
	left: 0;
	width: max-content;
	min-width: 260px;
	max-width: 380px;
	padding: 10px;
}
.alhm .alhm__item--dropdown > .alhm__panel::before { top: -8px; height: 8px; }
[dir="rtl"] .alhm .alhm__item--dropdown > .alhm__panel { left: auto; right: 0; }
.alhm .alhm__item--dropdown > .alhm__panel .alhm__ilink { min-width: 240px; }



/* ======================================================================
 * BLOG panel — post list + live preview card (image, category, excerpt)
 * ==================================================================== */
.alhm .alhm__panel-inner--blog { padding: 0; max-width: none; }
.alhm .alhm__blog { display: grid; grid-template-columns: 380px minmax(0, 1fr); min-height: 340px; }
.alhm .alhm__blist { background: var(--alhm-fly-bg); padding: 10px 0; }
.alhm .alhm__bpost { position: relative; }
.alhm .alhm__bpost::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
	background: var(--alhm-hover); transform: scaleY(0); transition: transform .2s ease;
}
.alhm .alhm__bpost.is-active::before,
.alhm .alhm__bpost:hover::before { transform: scaleY(1); }
.alhm .alhm__blink {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 20px; color: rgba(38, 60, 62, .84);
	transition: background-color .2s ease, color .2s ease;
}
.alhm .alhm__bpost.is-active .alhm__blink,
.alhm .alhm__blink:hover { background: rgba(14, 148, 146, .08); color: #0E7775; }
.alhm .alhm__bnum { flex: 0 0 auto; width: 26px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: #0E9492; }
.alhm .alhm__bthumb { display: none; }
.alhm .alhm__btitle {
	flex: 1 1 auto; font-size: .94rem; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.alhm .alhm__barrow { flex: 0 0 auto; opacity: 0; transform: translateX(-6px); color: var(--alhm-hover); transition: opacity .2s ease, transform .25s ease; }
.alhm .alhm__bpost.is-active .alhm__barrow,
.alhm .alhm__blink:hover .alhm__barrow { opacity: 1; transform: none; }
.alhm .alhm__ball { padding: 8px 20px 4px; margin-top: 6px; border-top: 1px solid rgba(38, 60, 62, .12); }
.alhm .alhm__ball-link { display: inline-block; padding: 8px 0; font-size: .85rem; font-weight: 600; color: #0E9492; transition: transform .2s ease, color .2s ease; }
.alhm .alhm__ball-link:hover { color: #fff; transform: translateX(4px); }

.alhm .alhm__bprevs { position: relative; background: var(--alhm-panel-bg); }
.alhm .alhm__bprev {
	position: absolute; inset: 0;
	display: none;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	color: #263C3E;
}
.alhm .alhm__bprev.is-active { display: grid; animation: alhmFyIn .28s ease; }
.alhm .alhm__bimg { position: relative; display: block; overflow: hidden; background: #EAF6F5; }
.alhm .alhm__bimg img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.08); transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}
.alhm .alhm__bprev.is-active .alhm__bimg img { transform: scale(1); }
.alhm .alhm__bprev:hover .alhm__bimg img { transform: scale(1.05); }
.alhm .alhm__bcat {
	position: absolute; left: 0; bottom: 0; padding: 8px 16px;
	background: #0E9492; color: #FFFFFF; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.alhm .alhm__bbody { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px 36px; min-width: 0; }
.alhm .alhm__bdate { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #086967; }
.alhm .alhm__bptitle { font-family: "Lora", Georgia, serif; font-size: 1.4rem; font-weight: 500; line-height: 1.25; color: #111; }
.alhm .alhm__bexc { font-size: .93rem; line-height: 1.6; color: #555; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.alhm .alhm__bmore { align-self: flex-start; margin-top: 6px; padding-bottom: 3px; font-size: .9rem; font-weight: 600; color: #111; border-bottom: 2px solid #0E9492; transition: padding .2s ease; }
.alhm .alhm__bprev:hover .alhm__bmore { padding-inline-end: 10px; }
.alhm .alhm__bempty { grid-column: 1 / -1; padding: 30px; color: #555; }

/* ---------- Buttons ---------- */
.alhm .alhm__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-inline-start: auto;
	flex: 0 0 auto;
}
.alhm .alhm__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border: 2px solid transparent;
	font-size: .95rem;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.alhm .alhm__btn--primary { background: var(--alhm-btn-bg); color: var(--alhm-btn-text); }
.alhm .alhm__btn--primary:hover { background: var(--alhm-btn-hover); color: var(--alhm-btn-text); transform: translateY(-1px); }
.alhm .alhm__btn--outline { border-color: var(--alhm-outline); color: var(--alhm-outline); background: transparent; }
.alhm .alhm__btn--outline:hover { background: var(--alhm-outline); color: #263C3E; transform: translateY(-1px); }
.alhm .alhm__btn--text { padding: 10px 8px; color: var(--alhm-text); font-size: .9rem; }
.alhm .alhm__btn--text:hover { color: var(--alhm-hover); }
.alhm .alhm__btn-icon { display: inline-flex; font-size: 1em; line-height: 1; }
.alhm .alhm__btn-icon svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Overlay ---------- */
.alhm .alhm__overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: var(--alhm-overlay);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility 0s linear .3s;
}
.alhm:not(.alhm--mobile) .alhm__overlay { display: none; }

/* ======================================================================
 * MOBILE / TABLET — off-canvas drawer + accordions
 * (.alhm--mobile is toggled by JS from the "Switch to mobile menu below" setting)
 * ==================================================================== */
.alhm.alhm--mobile { --alhm-bar-h: 64px; }
.alhm.alhm--mobile .alhm__bar { gap: 12px; padding-inline: 16px; }
.alhm.alhm--mobile .alhm__logo { min-width: 0; max-width: 60%; }
.alhm.alhm--mobile .alhm__logo img { width: min(var(--alhm-logo-w, 150px), 100%); }
.alhm.alhm--mobile .alhm__logo-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.25rem; }

/* Hamburger -> X morph animation */
.alhm.alhm--mobile .alhm__toggle {
	display: inline-flex;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .18s ease, transform .1s ease;
}
.alhm.alhm--mobile .alhm__toggle:active { background: var(--alhm-item-hover-bg); transform: scale(.92); }
.alhm.alhm--mobile .alhm__toggle-box {
	position: relative;
	display: block;
	width: 22px;
	height: 16px;
}
.alhm .alhm__toggle-box span {
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	background: currentColor;
	transition: transform .32s cubic-bezier(.22, .61, .36, 1), opacity .2s ease, top .32s cubic-bezier(.22, .61, .36, 1);
}
.alhm .alhm__toggle-box span:nth-child(1) { top: 0; }
.alhm .alhm__toggle-box span:nth-child(2) { width: 15px; }
.alhm .alhm__toggle-box span:nth-child(3) { width: 19px; }
.alhm .alhm__toggle:hover .alhm__toggle-box span { width: 22px; }
.alhm .alhm__toggle-box span:nth-child(2) { top: 7px; }
.alhm .alhm__toggle-box span:nth-child(3) { top: 14px; }
.alhm.alhm--open .alhm__toggle { background: #0E9492; color: #FFFFFF; border-color: #0E7775 !important; }
.alhm.alhm--open .alhm__toggle-box span { width: 22px; }
.alhm.alhm--open .alhm__toggle-box span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.alhm.alhm--open .alhm__toggle-box span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.alhm.alhm--open .alhm__toggle-box span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Off-canvas drawer */
.alhm.alhm--mobile .alhm__drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	inset-inline-end: 0;
	z-index: 10001;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: var(--alhm-drawer-w);
	height: 100vh;
	height: 100dvh;
	padding: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: var(--alhm-drawer-bg);
	box-shadow: -24px 0 60px rgba(24, 48, 50, .16);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .36s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .36s;
}
[dir="rtl"] .alhm.alhm--mobile .alhm__drawer { transform: translateX(-100%); box-shadow: 24px 0 60px rgba(24, 48, 50, .16); }
.alhm.alhm--mobile.alhm--open .alhm__drawer { transform: none; visibility: visible; transition-delay: .14s, 0s; }
.alhm.alhm--mobile.alhm--open .alhm__overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
.alhm.alhm--mobile .alhm__overlay { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }

/* Drawer header: logo-less, close button only, stays pinned while scrolling */
.alhm.alhm--mobile .alhm__drawer-head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	min-height: 64px;
	padding: 0 16px 0 22px;
	background: var(--alhm-drawer-bg);
	border-bottom: 1px solid var(--alhm-divider);
}
.alhm .alhm__drawer-title { font-size: 1.05rem; font-weight: 600; color: var(--alhm-text); }
.alhm .alhm__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--alhm-text);
	-webkit-tap-highlight-color: transparent;
	transition: transform .2s ease;
}
.alhm .alhm__close:hover { transform: rotate(90deg); }
.alhm .alhm__close:active { background: var(--alhm-item-hover-bg); }

/* Navigation list */
.alhm.alhm--mobile .alhm__nav { display: block; flex: 1 0 auto; padding: 6px 22px 12px; }
.alhm.alhm--mobile .alhm__list { flex-direction: column; align-items: stretch; gap: 0; }
.alhm.alhm--mobile .alhm__item { border-bottom: 1px solid var(--alhm-divider); }
.alhm.alhm--mobile .alhm__item:last-child { border-bottom: 0; }
.alhm.alhm--mobile .alhm__row { justify-content: space-between; min-height: 56px; }
.alhm.alhm--mobile .alhm__link { flex: 1 1 auto; min-height: 56px; padding: 0 4px; font-size: 1.0625rem; font-weight: 500; }
.alhm.alhm--mobile .alhm__link::after { display: none; }
.alhm.alhm--mobile .alhm__item:not(.has-panel) .alhm__link { padding-right: 4px; }
.alhm.alhm--mobile .alhm__chev {
	width: 48px;
	height: 48px;
	margin: 0;
	-webkit-tap-highlight-color: transparent;
}
.alhm.alhm--mobile .alhm__chev svg { width: 14px; height: 14px; }
.alhm.alhm--mobile .alhm__chev:active { background: var(--alhm-item-hover-bg); }

/* Panels turn into smooth accordions */
.alhm.alhm--mobile .alhm__panel,
.alhm.alhm--mobile .alhm__item--dropdown > .alhm__panel {
	position: static;
	width: auto;
	min-width: 0;
	max-width: none;
	padding: 0;
	background: transparent;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	max-height: 0;
	overflow: hidden;
	visibility: hidden; /* closed accordions are not tabbable */
	transition: max-height .32s ease, visibility 0s linear .32s;
}
.alhm.alhm--mobile .alhm__item.is-open > .alhm__panel { visibility: visible; transition-delay: 0s; }
.alhm.alhm--mobile .alhm__panel::before { display: none; }
.alhm.alhm--mobile .alhm__panel-inner,
.alhm.alhm--mobile .alhm__panel-inner--flyout { max-width: none; padding: 2px 0 18px; }
.alhm.alhm--mobile .alhm__grid { display: block; }
.alhm.alhm--mobile .alhm__card { margin: 0 0 14px; }
.alhm.alhm--mobile .alhm__card:last-child { margin-bottom: 0; }
.alhm.alhm--mobile .alhm__card-head { gap: 10px; padding: 5px; margin-bottom: 8px; }
.alhm.alhm--mobile .alhm__card-head .alhm__icon { width: 34px; height: 34px; font-size: 14px; }
.alhm.alhm--mobile .alhm__card-title { font-size: 1rem; font-weight: 600; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__cols { display: block; padding: 0; }
.alhm.alhm--mobile .alhm__col { margin: 0 0 6px; }
.alhm.alhm--mobile .alhm__col-title { margin: 10px 0 2px; padding: 0 8px; border: 0; font-size: .8125rem; font-weight: 600; opacity: .6; letter-spacing: .01em; color: var(--alhm-text); }

/* Mobile flyout -> nested accordion: sub-services open directly BELOW their category */
.alhm.alhm--mobile .alhm__flyout { display: block; max-height: none; }
.alhm.alhm--mobile .alhm__fypanels { display: none; }
.alhm.alhm--mobile .alhm__flygroups { background: transparent; padding: 0; overflow: visible; }
.alhm.alhm--mobile .alhm__fgroup { border-bottom: 1px solid var(--alhm-divider); }
.alhm.alhm--mobile .alhm__fgroup:last-child { border-bottom: 0; }
.alhm.alhm--mobile .alhm__fglink { padding: 10px 4px; min-height: 54px; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__fgroup:hover .alhm__fglink,
.alhm.alhm--mobile .alhm__fgroup.is-active .alhm__fglink { background: transparent; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__fgroup.is-open > .alhm__fglink { color: var(--alhm-hover); }
.alhm.alhm--mobile .alhm__fgroup:hover .alhm__fgicon,
.alhm.alhm--mobile .alhm__fgroup.is-active .alhm__fgicon { background: rgba(14, 148, 146, .12); color: #0E7775 !important; }
.alhm.alhm--mobile .alhm__fgroup.is-open > .alhm__fglink .alhm__fgicon { background: #0E9492; color: #FFFFFF !important; }
.alhm.alhm--mobile .alhm__fgroup::before { display: none; }
.alhm.alhm--mobile .alhm__fgchev { transform: rotate(0deg); opacity: .8; transition: transform .25s ease; }
.alhm.alhm--mobile .alhm__fgroup.is-open > .alhm__fglink .alhm__fgchev { transform: rotate(180deg); color: var(--alhm-hover); opacity: 1; }
.alhm.alhm--mobile .alhm__fgsub {
	display: block;
	max-height: 0;
	overflow: hidden;
	margin: 0 0 0 17px;
	padding: 0 0 0 14px;
	border-left: 2px solid rgba(14, 148, 146, .4);
	transition: max-height .35s ease;
}
.alhm.alhm--mobile .alhm__fgroup.is-open > .alhm__fgsub { max-height: 1600px; margin-bottom: 12px; }
.alhm.alhm--mobile .alhm__ilink { min-height: 48px; padding: 8px 6px; gap: 12px; color: var(--alhm-text); box-shadow: none !important; -webkit-tap-highlight-color: transparent; }
.alhm.alhm--mobile .alhm__ilink:hover { background: transparent; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__ilink:active { background: rgba(14, 148, 146, .12); color: var(--alhm-hover); }
.alhm.alhm--mobile .alhm__ilink .alhm__icon { width: 32px; height: 32px; background: rgba(14, 148, 146, .16); color: #0E9492; font-size: 13px; }
.alhm.alhm--mobile .alhm__ilink:hover .alhm__icon { background: rgba(14, 148, 146, .16); color: #0E9492; }
.alhm.alhm--mobile .alhm__ilink--all { color: var(--alhm-hover); font-weight: 600; min-height: 44px; }
.alhm.alhm--mobile .alhm__links--simple { padding: 0 0 12px; }
.alhm.alhm--mobile .alhm__ilink-title { font-size: .93rem; }
/* Open top-level accordion must never clip nested content */
.alhm.alhm--mobile .alhm__item.is-open > .alhm__panel { max-height: 8000px; }

/* Mobile blog: simple list with thumbnails, no preview pane */
.alhm.alhm--mobile .alhm__blog { display: block; min-height: 0; }
.alhm.alhm--mobile .alhm__bprevs { display: none; }
.alhm.alhm--mobile .alhm__blist { background: transparent; padding: 0 0 8px 14px; margin-left: 4px; border-left: 2px solid rgba(14, 148, 146, .4); }
.alhm.alhm--mobile .alhm__bpost::before { display: none; }
.alhm.alhm--mobile .alhm__blink { padding: 10px 4px; gap: 12px; color: var(--alhm-text); min-height: 60px; }
.alhm.alhm--mobile .alhm__bpost.is-active .alhm__blink { background: transparent; color: var(--alhm-text); }
.alhm.alhm--mobile .alhm__bnum, .alhm.alhm--mobile .alhm__barrow { display: none; }
.alhm.alhm--mobile .alhm__bthumb { display: block; flex: 0 0 64px; width: 64px; height: 48px; object-fit: cover; }
.alhm.alhm--mobile .alhm__btitle { font-size: .92rem; -webkit-line-clamp: 3; }
.alhm.alhm--mobile .alhm__ball { border-color: var(--alhm-divider); padding-inline: 4px; }

/* CTA buttons: pinned to the bottom of the drawer, always reachable */
.alhm.alhm--mobile .alhm__actions {
	position: sticky;
	bottom: 0;
	z-index: 2;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin: auto 0 0;
	padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px));
	background: var(--alhm-drawer-bg);
	border-top: 1px solid var(--alhm-divider);
	box-shadow: 0 -12px 24px -16px rgba(0, 0, 0, .4);
}
.alhm.alhm--mobile .alhm__btn { width: 100%; min-height: 50px; padding: 15px 24px; font-size: 1rem; }
.alhm.alhm--mobile .alhm__btn--text { order: 3; min-height: 44px; padding: 8px 4px; font-weight: 500; }
.alhm.alhm--mobile .alhm__btn--primary { order: 1; }
.alhm.alhm--mobile .alhm__btn--outline { order: 2; }

/* Small phones: drawer uses the whole screen width */
@media (max-width: 480px) {
	.alhm.alhm--mobile { --alhm-drawer-w: 100vw; }
	.alhm.alhm--mobile .alhm__nav { padding-inline: 18px; }
	.alhm.alhm--mobile .alhm__actions { padding-inline: 18px; }
	.alhm.alhm--mobile .alhm__drawer-head { padding-inline: 18px 10px; }
}

/* Landscape phones: keep the header compact */
@media (max-height: 480px) and (orientation: landscape) {
	.alhm.alhm--mobile { --alhm-bar-h: 56px; }
	.alhm.alhm--mobile .alhm__row, .alhm.alhm--mobile .alhm__link { min-height: 48px; }
	.alhm.alhm--mobile .alhm__actions { position: static; box-shadow: none; }
}

/* Staggered entrance of menu rows when the drawer opens */
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item { animation: alhmItemIn .45s cubic-bezier(.22, .61, .36, 1) both; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(1) { animation-delay: .22s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(2) { animation-delay: .28s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(3) { animation-delay: .34s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(4) { animation-delay: .40s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(5) { animation-delay: .46s; }
.alhm.alhm--mobile.alhm--open .alhm__list > .alhm__item:nth-child(n+6) { animation-delay: .52s; }
.alhm.alhm--mobile.alhm--open .alhm__actions { animation: alhmItemIn .45s cubic-bezier(.22, .61, .36, 1) .5s both; }
@keyframes alhmItemIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.alhm .alhm__close { border: 1px solid rgba(38, 60, 62, .16) !important; transition: transform .3s ease, border-color .2s ease, background-color .2s ease, color .2s ease; }
.alhm .alhm__close:hover { border-color: #0E7775 !important; color: #0E9492; }

html.alhm-lock,
html.alhm-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.alhm *, .alhm *::before, .alhm *::after {
		transition-duration: .001ms !important;
		transition-delay: 0s !important;
		animation-duration: .001ms !important;
	}
}

/* Tablet: keep the flyout usable but narrower */
@media (max-width: 1200px) and (min-width: 1025px) {
	.alhm .alhm__flyout { grid-template-columns: 250px minmax(0, 1fr); }
	.alhm .alhm__fypanel.is-active { grid-template-columns: minmax(0, 1fr) 240px; }
	.alhm .alhm__fymain { padding-inline: 28px; }
	.alhm .alhm__blog { grid-template-columns: 280px minmax(0, 1fr); }
	.alhm .alhm__bbody { padding: 20px 24px; }
	
}

/* ======================================================================
 * CURRENT PAGE (active) state — desktop + mobile
 * ==================================================================== */
.alhm .alhm__item.is-current > .alhm__row .alhm__link,
.alhm .alhm__item.is-current > .alhm__row .alhm__chev { color: var(--alhm-hover); }
.alhm:not(.alhm--mobile) .alhm__item.is-current > .alhm__row .alhm__link::after { transform: scaleX(1); }
.alhm.alhm--mobile .alhm__item.is-current > .alhm__row .alhm__link {
	box-shadow: inset 3px 0 0 var(--alhm-hover);
	padding-inline-start: 14px;
}
.alhm .alhm__fgroup.is-current > .alhm__fglink .alhm__fgtitle::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 10px;
	background: #0E9492; vertical-align: middle;
}
.alhm .alhm__li.is-current > .alhm__ilink { color: #086967; font-weight: 600; box-shadow: inset 3px 0 0 #0E9492; }
.alhm .alhm__fylist .alhm__li.is-current > .alhm__ilink { background: linear-gradient(90deg, #EFF8F7, rgba(246, 241, 227, 0)); }
.alhm .alhm__fylist .alhm__li.is-current > .alhm__ilink::before { color: #111; }
.alhm.alhm--mobile .alhm__li.is-current > .alhm__ilink { color: var(--alhm-hover); box-shadow: none !important; }
.alhm.alhm--mobile .alhm__fgroup.is-current > .alhm__fglink { color: var(--alhm-hover); }

/* Brainology header motion: short first-page intro only; no infinite shimmer or page-change replay. */
@keyframes alhmIntroReveal { from { opacity:0; transform:translateY(-7px); } to { opacity:1; transform:translateY(0); } }
@keyframes alhmIntroLine { 0% { transform:scaleX(0); opacity:.85; } 70% { transform:scaleX(1); opacity:.65; } 100% { transform:scaleX(1); opacity:0; } }
@keyframes alhmIntroLogo { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
@keyframes alhmIntroItem { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:none; } }
@keyframes alhmIntroPop { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
@keyframes alhmBtnShine { from { opacity:0; transform:skewX(-16deg) translateX(-180%); } 20% { opacity:.5; } to { opacity:0; transform:skewX(-16deg) translateX(360%); } }
.alhm .alhm__btn--primary { position:relative; overflow:hidden; isolation:isolate; }
.alhm .alhm__btn--primary::after { content:''; position:absolute; top:0; bottom:0; left:-35%; width:28%; pointer-events:none; background:linear-gradient(105deg, transparent, rgba(255,255,255,.32), transparent); transform:skewX(-16deg); opacity:0; }
.alhm-header.is-stuck .alhm .alhm__bar { box-shadow:inset 0 -1px 0 rgba(14,148,146,.28), 0 5px 18px -12px rgba(28,63,65,.22); }
@media (prefers-reduced-motion: no-preference) {
 html.alhm-intro .alhm .alhm__bar { animation:alhmIntroReveal .48s cubic-bezier(.2,.7,.25,1) both; }
 html.alhm-intro .alhm .alhm__bar::before { content:''; position:absolute; left:0; right:0; bottom:0; height:2px; pointer-events:none; background:linear-gradient(90deg, transparent, var(--alhm-hover,#0E9492), #BDE9E7, var(--alhm-hover,#0E9492), transparent); transform-origin:center; animation:alhmIntroLine .95s ease-out .08s both; }
 html.alhm-intro .alhm .alhm__logo { animation:alhmIntroLogo .42s ease-out .05s both; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item { animation:alhmIntroItem .32s ease-out both; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(1) { animation-delay:.08s; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(2) { animation-delay:.13s; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(3) { animation-delay:.18s; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(4) { animation-delay:.23s; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(5) { animation-delay:.28s; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(6) { animation-delay:.33s; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__list > .alhm__item:nth-child(n+7) { animation-delay:.38s; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__actions { animation:alhmIntroPop .36s ease-out .30s both; }
 html.alhm-intro .alhm:not(.alhm--mobile) .alhm__btn--primary::after { animation:alhmBtnShine .72s ease-out .38s both; }
 html.alhm-intro .alhm.alhm--mobile .alhm__toggle { animation:alhmIntroPop .36s ease-out .16s both; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .alhm:not(.alhm--mobile) .alhm__link { transition:color .18s ease, transform .18s ease; }
 .alhm:not(.alhm--mobile) .alhm__link:hover { transform:translateY(-1px); }
 .alhm .alhm__logo { transition:opacity .18s ease; }
 .alhm .alhm__logo:hover { opacity:.88; }
 .alhm .alhm__btn--primary { transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
 .alhm .alhm__btn--primary:hover { transform:translateY(-1px); box-shadow:0 5px 14px -8px rgba(14,148,146,.55); }
}



/* v3.2.0 compatibility hardening: override common theme/Elementor list styles only inside Brainology's header. */
#alhm-header .alhm__nav ul,
#alhm-header .alhm__drawer ul,
#alhm-header .alhm__panel ul,
#alhm-header .alhm__nav ol,
#alhm-header .alhm__drawer ol,
#alhm-header .alhm__panel ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#alhm-header .alhm__nav li,
#alhm-header .alhm__drawer li,
#alhm-header .alhm__panel li {
  list-style: none !important;
}
#alhm-header .alhm__nav li::marker,
#alhm-header .alhm__drawer li::marker,
#alhm-header .alhm__panel li::marker,
#alhm-header .alhm__nav li::before,
#alhm-header .alhm__drawer li::before,
#alhm-header .alhm__panel li::before {
  content: none !important;
  display: none !important;
}
#alhm-header .alhm__list > .alhm__item { margin: 0 !important; padding: 0 !important; }
#alhm-header .alhm__nav a { text-decoration: none; }
#alhm-header .alhm__bar { box-sizing: border-box; }
#alhm-header .alhm__logo img { max-width: 100%; height: auto; object-fit: contain; }
@media (max-width: 767px) {
  #alhm-header { width: 100%; max-width: 100%; }
  #alhm-header .alhm__bar { padding-inline: clamp(14px, 4vw, 22px); }
  #alhm-header .alhm__logo { min-width: 0; max-width: min(62vw, 260px); }
  #alhm-header .alhm__logo img { max-height: 48px; }
  #alhm-header .alhm__toggle { flex: 0 0 auto; }
}

/* ======================================================================
 * Brainology Simple Footer Elementor widget (v3.1)
 * Scoped reset prevents theme list markers / button styles leaking into it.
 * ==================================================================== */
.alhm-brainology-footer,
.alhm-brainology-footer *,
.alhm-brainology-footer *::before,
.alhm-brainology-footer *::after {
	box-sizing: border-box;
}
.alhm-brainology-footer {
	--alhm-footer-accent: #0E9492;
	--alhm-footer-divider: #DFEAE8;
	--alhm-footer-text: #263C3E;
	--alhm-footer-muted: #647675;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: #F8FBFA;
	color: var(--alhm-footer-text);
	font-family: "DM Sans", Inter, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	isolation: isolate;
}
.alhm-brainology-footer a {
	color: inherit;
	text-decoration: none;
	text-shadow: none;
	box-shadow: none;
	background: transparent;
	border: 0;
	outline-offset: 4px;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.alhm-brainology-footer a:focus-visible {
	outline: 2px solid var(--alhm-footer-accent);
}
.alhm-brainology-footer p,
.alhm-brainology-footer ul,
.alhm-brainology-footer li {
	margin: 0;
	padding: 0;
}
.alhm-brainology-footer ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	list-style: none !important;
}
.alhm-brainology-footer li {
	display: block;
	list-style: none !important;
}
.alhm-brainology-footer li::marker,
.alhm-brainology-footer li::before {
	content: none !important;
	display: none !important;
}
.alhm-brainology-footer__inner {
	width: min(1160px, calc(100% - 48px));
	max-width: 100%;
	margin-inline: auto;
}
.alhm-brainology-footer__top {
	display: grid;
	grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
	align-items: start;
	gap: clamp(24px, 4vw, 64px);
	padding: 42px 0 30px;
}
.alhm-brainology-footer__brand {
	min-width: 0;
}
.alhm-brainology-footer__logo {
	display: inline-block;
	max-width: 100%;
	font-family: "Lora", Georgia, serif;
	font-size: clamp(22px, 2vw, 27px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -.035em;
	overflow-wrap: anywhere;
}
.alhm-brainology-footer__logo:hover {
	color: var(--alhm-footer-accent);
}
.alhm-brainology-footer__brand p {
	max-width: 345px;
	margin-top: 10px;
	color: var(--alhm-footer-muted);
	font-size: 13px;
	line-height: 1.8;
}
.alhm-brainology-footer__nav {
	min-width: 0;
	padding-top: 4px;
}
.alhm-brainology-footer__nav ul {
	justify-content: flex-end;
}
.alhm-brainology-footer__nav a {
	display: inline-block;
	max-width: 100%;
	color: var(--alhm-footer-text);
	font-size: 12.5px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
.alhm-brainology-footer__nav a:hover {
	color: var(--alhm-footer-accent);
}
.alhm-brainology-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 20px;
	padding: 17px 0;
	border-top: 1px solid var(--alhm-footer-divider);
}
.alhm-brainology-footer__copyright,
.alhm-brainology-footer__note {
	color: var(--alhm-footer-muted);
	font-size: 12px;
	line-height: 1.7;
}
.alhm-brainology-footer__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 9px 13px;
	border: 1px solid var(--alhm-footer-accent) !important;
	border-radius: 3px;
	color: var(--alhm-footer-accent) !important;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}
.alhm-brainology-footer__cta:hover {
	background: var(--alhm-footer-accent) !important;
	color: #fff !important;
}
.alhm-brainology-footer__cta span {
	font-size: 15px;
	transition: transform .18s ease;
}
.alhm-brainology-footer__cta:hover span {
	transform: translate(2px, -2px);
}
@media (max-width: 900px) {
	.alhm-brainology-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		padding-top: 34px;
	}
	.alhm-brainology-footer__nav ul {
		justify-content: flex-start;
	}
}
@media (max-width: 600px) {
	.alhm-brainology-footer__inner {
		width: calc(100% - 36px);
	}
	.alhm-brainology-footer__top {
		gap: 20px;
		padding: 30px 0 22px;
	}
	.alhm-brainology-footer__brand p {
		max-width: 330px;
		font-size: 13px;
	}
	.alhm-brainology-footer__nav ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		gap: 11px 14px;
	}
	.alhm-brainology-footer__nav li,
	.alhm-brainology-footer__nav a {
		min-width: 0;
		font-size: 12px;
	}
	.alhm-brainology-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
		padding: 15px 0 18px;
	}
	.alhm-brainology-footer__cta {
		min-height: 38px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.alhm-brainology-footer a,
	.alhm-brainology-footer a span {
		transition: none !important;
	}
}

/* v3.2: prevent inherited theme list markers from leaking into the Brainology navigation. */
.alhm-header .alhm, .alhm-header .alhm__bar, .alhm-header .alhm__drawer, .alhm-header .alhm__nav { min-width:0; }
.alhm-header .alhm__bar { max-width:100%; }
.alhm-header .alhm__list { list-style:none !important; }
.alhm-header .alhm__list > .alhm__item { margin:0 !important; padding:0 !important; list-style:none !important; }
.alhm-header .alhm__list > .alhm__item::before, .alhm-header .alhm__list > .alhm__item::marker { content:none !important; display:none !important; }
.alhm-header .alhm__row { margin:0; }
.alhm-header .alhm__link { line-height:1.35; }
.alhm-header .alhm__btn { white-space:nowrap; }
@media (max-width:1024px) { .alhm-header .alhm__bar { gap:18px; } }
@media (max-width:600px) { .alhm-header .alhm__bar { min-height:66px; } }
