/* =========================================================================
   Tahzib Global Academy — design system
   Palette matches the Tahzib brand: teal primary, white, light neutral,
   dark ink. Deliberately few colours (brief §2).
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
	/* Brand — overridden inline by the Customizer. */
	--brand: #00A89C;
	--brand-deep: #00665E;
	--brand-rgb: 0, 168, 156;

	--brand-050: rgba(var(--brand-rgb), .06);
	--brand-100: rgba(var(--brand-rgb), .12);
	--brand-200: rgba(var(--brand-rgb), .22);
	--brand-400: rgba(var(--brand-rgb), .55);

	/* Neutrals */
	--ink: #192A3D;
	--ink-2: #3C4C5E;
	--muted: #5A6B7D;
	--line: #E1E8ED;
	--line-soft: #EDF1F4;
	--surface: #FFFFFF;
	--surface-2: #F2F5F7;
	--surface-3: #FAFBFC;

	/* Type */
	--font-bn: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
	--font-en: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font: var(--font-bn);

	/* Scale — fluid, mobile-first */
	--fs-xs: .8125rem;
	--fs-sm: .9063rem;
	--fs-base: 1rem;
	--fs-md: clamp(1.0625rem, 1.02rem + .2vw, 1.125rem);
	--fs-lg: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
	--fs-xl: clamp(1.375rem, 1.24rem + .68vw, 1.75rem);
	--fs-2xl: clamp(1.625rem, 1.4rem + 1.15vw, 2.375rem);
	--fs-3xl: clamp(2rem, 1.62rem + 1.9vw, 3.25rem);

	/* Space */
	--gap: 1.25rem;
	--pad-x: clamp(1.125rem, 4vw, 2.5rem);
	--section-y: clamp(3.5rem, 7vw, 6.5rem);

	/* Shape */
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 22px;
	--r-pill: 999px;

	/* Elevation — soft, never heavy */
	--sh-1: 0 1px 2px rgba(25, 42, 61, .05), 0 4px 14px rgba(25, 42, 61, .05);
	--sh-2: 0 2px 6px rgba(25, 42, 61, .06), 0 14px 34px rgba(25, 42, 61, .08);
	--sh-brand: 0 10px 28px rgba(var(--brand-rgb), .28);

	--header-h: 76px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

.lang-en {
	--font: var(--font-en);
}

/* ---------- 2. Reset ----------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.75;
	color: var(--ink-2);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }

h1, h2, h3, h4, h5 {
	margin: 0 0 .5em;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -.005em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-deep); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: fixed; top: 12px; left: 12px;
	z-index: 1000;
	width: auto; height: auto;
	clip: auto; clip-path: none;
	padding: 12px 20px;
	background: var(--brand-deep); color: #fff;
	border-radius: var(--r-sm);
}

/* ---------- 3. Layout ---------------------------------------------------- */

.container {
	width: min(1200px, 100%);
	margin-inline: auto;
	padding-inline: var(--pad-x);
}

.container--narrow { width: min(820px, 100%); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.section--tint { background: var(--surface-2); }
.section--deep { background: var(--brand-deep); color: rgba(255, 255, 255, .86); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .5rem;
	margin: 0 0 .65rem;
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--brand-deep);
}
.eyebrow::before {
	content: ""; width: 26px; height: 2px;
	background: var(--brand); border-radius: 2px;
}
.eyebrow--center { display: block; text-align: center; }
.eyebrow--center::before { display: none; }
.eyebrow--light { color: rgba(255, 255, 255, .82); }
.eyebrow--light::before { background: rgba(255, 255, 255, .55); }

.section-title { font-size: var(--fs-2xl); margin: 0; }
.section-title--light { color: #fff; }

.section-intro {
	margin: .9rem 0 0;
	font-size: var(--fs-md);
	color: var(--muted);
}

.section-foot { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }

/* ---------- 4. Buttons --------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 50px;
	padding: .75rem 1.5rem;
	border-radius: var(--r-pill);
	font-weight: 600; font-size: var(--fs-sm);
	line-height: 1.3;
	text-align: center;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn__icon { flex: none; transition: transform .18s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary {
	background: var(--brand); color: #fff;
	box-shadow: var(--sh-brand);
}
.btn--primary:hover { background: var(--brand-deep); color: #fff; }

.btn--ghost {
	background: transparent; color: var(--brand-deep);
	border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-050); color: var(--brand-deep); }

.btn--light {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, .38);
	backdrop-filter: blur(6px);
}
.btn--light:hover { background: #fff; color: var(--brand-deep); }

.btn--link {
	min-height: 0; padding: 0;
	background: none; color: var(--brand-deep);
	border-radius: 0;
	border-bottom: 2px solid var(--brand-200);
}
.btn--link:hover { transform: none; border-bottom-color: var(--brand); }

.btn--sm { min-height: 42px; padding: .5rem 1.1rem; font-size: var(--fs-xs); }
.btn--full { width: 100%; }

.btn--apply .btn__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: #A8F0E8;
	box-shadow: 0 0 0 0 rgba(168, 240, 232, .8);
	animation: dot-pulse 2.4s infinite;
}
@keyframes dot-pulse {
	0% { box-shadow: 0 0 0 0 rgba(168, 240, 232, .7); }
	70% { box-shadow: 0 0 0 9px rgba(168, 240, 232, 0); }
	100% { box-shadow: 0 0 0 0 rgba(168, 240, 232, 0); }
}

/* ---------- 5. Pills, notices -------------------------------------------- */

.pill {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .3rem .85rem;
	border-radius: var(--r-pill);
	font-size: var(--fs-xs); font-weight: 600;
	line-height: 1.5;
}
.pill--brand { background: var(--brand); color: #fff; }
.pill--soft { background: var(--brand-100); color: var(--brand-deep); }
.pill--live { background: rgba(255, 255, 255, .18); color: #fff; }
.pill--live::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%;
	background: #7BE8DC; animation: dot-pulse 2.4s infinite;
}

.notice-box {
	display: flex; align-items: flex-start; gap: .7rem;
	padding: 1rem 1.15rem;
	border-radius: var(--r-sm);
	font-size: var(--fs-sm);
	margin-bottom: 1.25rem;
}
.notice-box--success { background: var(--brand-050); color: var(--brand-deep); border: 1px solid var(--brand-200); }
.notice-box--error { background: #FDF2F2; color: #9B2C2C; border: 1px solid #F5C6C6; }
.notice-box p { margin: 0; }

.empty-note {
	padding: 1.5rem;
	border: 1px dashed var(--line);
	border-radius: var(--r);
	color: var(--muted);
	font-size: var(--fs-sm);
	background: var(--surface-3);
}
.empty-note--center { text-align: center; }

/* ---------- 6. Header ---------------------------------------------------- */

.site-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-stuck {
	box-shadow: 0 2px 20px rgba(25, 42, 61, .07);
	border-bottom-color: var(--line-soft);
}

.site-header__inner {
	display: flex; align-items: center; gap: 1rem;
	min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .7rem; flex: none; color: var(--ink); }
.brand__logo { width: auto; max-height: 52px; }
.brand__mark {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 13px;
	background: linear-gradient(140deg, var(--brand), var(--brand-deep));
	color: #fff;
	box-shadow: var(--sh-brand);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.brand__tag { font-size: .75rem; color: var(--muted); font-weight: 500; }

.site-header__actions { display: flex; align-items: center; gap: .6rem; margin-inline-start: auto; }

.lang-switch {
	display: inline-flex;
	padding: 3px;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	background: var(--surface-3);
}
.lang-switch__opt {
	padding: .3rem .7rem;
	border-radius: var(--r-pill);
	font-size: var(--fs-xs); font-weight: 600;
	color: var(--muted);
	line-height: 1.6;
}
.lang-switch__opt.is-active { background: var(--brand); color: #fff; }
.lang-switch--stack { width: 100%; justify-content: center; }

.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	border-radius: 12px;
	align-items: center; justify-content: center;
	background: var(--surface-2); color: var(--ink);
}

/* Ticker */
.header-ticker { background: var(--brand-deep); color: #fff; font-size: var(--fs-xs); }
.header-ticker__inner {
	display: flex; align-items: center; gap: .75rem;
	min-height: 40px;
	flex-wrap: wrap;
}
.header-ticker__text { color: rgba(255, 255, 255, .88); }
.header-ticker__link {
	display: inline-flex; align-items: center; gap: .3rem;
	margin-inline-start: auto; color: #fff; font-weight: 600;
}
.header-ticker__link:hover { color: #B4F0E9; }

/* Nav */
.site-nav { margin-inline-start: auto; }
.site-nav__head, .site-nav__foot { display: none; }

.nav-menu { display: flex; align-items: center; gap: .15rem; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	display: flex; align-items: center; gap: .25rem;
	padding: .6rem .7rem;
	border-radius: var(--r-sm);
	font-size: var(--fs-sm); font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a,
.nav-menu > li.current_page_item > a { color: var(--brand-deep); background: var(--brand-050); }

.menu-caret { transition: transform .2s var(--ease); }
.nav-menu > li.has-dropdown:hover .menu-caret { transform: rotate(180deg); }

.sub-menu {
	position: absolute; top: calc(100% + 6px); inset-inline-start: 0;
	min-width: 240px;
	padding: .5rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r);
	box-shadow: var(--sh-2);
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-menu > li.has-dropdown:hover > .sub-menu,
.nav-menu > li.has-dropdown:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.sub-menu a {
	display: block;
	padding: .55rem .75rem;
	border-radius: var(--r-sm);
	font-size: var(--fs-sm);
	color: var(--ink-2);
}
.sub-menu a:hover { background: var(--brand-050); color: var(--brand-deep); }

.submenu-toggle { display: none; }

.nav-scrim {
	position: fixed; inset: 0; z-index: 88;
	background: rgba(11, 26, 38, .5);
	backdrop-filter: blur(2px);
}

/* ---------- 7. Hero ------------------------------------------------------ */

.hero {
	position: relative;
	display: grid; align-items: center;
	min-height: clamp(520px, 78vh, 760px);
	padding-block: clamp(3.5rem, 8vw, 6rem);
	overflow: hidden;
	color: #fff;
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img, .hero__video { width: 100%; height: 100%; object-fit: cover; }

.hero__pattern {
	position: absolute; inset: 0;
	background:
		radial-gradient(circle at 18% 22%, rgba(var(--brand-rgb), .5), transparent 46%),
		radial-gradient(circle at 82% 78%, rgba(0, 102, 94, .55), transparent 52%),
		linear-gradient(150deg, #063D3A 0%, #00665E 48%, #00867C 100%);
}
.hero__pattern::after {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
}

.hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(6, 30, 28, .62) 0%, rgba(6, 30, 28, .48) 40%, rgba(6, 30, 28, .78) 100%);
}

.hero__inner { position: relative; z-index: 1; max-width: 760px; }

.hero__badge {
	display: inline-flex; align-items: center; gap: .55rem;
	margin: 0 0 1.15rem;
	padding: .4rem 1rem;
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .3);
	backdrop-filter: blur(8px);
	font-size: var(--fs-sm); font-weight: 600;
}
.pulse {
	width: 8px; height: 8px; border-radius: 50%;
	background: #7BE8DC; animation: dot-pulse 2.4s infinite;
}

.hero__title {
	margin: 0 0 1rem;
	font-size: var(--fs-3xl);
	color: #fff;
	line-height: 1.18;
	text-wrap: balance;
}

.hero__text {
	max-width: 60ch;
	margin: 0 0 2rem;
	font-size: var(--fs-md);
	color: rgba(255, 255, 255, .9);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__meta {
	margin: 2rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, .22);
	font-size: var(--fs-sm);
	color: rgba(255, 255, 255, .8);
	letter-spacing: .01em;
}

.hero__scroll {
	position: absolute; z-index: 1;
	bottom: 26px; left: 50%; transform: translateX(-50%);
	width: 26px; height: 42px;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: var(--r-pill);
}
.hero__scroll span {
	position: absolute; top: 8px; left: 50%;
	width: 3px; height: 8px; margin-left: -1.5px;
	background: #fff; border-radius: 2px;
	animation: scroll-dot 1.9s var(--ease) infinite;
}
@keyframes scroll-dot {
	0% { opacity: 0; transform: translateY(0); }
	35% { opacity: 1; }
	100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- 8. Quick info ------------------------------------------------ */

.quick { margin-top: calc(-1 * clamp(2.5rem, 6vw, 4.5rem)); position: relative; z-index: 2; }

.quick__grid {
	display: grid; gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.quick-card {
	display: flex; flex-direction: column;
	padding: 1.5rem 1.4rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

.quick-card--accent {
	background: linear-gradient(150deg, var(--brand), var(--brand-deep));
	border-color: transparent;
	color: rgba(255, 255, 255, .9);
}
.quick-card--accent .quick-card__title,
.quick-card--accent .quick-card__value { color: #fff; }
.quick-card--accent .quick-card__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.quick-card--accent .quick-card__link { color: #fff; }

.quick-card__icon {
	display: grid; place-items: center;
	width: 48px; height: 48px; margin-bottom: 1rem;
	border-radius: 14px;
	background: var(--brand-050); color: var(--brand-deep);
}
.quick-card__title { margin: 0 0 .3rem; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.quick-card__value { margin: 0; font-size: var(--fs-md); font-weight: 600; color: var(--ink); line-height: 1.45; }

.quick-card__phones { display: flex; flex-direction: column; gap: .2rem; margin: .5rem 0 0; }
.quick-card__phones a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: var(--fs-sm); }

.quick-card__link {
	display: inline-flex; align-items: center; gap: .35rem;
	margin-top: auto; padding-top: 1rem;
	font-size: var(--fs-sm); font-weight: 600;
	color: var(--brand-deep);
}
.quick-card__link svg { transition: transform .18s var(--ease); }
.quick-card__link:hover svg { transform: translateX(3px); }

/* ---------- 9. About ----------------------------------------------------- */

.about__grid {
	display: grid; gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: 1fr;
	align-items: center;
}

.about__media { position: relative; margin: 0; }
.about__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-2); aspect-ratio: 4 / 3; object-fit: cover; }
.about__media img.is-placeholder { object-fit: cover; background: var(--surface-2); }

.about__stat {
	position: absolute; bottom: -18px; inset-inline-start: 18px;
	display: flex; align-items: center; gap: .6rem;
	padding: .8rem 1.1rem;
	background: #fff;
	border-radius: var(--r);
	box-shadow: var(--sh-2);
	font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
}
.about__stat-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--brand-050); color: var(--brand-deep); }

.about__lead {
	padding: 1rem 1.25rem;
	background: var(--brand-050);
	border-inline-start: 3px solid var(--brand);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	color: var(--ink); font-weight: 600;
}

.about__body .btn--link { margin-top: 1.25rem; }

/* ---------- 10. Vision & Mission ----------------------------------------- */

.vm__grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin-top: 1.5rem; }

.vm-card {
	padding: clamp(1.75rem, 3.5vw, 2.5rem);
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	position: relative; overflow: hidden;
}
.vm-card::after {
	content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0;
	width: 100%; height: 4px;
	background: linear-gradient(90deg, var(--brand), var(--brand-deep));
}
.vm-card__icon {
	display: grid; place-items: center;
	width: 56px; height: 56px; margin-bottom: 1.15rem;
	border-radius: 17px;
	background: var(--brand-050); color: var(--brand-deep);
}
.vm-card__title { font-size: var(--fs-xl); margin: 0 0 .6rem; }
.vm-card__text { margin: 0; font-size: var(--fs-md); color: var(--muted); }

/* ---------- 11. Feature / activity cards --------------------------------- */

.why__grid, .activities__grid {
	display: grid; gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
	padding: 1.75rem 1.5rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--brand-200); }

.feature-card__icon {
	display: grid; place-items: center;
	width: 54px; height: 54px; margin-bottom: 1.1rem;
	border-radius: 16px;
	background: var(--brand-050); color: var(--brand-deep);
	transition: background .22s var(--ease), color .22s var(--ease);
}
.feature-card:hover .feature-card__icon { background: var(--brand); color: #fff; }

.feature-card__title { font-size: var(--fs-lg); margin: 0 0 .4rem; }
.feature-card__text { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

.activity-card {
	display: flex; align-items: center; gap: 1rem;
	padding: 1.35rem 1.4rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r);
	font-weight: 600; color: var(--ink);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.activity-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.activity-card__icon {
	display: grid; place-items: center; flex: none;
	width: 48px; height: 48px;
	border-radius: 14px;
	background: var(--brand-050); color: var(--brand-deep);
}
.activity-card__title { font-size: var(--fs-sm); line-height: 1.45; }

/* ---------- 12. Programs ------------------------------------------------- */

.programs__grid {
	display: grid; gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.program-card {
	display: flex; flex-direction: column;
	padding: 1.6rem 1.4rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	position: relative; overflow: hidden;
	transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.program-card::before {
	content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0;
	width: 0; height: 3px; background: var(--brand);
	transition: width .3s var(--ease);
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.program-card:hover::before { width: 100%; }

.program-card__icon {
	display: grid; place-items: center;
	width: 46px; height: 46px; margin-bottom: .9rem;
	border-radius: 14px;
	background: var(--brand-050); color: var(--brand-deep);
}
.program-card__label {
	margin: 0 0 .15rem;
	font-family: var(--font-en);
	font-size: var(--fs-xs); font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--brand-deep);
}
.program-card__title { font-size: var(--fs-lg); margin: 0 0 .35rem; }
.program-card__age { margin: 0 0 .5rem; font-size: var(--fs-xs); color: var(--muted); }
.program-card__text { margin: 0 0 1rem; font-size: var(--fs-sm); color: var(--muted); }
.program-card__link {
	display: inline-flex; align-items: center; gap: .35rem;
	margin-top: auto;
	font-size: var(--fs-sm); font-weight: 600; color: var(--brand-deep);
}
.program-card__link svg { transition: transform .18s var(--ease); }
.program-card__link:hover svg { transform: translateX(3px); }

/* ---------- 13. Approach diagram ----------------------------------------- */

.approach__diagram { position: relative; }

.approach__core {
	display: none;
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 92px; height: 92px;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--brand), var(--brand-deep));
	color: #fff;
	box-shadow: var(--sh-brand);
	z-index: 2;
}

.approach__list {
	display: grid; gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pillar {
	position: relative;
	padding: 1.75rem 1.5rem 1.5rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

.pillar__num {
	position: absolute; top: 1rem; inset-inline-end: 1.15rem;
	font-family: var(--font-en);
	font-size: 2.25rem; font-weight: 800;
	line-height: 1;
	color: var(--brand-100);
}
.pillar__icon {
	display: grid; place-items: center;
	width: 46px; height: 46px; margin-bottom: .9rem;
	border-radius: 14px;
	background: var(--brand-050); color: var(--brand-deep);
}
.pillar__title { font-family: var(--font-en); font-size: var(--fs-md); margin: 0 0 .3rem; }
.pillar__text { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

.approach__closing {
	position: relative;
	max-width: 780px;
	margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
	padding: 2rem 1.75rem 1.75rem;
	background: var(--brand-050);
	border: 1px solid var(--brand-200);
	border-radius: var(--r-lg);
	text-align: center;
}
.approach__closing svg { color: var(--brand-400); margin-bottom: .5rem; }
.approach__closing p {
	margin: 0;
	font-size: var(--fs-lg); font-weight: 600;
	color: var(--brand-deep);
	line-height: 1.55;
}

/* ---------- 14. Islamic education ---------------------------------------- */

.islamic__grid {
	display: grid; gap: clamp(2rem, 5vw, 3.5rem);
	grid-template-columns: 1fr;
	align-items: start;
}
.islamic__text { font-size: var(--fs-md); margin-bottom: 1.75rem; }

.islamic__topics {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--r-lg);
	backdrop-filter: blur(4px);
}
.islamic__topics-title {
	display: flex; align-items: center; gap: .55rem;
	margin: 0 0 1.15rem;
	font-size: var(--fs-md); color: #fff;
}

.topic-list { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.topic {
	display: flex; align-items: center; gap: .5rem;
	padding: .55rem .75rem;
	background: rgba(255, 255, 255, .07);
	border-radius: var(--r-sm);
	font-size: var(--fs-sm);
	color: rgba(255, 255, 255, .92);
}
.topic svg { flex: none; color: #7BE8DC; }

/* ---------- 15. Campus --------------------------------------------------- */

.campus__layout { display: grid; gap: var(--gap); grid-template-columns: 1fr; }

.campus__hero { margin: 0; position: relative; }
.campus__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-2); }

.campus__addr {
	position: absolute; bottom: 14px; inset-inline-start: 14px; inset-inline-end: 14px;
	display: flex; align-items: center; gap: .5rem;
	padding: .7rem 1rem;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(6px);
	border-radius: var(--r);
	font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
}
.campus__addr svg { flex: none; color: var(--brand-deep); }

.campus__strip { display: grid; gap: .75rem; grid-template-columns: repeat(4, 1fr); }
.campus__thumb { display: block; overflow: hidden; border-radius: var(--r); }
.campus__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s var(--ease); }
.campus__thumb:hover img { transform: scale(1.07); }

.campus__text { font-size: var(--fs-md); margin-bottom: 1.5rem; }
.campus__fac-title { font-size: var(--fs-md); margin-bottom: .9rem; }

.facilities { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 1.75rem; }
.facilities--wide { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.facility {
	display: flex; align-items: center; gap: .65rem;
	padding: .7rem .85rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-sm);
	font-size: var(--fs-sm); color: var(--ink);
}
.facility__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--brand-050); color: var(--brand-deep); }

.campus-list { display: grid; gap: clamp(2rem, 5vw, 3.5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.campus-row { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: center; }
.campus-row__media { margin: 0; }
.campus-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.campus-row__title { font-size: var(--fs-xl); }
.campus-row__text { color: var(--muted); font-size: var(--fs-sm); margin-block: 1rem; }
.campus-row__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.fac-block { padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.fac-block__title { font-size: var(--fs-xl); margin-bottom: 1.25rem; }

.campus-single { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: start; }
.campus-single__map { margin-top: 2rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.campus-single__map iframe { display: block; width: 100%; height: 380px; }

/* ---------- 16. Admission ------------------------------------------------ */

.admission { position: relative; overflow: hidden; color: #fff; }
.admission__bg {
	position: absolute; inset: 0;
	background-image: var(--adm-bg, none);
	background-size: cover; background-position: center;
	background-color: var(--brand-deep);
}
.admission__bg::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(115deg, rgba(0, 82, 76, .95) 0%, rgba(0, 102, 94, .88) 45%, rgba(0, 134, 124, .82) 100%);
}

.admission__inner {
	position: relative; z-index: 1;
	display: grid; gap: clamp(2rem, 5vw, 3.5rem);
	grid-template-columns: 1fr;
	align-items: center;
}

.admission__title { font-size: var(--fs-2xl); color: #fff; margin: 0 0 .75rem; text-wrap: balance; }
.admission__text { font-size: var(--fs-md); color: rgba(255, 255, 255, .9); margin-bottom: 1.75rem; }
.admission__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.admission__steps {
	padding: clamp(1.5rem, 3.5vw, 2.25rem);
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--r-lg);
	backdrop-filter: blur(6px);
}
.admission__steps-title { color: #fff; font-size: var(--fs-lg); margin-bottom: 1.25rem; }

.steps { display: grid; gap: 1rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; position: relative; }
.step:not(:last-child)::after {
	content: "";
	position: absolute; inset-inline-start: 21px; top: 46px; bottom: -14px;
	width: 2px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent);
}
.step__num {
	display: grid; place-items: center; flex: none;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .3);
	font-family: var(--font-en); font-weight: 700; font-size: var(--fs-sm);
	color: #fff;
}
.step__title { margin: .35rem 0 .15rem; font-size: var(--fs-md); color: #fff; }
.step__text { margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .82); }

/* Light variant used on the Admissions page */
.steps--flow .step__num { background: var(--brand-050); border-color: var(--brand-200); color: var(--brand-deep); }
.steps--flow .step__title { color: var(--ink); }
.steps--flow .step__text { color: var(--muted); }
.steps--flow .step:not(:last-child)::after { background: linear-gradient(180deg, var(--brand-200), transparent); }

/* ---------- 17. News, notices, events ------------------------------------ */

.news__layout { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; }

.news__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: .75rem;
	border-bottom: 1px solid var(--line);
}
.col-title { font-size: var(--fs-lg); margin: 0; }
.col-title--lg { font-size: var(--fs-xl); margin-bottom: 1.5rem; }
.col-title--spaced { margin-top: clamp(2.5rem, 5vw, 4rem); }
.col-link { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }

.news__grid, .events__grid, .archive-grid {
	display: grid; gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.post-card, .event-card {
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.post-card:hover, .event-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

.post-card__media, .event-card__media { display: block; position: relative; overflow: hidden; }
.post-card__media img, .event-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s var(--ease); }
.post-card:hover .post-card__media img, .event-card:hover .event-card__media img { transform: scale(1.05); }

.post-card__body, .event-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.3rem; }

.post-card__date, .notice-card__date {
	display: inline-flex; align-items: center; gap: .35rem;
	font-size: var(--fs-xs); color: var(--muted); font-weight: 500;
	margin-bottom: .55rem;
}
.post-card__title, .event-card__title { font-size: var(--fs-md); margin: 0 0 .5rem; line-height: 1.4; }
.post-card__title a, .event-card__title a { color: var(--ink); }
.post-card__title a:hover, .event-card__title a:hover { color: var(--brand-deep); }

.post-card__text, .event-card__text { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 1rem; }

.post-card__link, .event-card__link {
	display: inline-flex; align-items: center; gap: .35rem;
	margin-top: auto;
	font-size: var(--fs-sm); font-weight: 600; color: var(--brand-deep);
}
.post-card__link svg, .event-card__link svg { transition: transform .18s var(--ease); }
.post-card__link:hover svg, .event-card__link:hover svg { transform: translateX(3px); }

.event-card__chip {
	position: absolute; top: 12px; inset-inline-start: 12px;
	display: grid; place-items: center;
	min-width: 54px; padding: .45rem .55rem;
	background: rgba(255, 255, 255, .95);
	border-radius: var(--r-sm);
	line-height: 1.1; text-align: center;
	box-shadow: var(--sh-1);
}
.event-card__chip strong { font-size: 1.15rem; color: var(--brand-deep); }
.event-card__chip span { font-family: var(--font-en); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.event-card__meta { display: grid; gap: .3rem; margin: 0 0 .75rem; }
.event-card__meta li { display: flex; align-items: flex-start; gap: .4rem; font-size: var(--fs-xs); color: var(--muted); }
.event-card__meta svg { flex: none; margin-top: 2px; color: var(--brand-deep); }

.event-feature {
	display: grid; gap: 0; grid-template-columns: 1fr;
	margin-bottom: clamp(2rem, 4vw, 3rem);
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--sh-1);
}
.event-feature__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.event-feature__body { padding: clamp(1.5rem, 3vw, 2.5rem); }
.event-feature__title { font-size: var(--fs-xl); margin: .75rem 0 .75rem; }
.event-feature__title a { color: var(--ink); }
.event-feature__text { color: var(--muted); margin-bottom: 1.5rem; }

.notice-list { display: grid; gap: .25rem; }
.notice-item {
	display: flex; gap: .8rem; align-items: flex-start;
	padding: .85rem .9rem;
	border-radius: var(--r-sm);
	transition: background .18s var(--ease);
}
.notice-item:hover { background: var(--brand-050); }
.notice-item__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-050); color: var(--brand-deep); }
.notice-item.is-urgent .notice-item__icon { background: #FDF0E7; color: #B45309; }
.notice-item__title { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.5; }
.notice-item__title:hover { color: var(--brand-deep); }
.notice-item__date { font-size: var(--fs-xs); color: var(--muted); }

.notice-card {
	display: flex; gap: 1rem; align-items: flex-start;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.notice-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.notice-card__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--brand-050); color: var(--brand-deep); }
.notice-card.is-urgent .notice-card__icon { background: #FDF0E7; color: #B45309; }
.notice-card__body { flex: 1; min-width: 0; }
.notice-card__title { font-size: var(--fs-md); margin: .2rem 0 .4rem; }
.notice-card__title a { color: var(--ink); }
.notice-card__text { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.notice-card__file { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--brand-deep); }
.notice-card__file:hover { background: var(--brand); color: #fff; }

/* ---------- 18. Gallery -------------------------------------------------- */

.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter--center { justify-content: center; }
.filter__btn {
	padding: .5rem 1.1rem;
	border-radius: var(--r-pill);
	border: 1px solid var(--line);
	background: #fff;
	font-size: var(--fs-sm); font-weight: 600; color: var(--muted);
	transition: all .18s var(--ease);
}
.filter__btn:hover { border-color: var(--brand); color: var(--brand-deep); }
.filter__btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.masonry { columns: 1; column-gap: var(--gap); }

.tile { break-inside: avoid; margin: 0 0 var(--gap); }
.tile[hidden] { display: none; }
.tile > a { display: block; position: relative; border-radius: var(--r); overflow: hidden; }
.tile img { width: 100%; transition: transform .35s var(--ease); }
.tile > a:hover img { transform: scale(1.05); }
.tile > a::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(6, 30, 28, .78) 100%);
	opacity: 0; transition: opacity .25s var(--ease);
}
.tile > a:hover::after, .tile > a:focus-visible::after { opacity: 1; }

.tile__cap {
	position: absolute; z-index: 2;
	inset-inline: 0; bottom: 0;
	padding: 1rem;
	color: #fff; font-size: var(--fs-sm); font-weight: 600;
	opacity: 0; transform: translateY(8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.tile > a:hover .tile__cap, .tile > a:focus-visible .tile__cap { opacity: 1; transform: translateY(0); }

.tile__play {
	position: absolute; z-index: 2; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	display: grid; place-items: center;
	width: 62px; height: 62px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--brand-deep);
	box-shadow: var(--sh-2);
	transition: transform .22s var(--ease);
}
.tile > a:hover .tile__play { transform: translate(-50%, -50%) scale(1.08); }

/* Lightbox */
.lb {
	position: fixed; inset: 0; z-index: 200;
	display: grid; place-items: center;
	padding: clamp(1rem, 4vw, 3rem);
	background: rgba(6, 20, 24, .93);
	backdrop-filter: blur(6px);
}
.lb[hidden] { display: none; }
.lb__stage { max-width: min(1100px, 100%); max-height: 100%; }
.lb__stage img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--r); box-shadow: var(--sh-2); }
.lb__stage iframe { width: min(960px, 88vw); aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); }
.lb__cap { margin-top: 1rem; text-align: center; color: rgba(255, 255, 255, .85); font-size: var(--fs-sm); }
.lb__btn {
	position: absolute;
	display: grid; place-items: center;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	transition: background .18s var(--ease);
}
.lb__btn:hover { background: rgba(255, 255, 255, .26); }
.lb__close { top: 18px; inset-inline-end: 18px; }
.lb__prev { top: 50%; inset-inline-start: 14px; transform: translateY(-50%); }
.lb__next { top: 50%; inset-inline-end: 14px; transform: translateY(-50%); }

/* ---------- 19. Testimonials --------------------------------------------- */

.testi__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.testi-card {
	position: relative;
	margin: 0;
	padding: 2.25rem 1.75rem 1.75rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
}
.testi-card__quote { position: absolute; top: 1.25rem; inset-inline-end: 1.5rem; color: var(--brand-100); }
.testi-card__text { margin: 0 0 1.5rem; font-size: var(--fs-md); color: var(--ink-2); font-style: italic; }
.testi-card__text p:last-child { margin-bottom: 0; }
.testi-card__who { display: flex; align-items: center; gap: .8rem; padding-top: 1.15rem; border-top: 1px solid var(--line-soft); }
.testi-card__avatar img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-card__names { display: flex; flex-direction: column; line-height: 1.4; }
.testi-card__names strong { color: var(--ink); font-size: var(--fs-sm); }
.testi-card__names span { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 20. FAQ accordion -------------------------------------------- */

.accordion { display: grid; gap: .65rem; }

.accordion__item {
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r);
	overflow: hidden;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.accordion__item.is-open { border-color: var(--brand-200); box-shadow: var(--sh-1); }
.accordion__heading { margin: 0; }
.accordion__btn {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	width: 100%;
	padding: 1.15rem 1.25rem;
	text-align: start;
	font-size: var(--fs-md); font-weight: 600; color: var(--ink);
	line-height: 1.5;
}
.accordion__btn:hover { color: var(--brand-deep); }
.accordion__sign { flex: none; color: var(--brand-deep); transition: transform .25s var(--ease); }
.accordion__item.is-open .accordion__sign { transform: rotate(45deg); }
.accordion__panel { padding: 0 1.25rem 1.25rem; }
.accordion__content { font-size: var(--fs-sm); color: var(--muted); }

.faq__more { margin-top: 1.75rem; text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.faq__more a { font-weight: 700; }

/* ---------- 21. Contact -------------------------------------------------- */

.contact__campuses { display: grid; gap: var(--gap); margin-bottom: clamp(2rem, 4vw, 3rem); }

.campus-contact {
	display: grid; grid-template-columns: 1fr;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--sh-1);
}
.campus-contact__info { padding: clamp(1.5rem, 3vw, 2.25rem); }
.campus-contact__title { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-lg); margin-bottom: 1.25rem; }
.campus-contact__title svg { color: var(--brand-deep); }
.campus-contact__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.campus-contact__map { min-height: 260px; background: var(--surface-2); }
.campus-contact__map iframe { display: block; width: 100%; height: 100%; min-height: 260px; }

.contact-list { display: grid; gap: 1rem; }
.contact-list--compact { gap: .75rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--brand-050); color: var(--brand-deep); }
.contact-list__body { display: flex; flex-direction: column; gap: .1rem; font-size: var(--fs-sm); color: var(--ink-2); }
.contact-list__label { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.contact-list__phones { display: flex; flex-direction: column; gap: .1rem; font-weight: 600; }
.contact-list--light .contact-list__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.contact-list--light .contact-list__body,
.contact-list--light a { color: rgba(255, 255, 255, .92); }
.contact-list--light .contact-list__label { color: rgba(255, 255, 255, .68); }

.map-empty { display: grid; place-items: center; gap: .5rem; height: 100%; min-height: 260px; padding: 2rem; color: var(--muted); text-align: center; }
.map-empty svg { color: var(--brand-200); }

.contact__form-wrap {
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
}
.contact__form-title { font-size: var(--fs-lg); margin-bottom: 1.25rem; }

.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.field { margin: 0 0 1rem; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.req { color: #C2410C; }

.field input, .field textarea, .search-form__input {
	width: 100%;
	padding: .8rem 1rem;
	font: inherit; font-size: var(--fs-sm);
	color: var(--ink);
	background: var(--surface-3);
	border: 1.5px solid var(--line);
	border-radius: var(--r-sm);
	transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus, .search-form__input:focus {
	outline: none;
	background: #fff;
	border-color: var(--brand);
	box-shadow: 0 0 0 4px var(--brand-100);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--submit { margin-top: .5rem; }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.search-form { display: flex; gap: .5rem; }
.search-form__btn {
	display: grid; place-items: center;
	flex: none; width: 50px;
	border-radius: var(--r-sm);
	background: var(--brand); color: #fff;
}
.search-form__btn:hover { background: var(--brand-deep); }

/* ---------- 22. Page hero, prose, single --------------------------------- */

.page-hero {
	position: relative;
	padding-block: clamp(2.75rem, 6vw, 4.5rem);
	background: var(--surface-2);
	overflow: hidden;
}
.page-hero.has-image { color: #fff; background-color: var(--brand-deep); }
.page-hero.has-image::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--hero-bg);
	background-size: cover; background-position: center;
}
.page-hero.has-image::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(6, 30, 28, .68), rgba(6, 30, 28, .82));
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero__title { font-size: var(--fs-2xl); margin: .5rem 0 0; text-wrap: balance; }
.page-hero.has-image .page-hero__title { color: #fff; }
.page-hero__sub { margin: .65rem 0 0; max-width: 62ch; font-size: var(--fs-md); color: var(--muted); }
.page-hero.has-image .page-hero__sub { color: rgba(255, 255, 255, .85); }

.crumbs { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-deep); }
.page-hero.has-image .crumbs, .page-hero.has-image .crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs svg { opacity: .5; }

.prose { font-size: var(--fs-md); color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 1.8em; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.6em; }
.prose ul { list-style: disc; padding-inline-start: 1.35em; }
.prose ol { list-style: decimal; padding-inline-start: 1.35em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--r); }
.prose blockquote {
	margin: 0; padding: 1rem 1.35rem;
	border-inline-start: 3px solid var(--brand);
	background: var(--brand-050);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	font-style: italic; color: var(--ink);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: start; }
.prose th { background: var(--surface-2); color: var(--ink); font-weight: 600; }

.single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.5rem; font-size: var(--fs-xs); color: var(--muted); }
.single__meta time { display: inline-flex; align-items: center; gap: .35rem; }
.single__terms { display: flex; gap: .35rem; flex-wrap: wrap; }

.event-facts { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 1.75rem; padding: 1.15rem; background: var(--surface-2); border-radius: var(--r); }
.event-facts li { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink); font-weight: 600; }
.event-facts svg { flex: none; color: var(--brand-deep); }
.event-facts__label { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.single__download { margin-top: 2rem; }

.post-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.post-nav__link { display: flex; align-items: center; gap: .6rem; max-width: 46%; font-size: var(--fs-sm); color: var(--ink); }
.post-nav__link--next { margin-inline-start: auto; text-align: end; }
.post-nav__link span { display: flex; flex-direction: column; }
.post-nav__link em { font-style: normal; font-size: var(--fs-xs); color: var(--muted); }
.post-nav__link:hover { color: var(--brand-deep); }
.post-nav__link svg { flex: none; color: var(--brand-deep); }

.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 2.5rem; }
.pagination a, .pagination span {
	display: inline-flex; align-items: center; gap: .3rem;
	min-width: 42px; height: 42px; padding: 0 .9rem;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	font-size: var(--fs-sm); font-weight: 600;
	color: var(--ink-2); background: #fff;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand-deep); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 23. Admissions page ------------------------------------------ */

.adm-status { background: var(--brand-deep); color: #fff; padding-block: 1.15rem; }
.adm-status__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.adm-status__inner p { margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .88); }
.adm-status__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-inline-start: auto; }
.adm-status .btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.adm-status .btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.adm-page { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: start; }
.adm-block { margin-top: clamp(2.25rem, 4vw, 3rem); }
.adm-block__title { font-size: var(--fs-xl); margin-bottom: 1rem; }
.adm-block__intro { color: var(--muted); margin-bottom: 1.25rem; }
.adm-block__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.check-list { display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); }
.check-list svg { flex: none; margin-top: 3px; color: var(--brand); }

.side-card {
	padding: 1.5rem 1.4rem;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	margin-bottom: var(--gap);
}
.side-card--brand { background: linear-gradient(155deg, var(--brand), var(--brand-deep)); border-color: transparent; color: rgba(255, 255, 255, .9); }
.side-card--brand .side-card__title { color: #fff; }
.side-card__title { font-size: var(--fs-md); margin-bottom: .9rem; }
.side-card__text { font-size: var(--fs-sm); margin-bottom: 1rem; }
.side-card__muted { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem; }
.side-card__phones { display: grid; gap: .5rem; margin-bottom: 1.15rem; }
.side-card__phones a { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 700; font-size: var(--fs-md); }
.side-card .btn--full + .btn--full { margin-top: .5rem; }

.download-list { display: grid; gap: .4rem; }
.download-list a { display: flex; align-items: center; gap: .55rem; padding: .6rem .7rem; border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--ink-2); }
.download-list a:hover { background: var(--brand-050); color: var(--brand-deep); }

/* ---------- 24. Footer --------------------------------------------------- */

.site-footer {
	padding-top: clamp(3rem, 6vw, 4.5rem);
	background: #0E2B29;
	color: rgba(255, 255, 255, .72);
	font-size: var(--fs-sm);
}

.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; }

.brand--footer { margin-bottom: 1rem; }
.brand--footer .brand__name { color: #fff; }
.footer-about { max-width: 42ch; margin-bottom: 1.5rem; }

.footer-col__title { font-size: var(--fs-sm); color: #fff; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em; }

.footer-menu { display: grid; gap: .55rem; }
.footer-menu a { color: rgba(255, 255, 255, .72); display: inline-block; }
.footer-menu a:hover { color: #7BE8DC; transform: translateX(3px); transition: transform .18s var(--ease), color .18s var(--ease); }

.footer-contact { display: grid; gap: .85rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 3px; color: #7BE8DC; }
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: #7BE8DC; }

.social { margin-top: 1.5rem; }
.social__label { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; color: rgba(255, 255, 255, .5); }
.social__links { display: flex; gap: .5rem; }
.social__links a {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .09);
	color: #fff;
	transition: background .18s var(--ease), transform .18s var(--ease);
}
.social__links a:hover { background: var(--brand); transform: translateY(-2px); }

.footer-widgets { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); }

.footer-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-block: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: var(--fs-xs);
}
.copyright { margin: 0; }
.legal-menu { display: flex; gap: 1.25rem; }
.legal-menu a { color: rgba(255, 255, 255, .6); }
.legal-menu a:hover { color: #7BE8DC; }

/* ---------- 25. Floating actions ----------------------------------------- */

.mobile-bar {
	position: fixed; z-index: 95;
	inset-inline: 0; bottom: 0;
	display: none;
	background: #fff;
	border-top: 1px solid var(--line);
	box-shadow: 0 -4px 20px rgba(25, 42, 61, .1);
	padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__item {
	flex: 1;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
	min-height: 62px; padding: .5rem .35rem;
	font-size: .6875rem; font-weight: 600;
	color: var(--ink-2);
	text-align: center;
	line-height: 1.3;
}
.mobile-bar__item svg { color: var(--brand-deep); }
.mobile-bar__item--cta { background: var(--brand); color: #fff; }
.mobile-bar__item--cta svg { color: #fff; }

.whatsapp-float {
	position: fixed; z-index: 94;
	inset-inline-end: 18px; bottom: 18px;
	display: grid; place-items: center;
	width: 54px; height: 54px;
	border-radius: 50%;
	background: #25D366; color: #fff;
	box-shadow: 0 8px 24px rgba(37, 211, 102, .38);
	transition: transform .2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.07); color: #fff; }

.to-top {
	position: fixed; z-index: 93;
	inset-inline-end: 18px; bottom: 82px;
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: #fff; color: var(--brand-deep);
	border: 1px solid var(--line);
	box-shadow: var(--sh-1);
	transform: rotate(90deg);
}
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 26. 404 ------------------------------------------------------ */

.error-404 { text-align: center; }
.error-404__code { font-family: var(--font-en); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; color: var(--brand-100); margin: 0; }
.error-404__title { font-size: var(--fs-2xl); margin-top: -.25em; }
.error-404__text { color: var(--muted); margin-bottom: 2rem; }
.error-404__search { max-width: 460px; margin: 0 auto 2rem; }
.error-404__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------- 27. Reveal animation ----------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .55s var(--ease), transform .55s var(--ease);
	transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.no-js .reveal, .reveal.is-static { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
}

/* ---------- 28. Breakpoints ---------------------------------------------- */

@media (max-width: 1023px) {

	.site-nav {
		position: fixed; z-index: 89;
		top: 0; bottom: 0; inset-inline-end: 0;
		width: min(360px, 88vw);
		display: flex; flex-direction: column;
		padding: 1.25rem;
		background: #fff;
		box-shadow: -8px 0 40px rgba(25, 42, 61, .18);
		transform: translateX(105%);
		transition: transform .3s var(--ease);
		overflow-y: auto;
	}
	[dir="rtl"] .site-nav { transform: translateX(-105%); }
	.site-nav.is-open { transform: translateX(0); }

	.site-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
	.site-nav__title { font-weight: 700; color: var(--ink); }
	.nav-close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); color: var(--ink); }

	.nav-menu { display: block; }
	.nav-menu > li { border-bottom: 1px solid var(--line-soft); }
	.nav-menu > li > a { padding: .85rem .35rem; font-size: var(--fs-md); border-radius: 0; }
	.nav-menu > li > a:hover { background: none; }
	.menu-caret { display: none; }

	.nav-menu li.has-dropdown { position: relative; }
	.submenu-toggle {
		display: grid; place-items: center;
		position: absolute; top: 4px; inset-inline-end: 0;
		width: 44px; height: 44px;
		color: var(--muted);
		transition: transform .22s var(--ease);
	}
	.nav-menu li.is-open > .submenu-toggle { transform: rotate(180deg); color: var(--brand-deep); }

	.sub-menu {
		position: static;
		opacity: 1; visibility: visible; transform: none;
		display: none;
		min-width: 0; padding: 0 0 .6rem .9rem;
		border: 0; box-shadow: none;
		background: none;
	}
	.nav-menu li.is-open > .sub-menu { display: block; }
	.sub-menu a { padding: .5rem .35rem; }

	.site-nav__foot { display: grid; gap: .75rem; margin-top: auto; padding-top: 1.5rem; }
	.nav-hotline {
		display: flex; align-items: center; justify-content: center; gap: .5rem;
		padding: .8rem;
		background: var(--brand-050);
		border-radius: var(--r-sm);
		font-weight: 700; color: var(--brand-deep);
	}
	.site-header__actions .lang-switch { display: none; }

	.nav-toggle { display: flex; }

	.header-ticker__link { margin-inline-start: 0; }

	body.has-sticky-apply { padding-bottom: 62px; }
	body.has-sticky-apply .whatsapp-float { bottom: 76px; }
	body.has-sticky-apply .to-top { bottom: 140px; }
	.mobile-bar { display: flex; }
}

@media (max-width: 600px) {
	.brand__tag { display: none; }
	.brand__name { font-size: .95rem; max-width: 150px; line-height: 1.25; }
	.btn--apply span:not(.btn__dot) { display: none; }
	.btn--apply { min-height: 46px; width: 46px; padding: 0; }
	.btn--apply .btn__dot { width: 10px; height: 10px; }
	.campus__strip { grid-template-columns: repeat(2, 1fr); }
	.header-ticker__text { display: none; }
	.post-nav__link { max-width: 100%; }
}

@media (min-width: 600px) {
	.masonry { columns: 2; }
	.form-row { grid-template-columns: 1fr 1fr; }
	.vm__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
	.event-feature { grid-template-columns: 1.1fr 1fr; }
	.campus-contact { grid-template-columns: 1fr 1fr; }
	.campus-row { grid-template-columns: 1fr 1fr; }
	.campus-row.is-flipped .campus-row__media { order: 2; }
}

@media (min-width: 1024px) {
	.site-nav { margin-inline-start: auto; }
	.about__grid { grid-template-columns: 1fr 1fr; }
	.islamic__grid { grid-template-columns: 1.05fr 1fr; }
	.admission__inner { grid-template-columns: 1.1fr .9fr; }
	.news__layout { grid-template-columns: 1.6fr 1fr; }
	.adm-page { grid-template-columns: 1.7fr 1fr; }
	.campus-single { grid-template-columns: 1.7fr 1fr; }
	.masonry { columns: 3; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }

	.campus__layout { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; }
	.campus__hero { grid-column: 1; grid-row: 1; }
	.campus__strip { grid-column: 1; grid-row: 2; grid-template-columns: repeat(4, 1fr); }
	.campus__body { grid-column: 2; grid-row: 1 / span 2; }

	/* Approach: ring layout around a brand core */
	.approach__diagram { padding-block: 1rem; }
	.approach__core { display: grid; }
	.approach__list { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
	.approach__list::before {
		content: "";
		position: absolute; top: 50%; inset-inline: 8%;
		height: 2px;
		background: linear-gradient(90deg, transparent, var(--brand-200) 18%, var(--brand-200) 82%, transparent);
		z-index: 0;
	}
	.pillar { position: relative; z-index: 1; }
}

@media (min-width: 1280px) {
	.hero__title { font-size: 3.4rem; }
}

/* ---------- 29. Print ---------------------------------------------------- */

@media print {
	.site-header, .site-footer, .mobile-bar, .whatsapp-float, .to-top, .hero__scroll, .nav-scrim { display: none !important; }
	body { color: #000; }
	.section { padding-block: 1rem; }
	a[href]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}
