/*
Theme Name: Barakah
Theme URI: https://bismangalore.com
Description: Custom theme for Barakah International School & College, Mangaluru. Colours taken from the school logo: sky blue, sunshine yellow and leaf green.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: barakah
*/

:root {
	/* Logo colours */
	--blue: #1689c4;
	--blue-deep: #0a3d62;
	--blue-ink: #0d6e9f;      /* blue dark enough for text on white */
	--blue-soft: #e8f4fb;
	--yellow: #f5c400;
	--yellow-soft: #fff7d6;
	--green: #8db31c;
	--green-ink: #557a07;     /* green dark enough for text on white */
	--green-soft: #f1f7e1;
	/* Neutrals */
	--ink: #1e2a33;
	--muted: #5a6872;
	--line: #e2e8ec;
	--paper: #ffffff;
	--cloud: #f6f9fb;
	--radius: 16px;
	--shadow: 0 12px 34px rgba(10, 61, 98, .10);
	--shadow-lg: 0 24px 60px rgba(10, 61, 98, .18);
	--stripe: linear-gradient(90deg, var(--blue) 0 33.3%, var(--yellow) 33.3% 66.6%, var(--green) 66.6% 100%);
	--font-head: "Barlow", "DIN Next", "D-DIN", "Arial Narrow", system-ui, sans-serif; /* DIN-style, matches the logo lettering */
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--blue-deep);
	line-height: 1.2;
	margin: 1.6em 0 .6em;
	font-weight: 700;
	letter-spacing: 0;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 14px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(60px, 8vw, 104px) 0; position: relative; }
.section--cloud { background: var(--cloud); }
.section--blue { background: var(--blue-deep); color: #d8e7f1; }
.section--blue h2, .section--blue h3 { color: #fff; }
.stripe { height: 5px; background: var(--stripe); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
	color: var(--blue-ink);
}
.eyebrow::before {
	content: ""; width: 34px; height: 6px; border-radius: 3px; background: var(--stripe);
}
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head h2 { margin-top: .35em; margin-bottom: .3em; }
.section-head p { color: var(--muted); margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.hl-blue { color: var(--blue); }
.hl-green { color: var(--green-ink); }
.hl-yellow { background: linear-gradient(transparent 62%, var(--yellow) 62% 92%, transparent 92%); padding: 0 .1em; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 26px; border-radius: 999px;
	font-weight: 800; font-size: .95rem; text-decoration: none; letter-spacing: .01em;
	border: 2px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 20px rgba(245, 196, 0, .35); }
.btn--yellow:hover { background: #ffd21f; color: var(--ink); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(22, 137, 196, .3); }
.btn--blue:hover { background: var(--blue-ink); color: #fff; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: #9cc522; color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--blue-deep); }
.btn--outline { border-color: var(--blue); color: var(--blue-ink); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.link-arrow { font-weight: 800; text-decoration: none; color: var(--blue-ink); }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 5px; }

/* Top bar */
.topbar { background: var(--blue-deep); color: #c9dbe8; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--yellow); }
.topbar__contact, .topbar__links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__contact span { color: var(--yellow); margin-right: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); box-shadow: 0 2px 18px rgba(10, 61, 98, .06); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--stripe); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.site-logo img { height: 60px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 14px; color: var(--blue-deep); font-weight: 700; font-size: .95rem; text-decoration: none; border-radius: 10px; }
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .2s ease; }
.main-nav > ul > .current-menu-item > a::before, .main-nav > ul > .current-menu-ancestor > a::before { transform: scaleX(1); }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { color: var(--blue-ink); background: var(--blue-soft); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 7px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px;
	background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--blue);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: .18s ease;
}
.main-nav .sub-menu a { font-weight: 600; font-size: .92rem; }
.main-nav .sub-menu .sub-menu { top: -8px; left: 100%; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; background: var(--blue-soft); border: 0; padding: 10px 11px; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blue-deep); margin: 5px 0; transition: .2s; }

@media (max-width: 1100px) {
	/* The blur effect would trap the fixed drawer inside the header, so turn it off on small screens. */
	.site-header { backdrop-filter: none; background: #fff; }
	.nav-toggle { display: block; }
	.header-cta { display: none; }

	.main-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
		width: min(88vw, 380px); height: 100vh; height: 100dvh; margin: 0; padding: 0;
		display: flex; flex-direction: column; background: #fff;
		box-shadow: -20px 0 50px rgba(10, 61, 98, .25);
		transform: translateX(105%); visibility: hidden;
		transition: transform .3s ease, visibility 0s linear .3s;
	}
	.nav-open .main-nav { transform: none; visibility: visible; transition: transform .3s ease; }
	.nav-overlay { position: fixed; inset: 0; z-index: 999; background: rgba(6, 30, 48, .55); }
	.nav-overlay[hidden] { display: none; }
	body.nav-open { overflow: hidden; }

	.main-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 4px solid transparent; border-image: var(--stripe) 1; }
	.main-nav__head span { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--blue-deep); }
	.nav-close { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--blue-soft); color: var(--blue-deep); font-size: 1.7rem; line-height: 1; cursor: pointer; }
	.nav-close:hover { background: var(--yellow); }

	.main-nav > ul { flex: 1; overflow-y: auto; flex-direction: column; gap: 0; padding: 10px 12px; }
	.main-nav > ul > li { border-bottom: 1px solid var(--line); }
	.main-nav > ul > li:last-child { border-bottom: 0; }
	.main-nav a { padding: 14px 12px; font-size: 1.02rem; border-radius: 10px; }
	.main-nav > ul > li > a::before { display: none; }
	.main-nav .current-menu-item > a { background: var(--blue-soft); color: var(--blue-ink); }

	/* Submenus become accordions. */
	.main-nav .menu-item-has-children { position: relative; }
	.main-nav .menu-item-has-children > a { padding-right: 56px; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.sub-toggle { position: absolute; right: 4px; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--cloud); cursor: pointer; display: grid; place-items: center; }
	.sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--blue-deep); border-bottom: 2px solid var(--blue-deep); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
	.sub-open > .sub-toggle { background: var(--yellow); }
	.sub-open > .sub-toggle::before { transform: rotate(-135deg) translate(-2px, -2px); }
	.main-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0;
		min-width: 0; padding: 0 0 8px 14px; margin-left: 12px; border-left: 3px solid var(--yellow); display: none;
	}
	.main-nav .sub-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { padding: 10px 12px; font-size: .96rem; font-weight: 600; }

	.main-nav__foot { display: grid; gap: 10px; padding: 16px 20px 22px; border-top: 1px solid var(--line); background: var(--cloud); }
	.main-nav__foot .btn { display: flex; justify-content: center; padding: 14px 20px; border-radius: 999px; font-size: .98rem; font-weight: 800; }
	.main-nav__foot .btn--yellow { color: var(--ink); background: var(--yellow); }
	.main-nav__foot .btn--outline { color: var(--blue-ink); background: #fff; }
}
@media (min-width: 1101px) {
	.main-nav__head, .main-nav__foot, .nav-overlay, .sub-toggle { display: none !important; }
}
@media (max-width: 640px) {
	.topbar__links { display: none; }
	.site-logo img { height: 46px; }
	.site-header .wrap { min-height: 74px; }

}

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; height: clamp(620px, 86vh, 780px); overflow: hidden; background: var(--blue-deep); color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s ease-out; }
.slide.is-active .slide__img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(10, 61, 98, .94) 0%, rgba(10, 61, 98, .78) 38%, rgba(10, 61, 98, .15) 75%), linear-gradient(0deg, rgba(10, 61, 98, .55) 0%, transparent 35%); }
.slide__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 40px 0 170px; }
.slide__body > * { max-width: 640px; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.slide.is-active .slide__body > * { opacity: 1; transform: none; }
.slide.is-active .slide__body > :nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide__body > :nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide__body > :nth-child(4) { transition-delay: .45s; }
.slide .eyebrow { color: var(--yellow); }
.slide h1, .slide h2 { color: #fff; margin: .35em 0 .4em; font-size: clamp(2.2rem, 5vw, 3.9rem); }
.slide h1 em, .slide h2 em { font-style: italic; color: var(--yellow); }
.slide p { font-size: 1.15rem; color: #dbe9f3; }
.slide__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.slider-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 92px; }
.slider-ui .wrap { display: flex; align-items: center; gap: 18px; }
.slider-dots { display: flex; gap: 10px; }
.slider-dots button { width: 34px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: .3s; }
.slider-dots button:nth-child(3n+1).is-active { background: var(--blue); }
.slider-dots button:nth-child(3n+2).is-active { background: var(--yellow); }
.slider-dots button:nth-child(3n).is-active { background: var(--green); }
.slider-dots button.is-active { width: 58px; }
.slider-arrows { margin-left: auto; display: flex; gap: 10px; }
.slider-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: rgba(10, 61, 98, .35); color: #fff; font-size: 1.3rem; cursor: pointer; transition: .2s; }
.slider-arrows button:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.slider-count { font-weight: 800; letter-spacing: .1em; font-size: .85rem; color: #fff; }
.slider-count b { color: var(--yellow); font-size: 1.1rem; }
.slider-progress { position: absolute; z-index: 3; left: 0; bottom: 0; height: 5px; width: 100%; background: rgba(255, 255, 255, .15); }
.slider-progress span { display: block; height: 100%; width: 0; background: var(--stripe); background-size: 100vw 100%; }
@media (max-width: 760px) {
	.hero-slider { height: 700px; }
	.slide::after { background: linear-gradient(0deg, rgba(10, 61, 98, .96) 0%, rgba(10, 61, 98, .78) 60%, rgba(10, 61, 98, .4) 100%); }
	.slide__body { justify-content: flex-end; padding: 30px 0 140px; }
	.slide h1, .slide h2 { font-size: 2.05rem; }
	.slide p { font-size: 1rem; }
	.slide__actions .btn { padding: 12px 20px; font-size: .9rem; }
	.slider-ui { bottom: 76px; }
	.slider-dots { gap: 7px; }
	.slider-dots button { width: 18px; }
	.slider-dots button.is-active { width: 34px; }
	.slider-arrows button { width: 42px; height: 42px; }
	.slider-count { display: none; }
}

/* Quick tiles overlapping the slider */
.quick-tiles { position: relative; z-index: 5; margin-top: -60px; }
.quick-tiles .grid { gap: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.tile { display: flex; gap: 16px; align-items: flex-start; padding: 28px 26px; text-decoration: none; color: #fff; transition: filter .2s, transform .2s; min-height: 140px; }
.tile:hover { filter: brightness(1.06); color: #fff; }
.tile .tile__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); line-height: 0; opacity: 1; }
.tile__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile strong { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin-bottom: 2px; }
.tile div > span { font-size: .9rem; opacity: .9; line-height: 1.45; display: block; }
.tile--blue { background: var(--blue); }
.tile--yellow { background: var(--yellow); color: var(--ink); }
.tile--yellow:hover { color: var(--ink); }
.tile--yellow .tile__icon { background: rgba(30, 42, 51, .1); }
.tile--green { background: var(--green); color: var(--ink); }
.tile--green:hover { color: var(--ink); }
.tile--green .tile__icon { background: rgba(30, 42, 51, .1); }
.tile--deep { background: var(--blue-deep); }

/* Grids & cards */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s ease; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__media { position: relative; overflow: hidden; }
.card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--blue-soft); transition: transform .5s ease; }
.card:hover .card__img { transform: scale(1.05); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { margin: 0; font-size: 1.2rem; }
.card__body h3 a { color: var(--blue-deep); text-decoration: none; }
.card__body h3 a:hover { color: var(--blue-ink); }
.card__body p { color: var(--muted); margin: 0; font-size: .95rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 8px; }
.card__meta { font-size: .76rem; font-weight: 800; color: var(--green-ink); text-transform: uppercase; letter-spacing: .1em; }
.card__badge { position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.card__noimg { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-family: var(--font-head); font-size: 1.1rem; padding: 20px; text-align: center; }

/* Institution cards */
.inst-card { position: relative; border-radius: 22px; overflow: hidden; min-height: 400px; color: #fff; display: flex; align-items: flex-end; text-decoration: none; box-shadow: var(--shadow); }
.inst-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.inst-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 61, 98, 0) 15%, rgba(10, 61, 98, .95) 100%); }
.inst-card::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 6px; }
.inst-card--blue::before { background: var(--blue); }
.inst-card--green::before { background: var(--green); }
.inst-card:hover img { transform: scale(1.06); }
.inst-card__body { position: relative; z-index: 1; padding: 34px; }
.inst-card h3 { color: #fff; margin: 10px 0 10px; font-size: 1.75rem; }
.inst-card p { color: #dbe7f0; margin: 0 0 14px; }
.inst-card .tag { font-weight: 800; font-size: .74rem; padding: 5px 12px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; }
.inst-card--blue .tag { background: var(--blue); color: #fff; }
.inst-card--green .tag { background: var(--green); color: var(--ink); }
.inst-card .link-arrow { color: var(--yellow); }

/* Welcome split */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split__media { position: relative; padding: 0 28px 28px 0; }
.split__media .main-img { border-radius: 22px; width: 100%; aspect-ratio: 4/3.5; object-fit: cover; }
.split__media .sub-img { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.split__media .badge {
	position: absolute; left: -12px; top: 28px; background: var(--yellow); color: var(--ink);
	border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); font-weight: 800; line-height: 1.15; text-align: center;
}
.split__media .badge b { display: block; font-family: var(--font-head); font-size: 2rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0 30px; }
.fact { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--cloud); font-weight: 700; font-size: .95rem; color: var(--blue-deep); line-height: 1.35; }
.fact i { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.fact:nth-child(1) i { background: var(--blue); }
.fact:nth-child(2) i { background: var(--yellow); }
.fact:nth-child(3) i { background: var(--green); }
.fact:nth-child(4) i { background: var(--blue-deep); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media .badge { left: 8px; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 30px 26px; transition: .25s ease; }
.pillar:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.pillar__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.pillar__icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar:nth-child(1) .pillar__icon { background: var(--blue); color: #fff; }
.pillar:nth-child(2) .pillar__icon { background: var(--yellow); color: var(--ink); }
.pillar:nth-child(3) .pillar__icon { background: var(--green); color: var(--ink); }
.pillar:nth-child(4) .pillar__icon { background: #fff; color: var(--blue-deep); }
.pillar h3 { font-size: 1.15rem; margin: 0 0 8px; color: #fff; }
.pillar p { color: #b9cfdf; font-size: .94rem; margin: 0; }
.section--blue .section-head p { color: #b9cfdf; }
.section--blue .eyebrow { color: var(--yellow); }
.section--pattern { overflow: hidden; }
.section--pattern::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(22, 137, 196, .35), transparent 70%); }
.section--pattern::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(141, 179, 28, .25), transparent 70%); }
.section--pattern .wrap { position: relative; z-index: 1; }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Facilities */
.facility { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; }
.facility img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.facility::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10, 61, 98, .92) 100%); transition: .3s; }
.facility:hover img { transform: scale(1.07); }
.facility__body { position: relative; z-index: 1; padding: 24px; }
.facility__body h3 { color: #fff; margin: 0 0 6px; font-size: 1.3rem; }
.facility__body p { margin: 0; font-size: .92rem; color: #d6e5ef; max-height: 0; overflow: hidden; opacity: 0; transition: .35s ease; }
.facility:hover .facility__body p, .facility:focus .facility__body p { max-height: 120px; opacity: 1; }
.facility__num { display: inline-block; font-weight: 800; font-size: .75rem; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.facility:nth-child(3n+1) .facility__num { background: var(--blue); }
.facility:nth-child(3n+2) .facility__num { background: var(--yellow); color: var(--ink); }
.facility:nth-child(3n) .facility__num { background: var(--green); color: var(--ink); }
.facilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.facilities .facility:first-child { grid-row: span 2; min-height: 622px; }
@media (max-width: 960px) { .facilities { grid-template-columns: repeat(2, 1fr); } .facilities .facility:first-child { grid-row: auto; min-height: 300px; } }
@media (max-width: 600px) { .facilities { grid-template-columns: 1fr; } .facility__body p { max-height: none; opacity: 1; } }
@media (hover: none) { .facility__body p { max-height: none; opacity: 1; } }

/* News + notice board */
.news-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .news-layout { grid-template-columns: 1fr; } }
.notice { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.notice__head { background: var(--blue); color: #fff; padding: 18px 24px; display: flex; align-items: center; gap: 10px; }
.notice__head h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.notice__head span { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(245, 196, 0, .3); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(245, 196, 0, 0); } }
.notice ul { list-style: none; margin: 0; padding: 4px 24px; }
.notice li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px dashed var(--line); }
.notice li:first-child { border-top: 0; }
.notice__date { flex: none; width: 58px; text-align: center; border-radius: 12px; padding: 7px 0; line-height: 1.1; }
.notice li:nth-child(3n+1) .notice__date { background: var(--blue-soft); }
.notice li:nth-child(3n+2) .notice__date { background: var(--yellow-soft); }
.notice li:nth-child(3n) .notice__date { background: var(--green-soft); }
.notice__date b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--blue-deep); }
.notice__date small { font-size: .68rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.notice a { color: var(--blue-deep); font-weight: 700; text-decoration: none; line-height: 1.4; }
.notice a:hover { color: var(--blue-ink); }
.notice__foot { padding: 4px 24px 22px; }

/* Multi-image carousel */
.carousel { position: relative; }
.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 10px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3.3; background: var(--blue-soft); }
.carousel__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carousel__item::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.carousel__item:nth-child(3n+1)::after { background: var(--blue); }
.carousel__item:nth-child(3n+2)::after { background: var(--yellow); }
.carousel__item:nth-child(3n)::after { background: var(--green); }
.carousel__item:hover img { transform: scale(1.07); }
.carousel__item:hover::after { transform: scaleX(1); }
.carousel__nav { display: flex; gap: 10px; }
.carousel__nav button { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--blue); background: #fff; color: var(--blue-ink); font-size: 1.3rem; cursor: pointer; transition: .2s; }
.carousel__nav button:hover { background: var(--blue); color: #fff; }
@media (max-width: 960px) { .carousel__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 640px) { .carousel__track { grid-auto-columns: 72%; } }

/* Video feature */
.video-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.video-thumb { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); } /* hides YouTube letterbox bars */
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(10, 61, 98, .3); transition: .3s; }
.video-thumb:hover::after { background: rgba(10, 61, 98, .1); }
.video-thumb__play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(245, 196, 0, .3); transition: transform .3s; }
.video-thumb:hover .video-thumb__play { transform: scale(1.08); }
.video-thumb__play::before { content: ""; margin-left: 6px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--ink); }
.video-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.video-list a { display: flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; font-weight: 600; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); transition: .2s; }
.video-list a:hover { background: rgba(255, 255, 255, .14); color: var(--yellow); }
.video-list a::before { content: "▶"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; background: var(--yellow); color: var(--ink); }
@media (max-width: 900px) { .video-feature { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; border-radius: 26px; padding: clamp(36px, 6vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -90px; top: -150px; background: var(--yellow); opacity: .9; }
.cta-band::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: 140px; bottom: -150px; background: var(--green); opacity: .9; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #e3f1f9; }
.cta-band .btn { background: var(--blue-deep); color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--blue-deep); }

/* Page banner */
.page-banner { position: relative; background: var(--blue-deep); color: #fff; overflow: hidden; }
.page-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .3; }
.page-banner::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -180px; background: radial-gradient(circle, rgba(245, 196, 0, .45), transparent 70%); }
.page-banner .wrap { position: relative; z-index: 1; padding: clamp(52px, 7vw, 92px) 0; }
.page-banner h1 { color: #fff; margin: 10px 0 0; font-size: clamp(2rem, 4vw, 3rem); }
.page-banner h1::after { content: ""; display: block; width: 86px; height: 6px; border-radius: 3px; margin-top: 16px; background: var(--stripe); }
.breadcrumbs { font-size: .85rem; color: #c9dbe8; font-weight: 600; }
.breadcrumbs a { color: var(--yellow); text-decoration: none; }
.breadcrumbs span { margin: 0 6px; opacity: .6; }

/* Content */
.content-area { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 52px; }
.content-area--full { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 960px) { .content-area { grid-template-columns: 1fr; } }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { position: relative; padding-bottom: 14px; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 5px; border-radius: 3px; background: var(--stripe); }
.entry-content h3 { color: var(--blue-ink); }
.entry-content ul { padding-left: 0; list-style: none; }
.entry-content ul li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.entry-content ul li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.entry-content ul li:nth-child(3n+2)::before { background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-soft); }
.entry-content ul li:nth-child(3n)::before { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.entry-content ol { padding-left: 1.3em; }
.entry-content ol li::marker { color: var(--blue); font-weight: 800; }
.entry-content img { border-radius: 14px; }
.entry-content .wp-block-image { margin: 28px 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; border-radius: 12px; overflow: hidden; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.entry-content thead th, .entry-content tr:first-child th { background: var(--blue); color: #fff; }
.entry-content tr:nth-child(even) td { background: var(--cloud); }
.entry-content td a { font-weight: 700; }
.entry-content .wp-block-gallery { gap: 12px; margin: 28px 0; }
.entry-content .wp-block-gallery img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.entry-content .wp-block-gallery figure { overflow: hidden; border-radius: 12px; }
.entry-content .wp-block-gallery figure:hover img { transform: scale(1.06); }
.entry-content blockquote { margin: 28px 0; padding: 22px 28px; border-left: 5px solid var(--yellow); background: var(--yellow-soft); border-radius: 0 14px 14px 0; font-style: italic; }
.entry-content .wp-block-embed { margin: 28px 0; }
.entry-content .wp-block-embed iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 14px; }
.post-meta { color: var(--muted); font-size: .9rem; margin-bottom: 24px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.post-meta a { text-decoration: none; font-weight: 800; background: var(--green-soft); color: var(--green-ink); padding: 3px 12px; border-radius: 999px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.featured { border-radius: 18px; margin-bottom: 32px; width: 100%; max-height: 520px; object-fit: cover; }

.sidebar .widget { background: var(--cloud); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; border-top: 5px solid var(--blue); }
.sidebar .widget:nth-child(2) { border-top-color: var(--yellow); }
.sidebar .widget:nth-child(3) { border-top-color: var(--green); }
.sidebar h3 { margin: 0 0 12px; font-size: 1.15rem; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { border-top: 1px solid var(--line); }
.sidebar li:first-child { border-top: 0; }
.sidebar li a { display: block; padding: 9px 0; color: var(--blue-deep); text-decoration: none; font-weight: 600; font-size: .95rem; transition: padding .2s, color .2s; }
.sidebar li a:hover { color: var(--blue-ink); padding-left: 6px; }
.sidebar .widget--contact p { margin: 0 0 8px; font-size: .95rem; }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; font-weight: 700; max-width: 48%; }
.pagination { margin-top: 48px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--blue-deep); font-weight: 700; }
.pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue-ink); }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-tabs a { padding: 9px 20px; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; color: var(--blue-deep); font-weight: 700; font-size: .9rem; }
.filter-tabs a:hover { border-color: var(--blue); }
.filter-tabs a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.contact-card { background: var(--cloud); border-radius: var(--radius); padding: 30px; border-top: 5px solid var(--blue); }
.contact-card:nth-child(2) { border-top-color: var(--yellow); }
.contact-card:nth-child(3) { border-top-color: var(--green); }
.contact-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.contact-card p { margin: 0 0 6px; }
.contact-card a { text-decoration: none; font-weight: 700; }
.contact-card .footer-social a { border-color: var(--line); color: var(--blue-deep); }
.map-embed { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--blue-deep); color: #b8cddd; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; display: block; height: 6px; background: var(--stripe); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 0 48px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.site-footer h4::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.site-footer .wrap > div:nth-child(3) h4::before { background: var(--green); }
.site-footer .wrap > div:nth-child(4) h4::before { background: var(--blue); }
.site-footer a { color: #e2edf5; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-logo img { background: #fff; padding: 10px 12px; border-radius: 12px; height: 68px; width: auto; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: .2s; }
.footer-social a:nth-child(1):hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-social a:nth-child(2):hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.footer-social a:nth-child(3):hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .15); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; grid-template-columns: none; font-size: .85rem; flex-wrap: wrap; }
@media (max-width: 960px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(6, 30, 48, .94); z-index: 999; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox button:hover { background: var(--yellow); color: var(--ink); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; }
.lightbox__next { right: 20px; top: 50%; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
	.slide__img { transition: none; transform: none; }
}

.empty-state { text-align: center; padding: 48px 0; color: var(--muted); }
.alignwide { max-width: none; }
.has-text-align-center { text-align: center; }

/* Vision & Mission boxes on the About page */
.entry-content .vision-mission { gap: 22px; margin: 8px 0 40px; }
.entry-content .vm-box { position: relative; border-radius: var(--radius); padding: 30px 28px 26px; overflow: hidden; }
.entry-content .vm-box h3 { margin: 0 0 10px; font-size: 1.35rem; }
.entry-content .vm-box p { margin: 0; }
.entry-content .vm-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.entry-content .vm-box--vision { background: var(--blue-soft); }
.entry-content .vm-box--vision::before { background: var(--blue); }
.entry-content .vm-box--vision h3 { color: var(--blue-ink); }
.entry-content .vm-box--mission { background: var(--green-soft); }
.entry-content .vm-box--mission::before { background: var(--green); }
.entry-content .vm-box--mission h3 { color: var(--green-ink); }

/* ---------- About page ---------- */
.about-hero { position: relative; overflow: hidden; background: var(--blue-deep); color: #fff; }
.about-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.about-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 61, 98, .95) 0%, rgba(10, 61, 98, .8) 50%, rgba(10, 61, 98, .45) 100%); }
.about-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--stripe); }
.about-hero__inner { position: relative; z-index: 1; padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 84px); }
.about-hero h1 { color: #fff; margin: 14px 0 12px; font-size: clamp(2.5rem, 6vw, 4.4rem); }
.about-hero h1 em { color: var(--yellow); }
.about-hero p { max-width: 620px; font-size: 1.15rem; color: #d8e7f1; }
.about-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-jump a { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem; background: rgba(255, 255, 255, .06); transition: .2s; }
.about-jump a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
#who-we-are, #vision-mission, #our-story, #approach, #leadership { scroll-margin-top: 100px; }

.about-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-intro__media { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.about-intro__media img { width: 100%; aspect-ratio: 384/450; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.about-intro__media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 24px; background: var(--stripe); opacity: .9; }
.about-intro__badge { position: absolute; z-index: 2; right: -22px; bottom: 34px; background: #fff; border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow-lg); text-align: center; line-height: 1.1; border-bottom: 5px solid var(--yellow); }
.about-intro__badge b { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about-intro__badge strong { display: block; font-family: var(--font-head); font-size: 2.3rem; color: var(--blue-deep); }
.about-intro__badge span { font-size: .78rem; font-weight: 700; color: var(--green-ink); }
.about-lead { font-size: 1.15rem; color: var(--blue-deep); font-weight: 500; }
.about-quote { margin: 26px 0 0; padding: 18px 24px; border-left: 5px solid var(--yellow); background: var(--yellow-soft); border-radius: 0 14px 14px 0; font-family: var(--font-head); font-size: 1.25rem; font-style: italic; color: var(--blue-deep); }
@media (max-width: 900px) { .about-intro { grid-template-columns: 1fr; } .about-intro__badge { right: 8px; } }

.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(48px, 7vw, 80px); }
.about-fact { padding: 26px 24px; border-radius: var(--radius); color: #fff; }
.about-fact:nth-child(1) { background: var(--blue); }
.about-fact:nth-child(2) { background: var(--yellow); color: var(--ink); }
.about-fact:nth-child(3) { background: var(--green); color: var(--ink); }
.about-fact:nth-child(4) { background: var(--blue-deep); }
.about-fact strong { display: block; font-family: var(--font-head); font-size: 1.85rem; font-weight: 600; line-height: 1.15; margin-bottom: 6px; }
.about-fact span { font-size: .92rem; opacity: .92; }
@media (max-width: 900px) { .about-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .about-facts { grid-template-columns: 1fr; } }

.about-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-vm__card { position: relative; background: #fff; border-radius: 22px; padding: clamp(32px, 4vw, 48px); box-shadow: var(--shadow); overflow: hidden; }
.about-vm__card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -80px; bottom: -110px; opacity: .14; }
.about-vm__card--vision { border-top: 6px solid var(--blue); }
.about-vm__card--vision::after { background: var(--blue); }
.about-vm__card--mission { border-top: 6px solid var(--green); }
.about-vm__card--mission::after { background: var(--green); }
.about-vm__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; }
.about-vm__icon svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about-vm__card--vision .about-vm__icon { background: var(--blue-soft); color: var(--blue); }
.about-vm__card--mission .about-vm__icon { background: var(--green-soft); color: var(--green-ink); }
.about-vm__card h3 { margin: 0 0 12px; font-size: 1.7rem; }
.about-vm__card p { font-size: 1.08rem; margin: 0; position: relative; z-index: 1; }
@media (max-width: 800px) { .about-vm { grid-template-columns: 1fr; } }

.about-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-timeline { list-style: none; margin: 28px 0 0; padding: 0; position: relative; }
.about-timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: linear-gradient(var(--blue), var(--yellow), var(--green)); }
.about-timeline li { position: relative; padding: 0 0 26px 48px; }
.about-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 25px; height: 25px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); }
.about-timeline li:nth-child(2)::before { border-color: var(--yellow); }
.about-timeline li:nth-child(3)::before { border-color: var(--green); }
.about-timeline b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--blue-deep); margin-bottom: 6px; font-weight: 600; }
.about-timeline p { margin: 0; color: var(--muted); }
.about-story__media { position: relative; min-height: 480px; }
.about-story__media img { position: absolute; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-story__media .a { width: 68%; height: 78%; left: 0; top: 0; }
.about-story__media .b { width: 58%; height: 52%; right: 0; bottom: 0; border: 6px solid #fff; }
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; } .about-story__media { min-height: 380px; } }

.about-approach { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.about-approach__item { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.about-approach__item span { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 196, 0, .16); color: var(--yellow); }
.about-approach__item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about-approach__item p { margin: 0; color: #d8e7f1; }
@media (max-width: 760px) { .about-approach { grid-template-columns: 1fr; } }

.about-person { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: .25s ease; }
.about-person:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--ink); }
.about-person__photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-bottom: 10px; background: var(--blue-soft); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--blue); }
.about-person:nth-child(2) .about-person__photo { box-shadow: 0 0 0 3px var(--yellow); }
.about-person:nth-child(3) .about-person__photo { box-shadow: 0 0 0 3px var(--green); }
.about-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-person__photo--icon { display: grid; place-items: center; color: var(--blue-deep); background: var(--yellow-soft); }
.about-person__photo--icon svg { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-person h3 { margin: 0; font-size: 1.3rem; }
.about-person p { color: var(--muted); font-style: italic; margin: 0 0 6px; }
.about-person .link-arrow { margin-top: auto; }

/* ---------- School Courses page ---------- */
.course-hero__tag { display: inline-block; margin-top: 16px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.course-hero h1 { margin-top: 12px; }
#kindergarten, #primary, #middle-secondary, #islamic-curriculum { scroll-margin-top: 100px; }

.course-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.course-ways { background: var(--cloud); border-radius: 22px; padding: 30px; display: grid; gap: 14px; }
.course-ways__title { margin: 0 0 4px; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.course-way { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 4px 14px rgba(10, 61, 98, .06); color: var(--muted); font-size: .95rem; line-height: 1.5; }
.course-way strong { display: block; color: var(--blue-deep); font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; margin-bottom: 2px; }
.course-way span { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.course-way svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.course-way--blue span { background: var(--blue-soft); color: var(--blue); }
.course-way--yellow span { background: var(--yellow-soft); color: #a07f00; }
.course-way--green span { background: var(--green-soft); color: var(--green-ink); }
@media (max-width: 900px) { .course-intro { grid-template-columns: 1fr; } }

.stages { display: grid; gap: 32px; }
.stage { display: grid; grid-template-columns: 420px 1fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.stage:nth-child(even) { grid-template-columns: 1fr 420px; }
.stage:nth-child(even) .stage__media { order: 2; }
.stage__media { position: relative; min-height: 340px; }
.stage__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 61, 98, .55)); }
.stage__step { position: absolute; z-index: 1; left: 22px; bottom: 18px; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: #fff; font-weight: 600; text-shadow: 0 4px 18px rgba(0, 0, 0, .3); }
.stage__body { padding: clamp(28px, 4vw, 44px); border-top: 6px solid var(--c); }
.stage--blue { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); }
.stage--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.stage--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.stage__label { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink); }
.stage h3 { margin: 6px 0 10px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.stage__syllabus { display: inline-flex; align-items: center; gap: 8px; background: var(--c-soft); color: var(--c-ink); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.stage__syllabus svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stage__body > p { color: var(--muted); }
.stage__count { margin: 18px 0 10px; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep) !important; }
.subjects { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.subjects li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; background: var(--cloud); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--blue-deep); transition: .2s; }
.subjects li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.subjects li:hover { background: var(--c-soft); border-color: var(--c); }
@media (max-width: 960px) {
	.stage, .stage:nth-child(even) { grid-template-columns: 1fr; }
	.stage:nth-child(even) .stage__media { order: 0; }
	.stage__media { min-height: 240px; }
}

.islamic { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.islamic p { color: #b9cfdf; }
.islamic__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.islamic__item { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 28px 22px; text-align: center; transition: .25s; }
.islamic__item:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
.islamic__item span { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; }
.islamic__item:nth-child(1) span { background: var(--blue); color: #fff; }
.islamic__item:nth-child(2) span { background: var(--yellow); color: var(--ink); }
.islamic__item:nth-child(3) span { background: var(--green); color: var(--ink); }
.islamic__item svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.islamic__item h3 { margin: 0 0 6px; font-size: 1.2rem; }
.islamic__item p { margin: 0; font-size: .92rem; }
@media (max-width: 900px) { .islamic { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .islamic__items { grid-template-columns: 1fr; } }

.next-card { display: flex; flex-direction: column; gap: 8px; padding: 30px; border-radius: 20px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c); transition: .25s ease; }
.next-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--ink); }
.next-card--blue { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); }
.next-card--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.next-card--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.next-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-ink); margin-bottom: 8px; }
.next-card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.next-card h3 { margin: 0; font-size: 1.3rem; }
.next-card p { margin: 0 0 8px; color: var(--muted); }
.next-card .link-arrow { margin-top: auto; }

/* ---------- College Courses page ---------- */
#streams, #degree { scroll-margin-top: 100px; }

.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.glance__card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 28px 24px; border-radius: 20px; text-decoration: none; color: #fff; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.glance__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: #fff; }
.glance__card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -60px; top: -60px; background: rgba(255, 255, 255, .14); }
.glance__card--blue { background: var(--blue); }
.glance__card--yellow { background: var(--yellow); color: var(--ink); }
.glance__card--yellow:hover { color: var(--ink); }
.glance__card--green { background: var(--green); color: var(--ink); }
.glance__card--green:hover { color: var(--ink); }
.glance__card--deep { background: var(--blue-deep); }
.glance__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); margin-bottom: 14px; }
.glance__card--yellow .glance__icon, .glance__card--green .glance__icon { background: rgba(30, 42, 51, .1); }
.glance__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.glance__kicker { font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.glance__card strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.glance__count { font-weight: 700; font-size: .95rem; }
.glance__codes { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .3); font-weight: 800; letter-spacing: .08em; font-size: .85rem; opacity: .9; }
.glance__card--yellow .glance__codes, .glance__card--green .glance__codes { border-top-color: rgba(30, 42, 51, .18); }
@media (max-width: 960px) { .glance { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .glance { grid-template-columns: 1fr; } }

/* Tabs */
.tabs__list { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs__tab { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--blue-deep); font: 800 1rem var(--font-body); cursor: pointer; transition: .2s; }
.tabs__tab svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs__tab:hover { border-color: var(--blue); }
.tabs__tab--blue[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tabs__tab--yellow[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.tabs__tab--green[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--ink); }
.tabs.is-ready .tabs__panel { display: none; }
.tabs.is-ready .tabs__panel.is-active { display: block; animation: tabIn .35s ease; }
.tabs:not(.is-ready) .tabs__panel + .tabs__panel { margin-top: 40px; }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.stream--blue { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); }
.stream--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.stream--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.stream__head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.stream__head h3 { margin: 0 0 6px; font-size: 1.6rem; }
.stream__head p { margin: 0; color: var(--muted); }
.combos { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.combos--2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.combo { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); border-top: 6px solid var(--c); }
.combo__code { display: flex; gap: 6px; margin-bottom: 14px; }
.combo__code span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-ink); font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; }
.combo h4 { margin: 0 0 14px; font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.combo__subjects { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.combo__subjects li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--cloud); font-weight: 600; color: var(--blue-deep); }
.combo__subjects b { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: .85rem; }
.stream--yellow .combo__subjects b, .stream--green .combo__subjects b { color: var(--ink); }
.stream__lang { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px auto 0; padding: 14px 22px; border-radius: 14px; background: #fff; border: 1px dashed var(--c); max-width: 640px; color: var(--muted); }
.stream__lang svg { flex: none; width: 24px; height: 24px; stroke: var(--c-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stream__lang strong { color: var(--blue-deep); }
@media (max-width: 960px) { .combos, .combos--2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .combos, .combos--2 { grid-template-columns: 1fr; } .tabs__tab { padding: 12px 20px; } }

/* Degree */
.degree { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.degree p { color: #b9cfdf; }
.degree__meta { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0 28px; }
.degree__meta span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: .9rem; }
.degree__meta svg { width: 18px; height: 18px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.degree__subjects { background: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); }
.degree__title { margin: 0 0 16px; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; }
.degree__subjects ol { list-style: none; counter-reset: deg; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.degree__subjects li { counter-increment: deg; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--cloud); color: var(--blue-deep); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.degree__subjects li::before { content: counter(deg, decimal-leading-zero); flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--blue-soft); color: var(--blue-ink); }
.degree__subjects li:nth-child(3n+2)::before { background: var(--yellow-soft); color: #8a6d00; }
.degree__subjects li:nth-child(3n)::before { background: var(--green-soft); color: var(--green-ink); }
@media (max-width: 900px) { .degree { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .degree__subjects ol { grid-template-columns: 1fr; } }

/* ---------- Add-on Courses page ---------- */
#deeni-taleem, #shariah, #hifdh { scroll-margin-top: 90px; }

.hadith { margin: 0 auto 56px; max-width: 760px; text-align: center; position: relative; padding: 36px 32px 30px; border-radius: 24px; background: var(--yellow-soft); }
.hadith::before { content: "\201C"; position: absolute; left: 50%; top: -34px; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 600 3.4rem/1.25 var(--font-head); }
.hadith__ar { font-size: 1.9rem; color: var(--green-ink); margin: 8px 0 10px; font-family: "Amiri", "Traditional Arabic", serif; }
.hadith blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--blue-deep); line-height: 1.4; }
.hadith figcaption { margin-top: 12px; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.addon-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.addon-tile { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); display: flex; flex-direction: column; gap: 8px; padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); border-bottom: 6px solid var(--c); text-decoration: none; color: var(--ink); transition: .25s ease; }
.addon-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.addon-tile--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.addon-tile--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.addon-tile__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--c); color: #fff; margin-bottom: 8px; }
.addon-tile--green .addon-tile__icon, .addon-tile--yellow .addon-tile__icon { color: var(--ink); }
.addon-tile__icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.addon-tile__kicker { font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink); }
.addon-tile h2 { margin: 0; font-size: 1.55rem; }
.addon-tile p { margin: 0 0 6px; color: var(--muted); }
.addon-tile .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .addon-overview { grid-template-columns: 1fr; } }

.addon { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); }
.addon--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.addon--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.addon__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.addon__grid--flip { grid-template-columns: .75fr 1.25fr; }
.addon__grid--flip .addon__poster { order: -1; }
.addon__body { position: relative; }
.addon__num { position: absolute; right: 0; top: -20px; font-family: var(--font-head); font-size: clamp(4rem, 9vw, 7rem); line-height: 1; color: var(--c-soft); font-weight: 600; z-index: -1; }
.addon .eyebrow { color: var(--c-ink); }
.addon__body h2 { margin-top: .3em; }
.addon__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.addon__facts span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--c-soft); color: var(--c-ink); font-weight: 700; font-size: .9rem; }
.addon__facts svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.addon__list-title { margin: 0 0 12px; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }
.addon .subjects li { background: #fff; }
.addon:not(.section--cloud) .subjects li { background: var(--cloud); }

.addon__poster { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.addon__poster::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 22px; background: var(--c); opacity: .9; }
.poster { position: relative; display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.poster img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; transition: transform .5s ease; }
.poster:hover img { transform: scale(1.04); }
.poster__zoom { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(10, 61, 98, .88); color: #fff; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.poster__zoom svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
	.addon__grid, .addon__grid--flip { grid-template-columns: 1fr; }
	.addon__grid--flip .addon__poster { order: 0; }
	.addon__poster { max-width: 320px; }
}

.motto { text-align: center; margin: 0 auto 48px; max-width: 820px; }
.motto p { margin: 0; font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; color: var(--blue-deep); }
.motto span { color: var(--blue); font-style: italic; }
.motto span + span { color: var(--green-ink); }

/* CBSE disclosure documents table */
.entry-content .doc-table td:first-child { width: 70px; color: var(--muted); font-weight: 700; }
.entry-content .doc-table td:last-child, .entry-content .doc-table th:last-child { width: 150px; text-align: center; }
.entry-content .doc-table td:nth-child(2) { font-weight: 600; color: var(--blue-deep); }
.doc-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--blue); color: #fff !important; font-weight: 700 !important; font-size: .85rem; text-decoration: none; white-space: nowrap; transition: .2s; }
.doc-link::after { content: "\2197"; }
.doc-link:hover { background: var(--blue-deep); }
.doc-missing { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--cloud); color: var(--muted); font-size: .85rem; font-weight: 600; }

/* ---------- Campus page ---------- */
#transport, #computer-lab, #science-lab, #library, #sports, #digital-classrooms, #infirmary, #auditorium, #english-lab, #robotics { scroll-margin-top: 100px; }

.campus-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.campus-nav a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--blue-deep); font-weight: 700; font-size: .95rem; text-align: center; transition: .25s ease; }
.campus-nav a:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--blue-deep); }
.campus-nav span { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.campus-nav a:nth-child(3n+1) span { background: var(--blue-soft); color: var(--blue); }
.campus-nav a:nth-child(3n+2) span { background: var(--yellow-soft); color: #8a6d00; }
.campus-nav a:nth-child(3n) span { background: var(--green-soft); color: var(--green-ink); }
.campus-nav a:nth-child(3n+1):hover { border-color: var(--blue); }
.campus-nav a:nth-child(3n+2):hover { border-color: var(--yellow); }
.campus-nav a:nth-child(3n):hover { border-color: var(--green); }
.campus-nav svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .campus-nav { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .campus-nav { grid-template-columns: repeat(2, 1fr); } }

.facility-row { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); }
.facility-row--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.facility-row--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.facility-row .eyebrow { color: var(--c-ink); }
.facility-row h2 { margin-top: .3em; }
.facility-row__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.facility-row__grid--flip .facility-row__media { order: 2; }
.facility-row__media { position: relative; }
.facility-row__media > img:first-child { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.facility-row__media::before { content: ""; position: absolute; inset: 18px -16px -16px 18px; border-radius: 24px; background: var(--c); opacity: .85; z-index: -1; }
.facility-row__grid--flip .facility-row__media::before { inset: 18px 18px -16px -16px; }
.facility-row__icon { position: absolute; left: -14px; top: -14px; width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: var(--shadow); border: 4px solid #fff; }
.facility-row--yellow .facility-row__icon, .facility-row--green .facility-row__icon { color: var(--ink); }
.facility-row__icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.facility-row__inset { position: absolute; right: -10px; bottom: -26px; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.facility-row__stat { position: absolute; right: -10px; bottom: 24px; background: #fff; border-radius: 18px; padding: 14px 20px; box-shadow: var(--shadow-lg); font-weight: 700; color: var(--muted); font-size: .85rem; line-height: 1.2; border-bottom: 5px solid var(--c); }
.facility-row__stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--blue-deep); }
.facility-row__quote { font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: var(--c-ink); margin: -4px 0 14px; }
.facility-row .subjects li::before { background: var(--c); }
.facility-row:not(.section--cloud) .subjects li { background: var(--cloud); }
.facility-row.section--cloud .subjects li { background: #fff; }
@media (max-width: 900px) {
	.facility-row__grid { grid-template-columns: 1fr; }
	.facility-row__grid--flip .facility-row__media { order: 0; }
	.facility-row__icon { left: 10px; top: 10px; }
}

.more-facility { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: 22px; padding: 30px; transition: .25s ease; }
.more-facility:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.more-facility--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.more-facility--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.more-facility__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-ink); margin-bottom: 16px; }
.more-facility__icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more-facility h3 { margin: 0 0 10px; font-size: 1.4rem; }
.more-facility p { color: var(--muted); }
.more-facility ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.more-facility li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--blue-deep); font-size: .95rem; }
.more-facility li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

.transport { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.transport p { color: #b9cfdf; }
.transport__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.transport__features div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: .93rem; line-height: 1.35; }
.transport__features span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.transport__features div:nth-child(3n+1) span { background: var(--blue); color: #fff; }
.transport__features div:nth-child(3n) span { background: var(--green); }
.transport__features svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.transport__media { position: relative; }
.transport__media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; object-fit: cover; }
.transport__count { position: absolute; left: -16px; bottom: -22px; background: var(--yellow); color: var(--ink); border-radius: 18px; padding: 14px 20px; font-weight: 700; line-height: 1.2; box-shadow: var(--shadow-lg); }
.transport__count strong { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.transport__count small { font-weight: 600; opacity: .75; }
@media (max-width: 900px) { .transport { grid-template-columns: 1fr; } .transport__count { left: 10px; } }
@media (max-width: 520px) { .transport__features { grid-template-columns: 1fr; } }

.routes { margin-top: 64px; background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); color: var(--ink); }
.routes__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.routes__head h3 { margin: 0; color: var(--blue-deep); font-size: 1.6rem; }
.routes__search { position: relative; flex: 0 1 340px; }
.routes__search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; }
.routes__search input { width: 100%; padding: 13px 18px 13px 46px; border-radius: 999px; border: 2px solid var(--line); font: 500 1rem var(--font-body); color: var(--ink); background: var(--cloud); }
.routes__search input:focus { outline: none; border-color: var(--blue); background: #fff; }
.routes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.route { padding: 16px 18px; border-radius: 14px; background: var(--cloud); border-left: 5px solid var(--blue); }
.route:nth-child(3n+2) { border-left-color: var(--yellow); }
.route:nth-child(3n) { border-left-color: var(--green); }
.route[hidden] { display: none; }
.route__no { font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.route h4 { margin: 2px 0 4px; font-size: 1.1rem; color: var(--blue-deep); }
.route p { margin: 0; font-size: .88rem; color: var(--muted) !important; line-height: 1.45; }
.route mark { background: var(--yellow); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.routes__empty { margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--yellow-soft); color: var(--ink) !important; }
.routes__note { margin: 20px 0 0; font-size: .88rem; color: var(--muted) !important; }
@media (max-width: 1060px) { .routes__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .routes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .routes__grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .facility-row__media::before, .facility-row__grid--flip .facility-row__media::before { inset: 12px -8px -10px 12px; } .facility-row__inset, .facility-row__stat { right: 6px; } }

/* ---------- Activities page ---------- */
#assembly, #abl, #celebrations, #green, #sports, #trips { scroll-margin-top: 100px; }

.act-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.act-split--flip .act-split__media { order: 2; }
.act-split__media { position: relative; }
.act-split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.act-split__media::before { content: ""; position: absolute; inset: -16px 24px 24px -16px; border-radius: 24px; background: var(--stripe); z-index: -1; opacity: .9; }
.act-split--flip .act-split__media::before { inset: -16px -16px 24px 24px; }
.act-badge { position: absolute; right: -14px; bottom: 26px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow-lg); font-weight: 800; color: var(--blue-deep); }
.act-split--flip .act-badge { right: auto; left: -14px; }
.act-badge span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.act-badge--green span { background: var(--green); }
.act-badge svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.act-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.act-checks li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--cloud); font-weight: 600; color: var(--blue-deep); font-size: .95rem; }
.act-checks li::before { content: "\2713"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--blue); color: #fff; }
.act-checks li:nth-child(2)::before { background: var(--yellow); color: var(--ink); }
.act-checks li:nth-child(3)::before { background: var(--green); color: var(--ink); }
.act-checks li:nth-child(4)::before { background: var(--blue-deep); }
@media (max-width: 900px) {
	.act-split { grid-template-columns: 1fr; }
	.act-split--flip .act-split__media { order: 0; }
	.act-split__media::before, .act-split--flip .act-split__media::before { inset: -10px 14px 14px -8px; }
	.act-badge, .act-split--flip .act-badge { right: 10px; left: auto; }
}
@media (max-width: 480px) { .act-checks { grid-template-columns: 1fr; } }

.celebrations { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.celebrations li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 700; }
.celebrations svg { width: 18px; height: 18px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.celebrations li:nth-child(3n+2) svg { stroke: var(--green); }
.celebrations li:nth-child(3n) svg { stroke: #6cc3ee; }
.act-events { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.act-event { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4/4.4; text-decoration: none; color: #fff; }
.act-event img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.act-event::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 30, 48, .92)); }
.act-event:hover img { transform: scale(1.06); }
.act-event__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 18px; }
.act-event small { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--yellow); font-size: .78rem; margin-bottom: 4px; }
.act-event small svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.act-event strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
@media (max-width: 960px) { .act-events { grid-template-columns: repeat(2, 1fr); } }

.green-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; }
.green-card { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.green-card--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.green-card__art { height: 220px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; position: relative; overflow: hidden; }
.green-card__art::before, .green-card__art::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); }
.green-card__art::before { width: 260px; height: 260px; }
.green-card__art::after { width: 380px; height: 380px; }
.green-card__art svg { width: 96px; height: 96px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.green-card__photo { height: 220px; }
.green-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.green-card__body { padding: 28px 30px 30px; border-top: 6px solid var(--c); flex: 1; }
.green-card__kicker { font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink); }
.green-card h3 { margin: 6px 0 10px; font-size: 1.6rem; }
.green-card p { color: var(--muted); }
.green-card__crops-title { margin: 0 0 10px; font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep) !important; }
.green-card .subjects li { background: var(--cloud); }
.green-card .subjects li::before { background: var(--c); }
@media (max-width: 900px) { .green-grid { grid-template-columns: 1fr; } }

.sport-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sport-card__media { position: relative; height: 280px; }
.sport-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sport-card__tag { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .82rem; color: var(--ink); box-shadow: var(--shadow); }
.sport-card__tag--yellow { background: var(--yellow); }
.sport-card__tag--green { background: var(--green); }
.sport-card__tag svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sport-card__body { position: relative; padding: 40px 30px 30px; flex: 1; display: flex; flex-direction: column; }
.sport-card__icon { position: absolute; top: -32px; right: 28px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; border: 4px solid #fff; box-shadow: var(--shadow); }
.sport-card__icon--blue { background: var(--blue); color: #fff; }
.sport-card__icon--yellow { background: var(--yellow); color: var(--ink); }
.sport-card__icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sport-card h3 { margin: 0 0 10px; font-size: 1.6rem; }
.sport-card p { color: var(--muted); }
.sport-card .subjects { margin-bottom: 18px; }
.sport-card .subjects li { background: var(--cloud); }
.sport-card .link-arrow { margin-top: auto; }

.trip-band { display: flex; gap: clamp(24px, 4vw, 44px); align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--green-soft); border: 2px dashed var(--green); }
.trip-band__icon { flex: none; width: 110px; height: 110px; border-radius: 30px; display: grid; place-items: center; background: var(--green); color: var(--ink); transform: rotate(-6deg); box-shadow: var(--shadow); }
.trip-band__icon svg { width: 54px; height: 54px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trip-band .eyebrow { color: var(--green-ink); }
.trip-band h2 { margin: .3em 0 .4em; font-style: italic; }
.trip-band p { margin: 0; max-width: 760px; }
@media (max-width: 700px) { .trip-band { flex-direction: column; align-items: flex-start; } .trip-band__icon { width: 84px; height: 84px; } }
.sport-card { --c: var(--blue); }
.sport-card + .sport-card { --c: var(--yellow); }
.sport-card .subjects li::before { background: var(--c); }
.post-meta__tag { font-weight: 800; background: var(--green-soft); color: var(--green-ink); padding: 3px 12px; border-radius: 999px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Contact page ---------- */
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.contact-action { display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 14px; border-radius: 18px; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.contact-action:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); color: var(--ink); }
.contact-action--yellow { background: var(--yellow); }
.contact-action--blue { background: var(--blue); color: #fff; }
.contact-action--blue:hover { color: #fff; }
.contact-action--green { background: var(--green); }
.contact-action span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .3); }
.contact-action svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-action b { font-weight: 800; line-height: 1.25; }
.contact-action small { display: block; font-weight: 600; opacity: .85; font-size: .85rem; }

.directory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dir-card { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c); transition: .25s ease; }
.dir-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.dir-card--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.dir-card--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.dir-card--deep { --c: var(--blue-deep); --c-soft: #e6edf3; --c-ink: var(--blue-deep); }
.dir-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-ink); margin-bottom: 16px; }
.dir-card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dir-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.dir-card p { margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.dir-card__numbers { margin-top: auto; display: grid; gap: 8px; }
.dir-card__numbers a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--cloud); color: var(--blue-deep); font-weight: 800; text-decoration: none; transition: .2s; }
.dir-card__numbers a:hover { background: var(--c); color: #fff; }
.dir-card--yellow .dir-card__numbers a:hover, .dir-card--green .dir-card__numbers a:hover { color: var(--ink); }
.dir-card__numbers svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) { .directory { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .directory { grid-template-columns: 1fr; } }

.contact-main { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.enquiry { background: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); border-top: 6px solid var(--blue); }
.enquiry h2 { margin: .3em 0 .3em; }
.enquiry__note { color: var(--muted); font-size: .95rem; }
.enquiry__form { display: grid; gap: 16px; margin-top: 8px; }
.enquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry__form label { display: grid; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--blue-deep); }
.enquiry__form input, .enquiry__form select, .enquiry__form textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--cloud); font: 500 1rem var(--font-body); color: var(--ink); transition: border-color .2s, background .2s; }
.enquiry__form textarea { resize: vertical; min-height: 130px; }
.enquiry__form input:focus, .enquiry__form select:focus, .enquiry__form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.enquiry__form .btn { justify-self: start; border: 0; font-family: var(--font-body); }
.enquiry__form .btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.enquiry__error { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--yellow-soft); color: var(--ink); font-weight: 600; font-size: .9rem; }
@media (max-width: 520px) { .enquiry__row { grid-template-columns: 1fr; } }

.visit { display: grid; gap: 18px; }
.visit .map-embed iframe { height: 360px; }
.visit__card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 20px; background: #fff; border-left: 6px solid var(--green); box-shadow: var(--shadow); }
.visit__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-ink); }
.visit__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visit__card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.visit__card p { margin: 0 0 8px; color: var(--muted); }
.visit__social { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-radius: 20px; background: var(--blue-deep); color: #fff; font-weight: 800; }
.visit__social .footer-social { margin: 0; }
.visit__social .footer-social a { color: #fff; }
@media (max-width: 960px) { .contact-main { grid-template-columns: 1fr; } }

/* Footer link arrows */
.site-footer .menu a { display: inline-flex; align-items: center; gap: 10px; transition: color .2s ease, transform .2s ease; }
.site-footer .menu a::before { content: ""; flex: none; width: 7px; height: 7px; border-top: 2px solid var(--yellow); border-right: 2px solid var(--yellow); transform: rotate(45deg); transition: transform .2s ease, border-color .2s ease; }
.site-footer .wrap > div:nth-child(3) .menu a::before { border-color: var(--green); }
.site-footer .menu a:hover { transform: translateX(4px); }
.site-footer .menu a:hover::before { border-color: var(--yellow); }

/* ---------- Testimonials page ---------- */
.t-stats { display: flex; gap: 14px; margin-top: 26px; }
.t-stats span { display: flex; align-items: baseline; gap: 8px; padding: 10px 20px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-weight: 700; color: #fff; }
.t-stats b { font-family: var(--font-head); font-size: 1.8rem; color: var(--yellow); line-height: 1; }

.t-featured { position: relative; margin: 0 0 56px; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--blue-deep); color: #fff; overflow: hidden; }
.t-featured::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(245, 196, 0, .4), transparent 70%); }
.t-featured__mark { position: absolute; right: 40px; bottom: -70px; font: 600 18rem/1 var(--font-head); color: rgba(255, 255, 255, .06); }
.t-featured blockquote { position: relative; z-index: 1; margin: 0 0 28px; max-width: 860px; }
.t-featured__quote { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; color: #fff; margin: 0 0 18px; }
.t-featured__quote::before { content: ""; display: block; width: 70px; height: 6px; border-radius: 3px; background: var(--stripe); margin-bottom: 22px; }
.t-featured blockquote p:last-child { color: #c9dbe8; margin: 0; }
.t-featured figcaption { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; color: #c9dbe8; font-size: .92rem; line-height: 1.4; }
.t-featured figcaption strong { display: block; color: #fff; font-size: 1.1rem; }

.t-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1rem; background: var(--blue); color: #fff; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c, var(--blue)); }
.t-avatar--lg { width: 64px; height: 64px; font-size: 1.2rem; background: var(--yellow); color: var(--ink); box-shadow: none; border: 0; }

.t-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.t-filter button { padding: 11px 24px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--blue-deep); font: 800 .95rem var(--font-body); cursor: pointer; transition: .2s; }
.t-filter button:hover { border-color: var(--blue); }
.t-filter button.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.t-grid { columns: 3 320px; column-gap: 24px; }
.t-card { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); break-inside: avoid; display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c); transition: box-shadow .25s ease; }
.t-card:hover { box-shadow: var(--shadow); }
.t-card[hidden] { display: none; }
.t-card--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.t-card--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.t-card .t-avatar { background: var(--c); }
.t-card--yellow .t-avatar, .t-card--green .t-avatar { color: var(--ink); }
.t-card__tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--c-soft); color: var(--c-ink); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.t-card__quote { margin: 0; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.4; color: var(--blue-deep); }
.t-card__more summary { cursor: pointer; list-style: none; font-weight: 800; color: var(--blue-ink); font-size: .9rem; }
.t-card__more summary::-webkit-details-marker { display: none; }
.t-card__more summary::after { content: " \2193"; }
.t-card__more[open] summary::after { content: " \2191"; }
.t-card__more .t-close { display: none; }
.t-card__more[open] .t-open { display: none; }
.t-card__more[open] .t-close { display: inline; }
.t-card__more p { margin: 12px 0 0; color: var(--muted); font-size: .95rem; }
.t-card__by { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--muted); line-height: 1.4; }
.t-card__by strong { display: block; color: var(--blue-deep); font-size: 1rem; }

/* ---------- Career page ---------- */
#benefits { scroll-margin-top: 100px; }
.career-culture { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.career-culture span { padding: 9px 20px; border-radius: 999px; font-weight: 800; font-size: .92rem; }
.career-culture span:nth-child(1) { background: var(--blue-soft); color: var(--blue-ink); }
.career-culture span:nth-child(2) { background: var(--yellow-soft); color: #8a6d00; }
.career-culture span:nth-child(3) { background: var(--green-soft); color: var(--green-ink); }
.career-culture span:nth-child(4) { background: #e6edf3; color: var(--blue-deep); }

.look-card { --c: var(--blue); --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); padding: 28px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); border-bottom: 6px solid var(--c); transition: .25s ease; }
.look-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.look-card--yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: #8a6d00; }
.look-card--green { --c: var(--green); --c-soft: var(--green-soft); --c-ink: var(--green-ink); }
.look-card--deep { --c: var(--blue-deep); --c-soft: #e6edf3; --c-ink: var(--blue-deep); }
.look-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-ink); margin-bottom: 16px; }
.look-card__icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.look-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.look-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 32px 22px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: .25s ease; }
.benefit:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
.benefit span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.benefit:nth-child(1) span { background: var(--blue); color: #fff; }
.benefit:nth-child(2) span { background: var(--yellow); color: var(--ink); }
.benefit:nth-child(3) span { background: var(--green); color: var(--ink); }
.benefit:nth-child(4) span { background: #fff; color: var(--blue-deep); }
.benefit svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit strong { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .benefits { grid-template-columns: 1fr; } }

.apply-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.apply-steps::before { content: ""; position: absolute; top: 40px; left: 16%; right: 16%; height: 4px; border-radius: 2px; background: var(--stripe); opacity: .5; }
.apply-steps li { counter-increment: step; position: relative; text-align: center; padding: 0 12px; }
.apply-steps__icon { position: relative; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 4px solid var(--blue); color: var(--blue); box-shadow: var(--shadow); }
.apply-steps li:nth-child(2) .apply-steps__icon { border-color: var(--yellow); color: #8a6d00; }
.apply-steps li:nth-child(3) .apply-steps__icon { border-color: var(--green); color: var(--green-ink); }
.apply-steps__icon::after { content: counter(step); position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-deep); color: #fff; font-weight: 800; font-size: .85rem; }
.apply-steps__icon svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.apply-steps h3 { margin: 0 0 8px; font-size: 1.25rem; }
.apply-steps p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .apply-steps { grid-template-columns: 1fr; } .apply-steps::before { display: none; } }
.enquiry__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__hint { margin: -8px 0 0; font-size: .82rem; color: var(--muted); }
.enquiry__success { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--green-soft); color: var(--green-ink); font-weight: 700; border-left: 5px solid var(--green); }
.enquiry__form .btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* Footer contact column icons */
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer-contact__icon { flex: none; width: 32px; height: 32px; margin-top: -4px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--yellow); }
.footer-contact li:nth-child(3n+2) .footer-contact__icon { color: var(--green); }
.footer-contact li:nth-child(3n) .footer-contact__icon { color: #6cc3ee; }
.footer-contact__icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.site-footer .footer-contact { gap: 12px; }
.addon, .stage, .facility-row, .more-facility, [id] { scroll-margin-top: 100px; }

/* ---------- Photo & video galleries ---------- */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.album { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.album__stack { position: relative; display: block; border-radius: 18px; aspect-ratio: 4/3; }
.album__stack::before, .album__stack::after { content: ""; position: absolute; inset: 0; border-radius: 18px; transition: transform .3s ease; }
.album__stack::before { background: var(--yellow); transform: rotate(-4deg) translate(-6px, 4px); }
.album__stack::after { background: var(--green); transform: rotate(3deg) translate(6px, 4px); z-index: 0; }
.album:nth-child(3n+2) .album__stack::before { background: var(--blue); }
.album:nth-child(3n) .album__stack::after { background: var(--blue); }
.album__cover { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); display: block; }
.album__cover--empty { display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.album__cover--empty svg { width: 48px; height: 48px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.album:hover .album__stack::before { transform: rotate(-7deg) translate(-12px, 6px); }
.album:hover .album__stack::after { transform: rotate(6deg) translate(12px, 6px); }
.album__count { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 61, 98, .85); color: #fff; font-weight: 700; font-size: .82rem; }
.album__count svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.album__body { display: flex; flex-direction: column; gap: 2px; padding: 22px 4px 0; }
.album__body small { color: var(--green-ink); font-weight: 800; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.album__body strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--blue-deep); line-height: 1.25; }
.album__body .link-arrow { margin-top: 6px; font-size: .92rem; }
@media (max-width: 960px) { .albums { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .albums { grid-template-columns: 1fr; } }

.photo-grid { columns: 4 240px; column-gap: 14px; }
.photo-grid__item { display: block; margin-bottom: 14px; border-radius: 14px; overflow: hidden; break-inside: avoid; position: relative; }
.photo-grid__item img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.photo-grid__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--stripe); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.photo-grid__item:hover img { transform: scale(1.05); }
.photo-grid__item:hover::after { transform: scaleX(1); }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: .25s ease; }
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.video-card__thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--blue-deep); }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform .5s ease; }
.video-card__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(10, 61, 98, .25); transition: .3s; }
.video-card:hover .video-card__thumb img { transform: scale(1.2); }
.video-card .video-thumb__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; box-shadow: 0 0 0 8px rgba(245, 196, 0, .3); }
.video-card .video-thumb__play::before { border-width: 11px 0 11px 18px; margin-left: 5px; }
.video-card__body { padding: 18px 22px 22px; border-top: 5px solid var(--blue); }
.video-card:nth-child(3n+2) .video-card__body { border-top-color: var(--yellow); }
.video-card:nth-child(3n) .video-card__body { border-top-color: var(--green); }
.video-card__body small { color: var(--green-ink); font-weight: 800; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.video-card__body h3 { margin: 4px 0 0; font-size: 1.15rem; }
.video-card__body p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }

.video-modal { position: fixed; inset: 0; z-index: 1100; background: rgba(6, 30, 48, .92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.video-modal[hidden] { display: none; }
.video-modal__box { position: relative; width: min(1000px, 100%); }
.video-modal__frame { aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal__close { position: absolute; right: -6px; top: -54px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); font-size: 1.6rem; cursor: pointer; }
body.nav-open-lock { overflow: hidden; }

/* Announcement pop-up */
.site-popup { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(6, 30, 48, .78); animation: popFade .3s ease; }
.site-popup[hidden] { display: none; }
.site-popup__box { position: relative; max-width: min(560px, 100%); animation: popIn .35s cubic-bezier(.2, .9, .3, 1.2); }
.site-popup__media { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); background: #fff; border-bottom: 6px solid transparent; border-image: var(--stripe) 1; }
.site-popup__media img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); margin: 0 auto; }
.site-popup__close { position: absolute; top: -18px; right: -18px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; background: var(--yellow); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.site-popup__close:hover { background: #fff; }
@media (max-width: 560px) { .site-popup { padding: 30px 16px 16px; } .site-popup__close { top: -16px; right: -6px; } }
@keyframes popFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.92) translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-popup, .site-popup__box { animation: none; } }

/* ---------- Online admission form ---------- */
.admission { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.admission__form { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border-top: 6px solid var(--yellow); }
.admission__form h2 { margin: 0 0 8px; }
.admission__note { color: var(--muted); margin-bottom: 8px; }
.admission fieldset { border: 0; margin: 26px 0 0; padding: 0; }
.admission legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--blue-deep); }
.admission legend span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 1rem; }
.admission fieldset:nth-of-type(2) legend span { background: var(--yellow); color: var(--ink); }
.admission fieldset:nth-of-type(3) legend span { background: var(--green); color: var(--ink); }
.admission fieldset:nth-of-type(4) legend span { background: var(--blue-deep); }
.admission legend small { font-family: var(--font-body); font-weight: 600; font-size: .85rem; color: var(--muted); }
.admission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.admission fieldset:last-of-type .admission__grid { border-bottom: 0; }
.admission__wide { grid-column: 1 / -1; }
.admission__form label { display: grid; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--blue-deep); }
.admission__form label b { color: #c0392b; }
.admission__form input[type=text], .admission__form input[type=tel], .admission__form input[type=email], .admission__form input[type=date], .admission__form select, .admission__form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--cloud); font: 500 1rem var(--font-body); color: var(--ink); transition: border-color .2s, background .2s; }
.admission__form textarea { resize: vertical; }
.admission__form input:focus, .admission__form select:focus, .admission__form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.admission__form .is-invalid { border-color: #c0392b !important; background: #fdf1f0 !important; }
.admission__form input[type=file] { padding: 10px; border: 2px dashed var(--line); border-radius: 12px; background: var(--cloud); font-size: .9rem; }
.admission__hint { margin: -4px 0 0; font-size: .82rem; color: var(--muted); }
.admission__consent { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 12px !important; margin: 24px 0 18px; padding: 16px; border-radius: 14px; background: var(--yellow-soft); font-weight: 600 !important; font-size: .92rem !important; line-height: 1.5; }
.admission__consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.admission__submit { border: 0; font-family: var(--font-body); font-size: 1.05rem; padding: 16px 32px; }
.admission__submit svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.admission__submit:disabled { opacity: .7; cursor: wait; transform: none; }
.admission .enquiry__error { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #fdf1f0; color: #a3271b; font-weight: 700; border-left: 5px solid #c0392b; }
.admission__done { text-align: center; padding: 20px 0; }
.admission__done:focus { outline: none; }
.admission__tick { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 2.6rem; font-weight: 800; box-shadow: 0 0 0 10px var(--green-soft); }
.admission__done h2 { margin: 0 0 10px; }
.admission__ref { display: inline-block; padding: 12px 22px; border-radius: 14px; background: var(--blue-soft); font-size: 1.05rem; color: var(--blue-deep); }
.admission__ref strong { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .04em; }
.admission__done .btn { margin: 6px; }

.admission__info { display: grid; gap: 20px; position: sticky; top: 110px; }
.info-card { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); border-top: 5px solid var(--blue); }
.info-card--green { border-top-color: var(--green); }
.info-card--yellow { border-top-color: var(--yellow); }
.info-card h3 { margin: 0 0 12px; font-size: 1.2rem; }
.info-card ul, .info-card ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: st; }
.info-card li { position: relative; padding-left: 28px; font-size: .94rem; line-height: 1.45; color: var(--ink); }
.info-card ul li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; background: var(--blue-soft); color: var(--blue-ink); }
.info-card ol li { counter-increment: st; }
.info-card ol li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--green); color: var(--ink); }
.info-card p { margin: 0 0 8px; color: var(--muted); font-size: .94rem; }
.info-card a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--blue-deep); }
.info-card a svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) { .admission { grid-template-columns: 1fr; } .admission__info { position: static; } }
@media (max-width: 600px) { .admission__grid { grid-template-columns: 1fr; } }
.main-nav > ul > li > a:hover { color: var(--blue-ink); }

/* Home FAQ */
.faq__list { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: 16px; border: 1px solid var(--line); border-left: 5px solid var(--blue); overflow: hidden; }
.faq__item:nth-child(3n+2) { border-left-color: var(--yellow); }
.faq__item:nth-child(3n) { border-left-color: var(--green); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--blue-deep); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); font-size: 1.3rem; transition: transform .2s; }
.faq__item[open] summary::after { content: "\2212"; background: var(--yellow); color: var(--ink); }
.faq__item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
