:root{
  --brand:#067db7;
  --brand-deep:#07577f;
  --brand-dark:#06344f;
  --navy:#06243a;
  --navy-2:#0b4667;
  --cyan:#11a8d7;
  --orange:#ff7d22;
  --green:#1fbf8f;
  --ink:#11283a;
  --muted:#657988;
  --surface:#ffffff;
  --soft:#f4f8fb;
  --soft-2:#edf5f9;
  --line:#dce7ed;
  --shadow:0 22px 55px rgba(6,36,58,.10);
  --shadow-lg:0 35px 85px rgba(6,36,58,.16);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.wrap{width:min(1280px,calc(100% - 48px));margin-inline:auto}
.skip{position:fixed;left:-9999px;top:12px;z-index:999;background:#fff;padding:10px 14px;border-radius:8px;box-shadow:var(--shadow)}
.skip:focus{left:12px}

/* HEADER — calm, premium, responsive */
.site-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 1px 0 rgba(8,44,67,.08);transition:box-shadow .25s ease}
.site-header.scrolled{box-shadow:0 10px 35px rgba(6,36,58,.10)}
.utility-bar{background:linear-gradient(90deg,#06283f,#073b5d);color:#dcecf5;font-size:12px}
.utility-inner{height:38px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.utility-contact,.utility-links{display:flex;align-items:center;gap:22px;white-space:nowrap}
.utility-contact span,.utility-contact a,.utility-links a{opacity:.94}
.utility-links a{font-weight:700;color:#fff}
.utility-links a:hover{color:#8fdcff}
.topline{background:#fff}
.top-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:13px;min-width:0}
.brand-mark{flex:0 0 auto;width:46px;height:46px;border:2px solid var(--brand);color:var(--brand);border-radius:50%;display:grid;place-items:center;font-weight:900;letter-spacing:-.03em;background:#fff}
.brand b{display:block;color:#0a4e78;font-size:20px;line-height:1.1;white-space:nowrap}
.brand small{display:block;color:var(--orange);font-size:12.5px;line-height:1.25;text-transform:uppercase;letter-spacing:.06em;font-weight:800;margin-top:4px}
.header-actions{display:flex;align-items:center;gap:12px}
.quick{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:6px 7px;border-radius:14px;background:#fff;box-shadow:0 7px 20px rgba(6,36,58,.05)}
.quick .enquire{display:inline-flex;align-items:center;gap:10px;background:var(--orange);color:#fff;padding:13px 18px;border-radius:10px;font-weight:800;box-shadow:0 9px 20px rgba(255,125,34,.20)}
.quick .enquire:hover{background:#f46f11;transform:translateY(-1px)}
.site-search{width:42px;height:42px;border:0;background:transparent;color:#0a456b;font-size:22px;border-radius:10px}
.site-search:hover{background:var(--soft)}
.mobile-toggle{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--navy);font-size:22px}
.mainnav{background:#0a87bf;color:#fff;border-top:1px solid rgba(255,255,255,.12)}
.nav-inner{display:flex;align-items:stretch;justify-content:center;min-height:54px}
.navitem{position:relative}
.navitem>a{height:54px;display:flex;align-items:center;gap:7px;padding:0 20px;font-size:14px;font-weight:750;white-space:nowrap;transition:background .2s}
.navitem>a:hover,.navitem:focus-within>a{background:rgba(0,0,0,.08)}
.navitem>a span{font-size:12px}
.mega{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:min(940px,92vw);background:linear-gradient(135deg,#087bae,#0a6e9f);color:#fff;padding:34px;border-radius:0 0 18px 18px;grid-template-columns:1.05fr 1.45fr 1fr;gap:34px;box-shadow:0 28px 70px rgba(0,34,53,.30)}
.hasdrop:hover .mega,.hasdrop:focus-within .mega{display:grid}
.mega-intro small,.eyebrow,.section-label{font-size:11px;letter-spacing:.16em;font-weight:900;text-transform:uppercase}
.mega-intro h3{font-family:Georgia,"Times New Roman",serif;font-size:30px;margin:8px 0 10px}
.mega-intro p,.mega-feature p{margin:0;color:#d6eff9;line-height:1.65}
.mega-links{display:grid;align-content:start}
.mega-links a{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.20);font-weight:700}
.mega-links a:hover{padding-left:6px;color:#fff}
.mega-feature{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:17px;border-radius:14px}
.feature-art{height:90px;border-radius:10px;background:linear-gradient(135deg,#fff,#bfeafa);color:#0877ad;display:grid;place-items:center;font-size:32px;font-weight:900;margin-bottom:14px}

/* HERO — imagery first, text readable, never broken */
.home-slider,.premium-hero,.premium-hero-fallback{position:relative;height:clamp(560px,68vw,720px);max-height:720px;min-height:560px;overflow:hidden;background:linear-gradient(135deg,#07334f,#0a739d)}
.home-slide{position:absolute;inset:0;display:block!important;opacity:0;pointer-events:none;background-size:cover;background-position:center;transition:opacity .7s ease}
.home-slide.active{opacity:1;pointer-events:auto}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,26,43,.88) 0%,rgba(4,32,52,.76) 36%,rgba(4,31,50,.28) 70%,rgba(4,28,46,.10) 100%)}
.premium-hero-fallback .hero-shade{background:radial-gradient(circle at 78% 24%,rgba(12,150,195,.35),transparent 25%),linear-gradient(115deg,#051f35,#0a5076 62%,#0d7591)}
.slide-copy,.premium-slide-copy{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:52px 0;color:#fff}
.hero-kicker{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.15em;font-weight:900;color:#a8e8ff}
.hero-kicker span{width:36px;height:1px;background:#55c5ec}
.premium-slide-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(48px,5.5vw,78px);line-height:1.01;letter-spacing:-.035em;margin:18px 0 18px;max-width:760px;text-wrap:balance;text-shadow:0 5px 30px rgba(0,0,0,.25)}
.premium-slide-copy>p{max-width:670px;font-size:18px;line-height:1.7;color:#e5f2f7;margin:0}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;border-radius:9px;font-weight:800;border:1px solid transparent;transition:transform .2s,box-shadow .2s,background .2s}
.button:hover{transform:translateY(-2px)}
.button.primary{background:#0a98d0;color:#fff;box-shadow:0 12px 25px rgba(0,123,183,.22)}
.button.primary:hover{background:#087fb4}
.button.glass{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.38);color:#fff;backdrop-filter:blur(8px)}
.button.glass:hover{background:rgba(255,255,255,.18)}
.hero-meta{display:flex;gap:22px;flex-wrap:wrap;margin-top:30px;color:#d8eaf2;font-size:12px}
.hero-meta span{display:flex;align-items:center;gap:7px}.hero-meta span:before{content:"";width:5px;height:5px;border-radius:50%;background:#52d4ff}
.slider-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.60);background:rgba(255,255,255,.92);color:#0875aa;font-size:30px;line-height:1;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.slider-prev{left:24px}.slider-next{right:24px}.slider-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.04)}
.slider-dots{position:absolute;z-index:5;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:9px}
.slider-dots button{width:9px;height:9px;padding:0;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:transparent}
.slider-dots button.active{background:#fff;border-color:#fff;transform:scale(1.25)}
.hero-scroll{position:absolute;z-index:5;right:32px;bottom:20px;color:#fff;font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;display:flex;align-items:center;gap:9px;opacity:.8}.hero-scroll i{font-style:normal;font-size:17px}

/* proof highlights */
.proof-strip{background:#fff;border-bottom:1px solid var(--line)}
.proof-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.proof-grid article{min-width:0;display:flex;align-items:center;gap:14px;padding:24px 26px;border-right:1px solid var(--line)}
.proof-grid article:first-child{border-left:1px solid var(--line)}
.proof-icon{flex:0 0 auto;width:48px;height:48px;border-radius:14px;background:#e8f5fc;color:#087eb7;display:grid;place-items:center;font-size:22px}
.proof-grid article:nth-child(2) .proof-icon{background:#eaf8f2;color:#169569}
.proof-grid article:nth-child(3) .proof-icon{background:#f2edff;color:#7859d8}
.proof-grid article:nth-child(4) .proof-icon{background:#fff0e4;color:#ef782e}
.proof-grid strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:23px;line-height:1.15;color:#0c2d45}
.proof-grid small{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.4}

/* editorial intro */
.editorial-intro{padding:92px 0;background:#fff}
.editorial-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:90px;align-items:end}
.section-label{display:inline-block;color:#087eb7;margin-bottom:16px}
.section-label.light{color:#b9ecff}
.editorial-grid h2,.story-heading h2,.future-head h2,.premium-section-head h2,.branches-head h2{font-family:Georgia,"Times New Roman",serif;color:#092a43;letter-spacing:-.03em}
.editorial-grid h2{font-size:clamp(42px,4.4vw,62px);line-height:1.05;margin:0}.editorial-grid h2 em{color:#0b8fc2;font-weight:400}
.editorial-grid p{margin:0;color:#627686;font-size:17px;line-height:1.8}.text-link{display:inline-flex;gap:8px;margin-top:20px;color:#087eb7;font-weight:800;font-size:13px}.text-link:hover{gap:12px}

/* Vision / Mission — stable 2-column layout, no timeline collision */
.premium-story{padding:105px 0 115px;background:#f8fafb}
.story-heading{text-align:center;max-width:900px;margin:0 auto 64px}
.story-heading h2{font-size:clamp(40px,4.2vw,58px);line-height:1.08;margin:0}
.premium-story .story-timeline{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);grid-template-rows:auto auto;grid-template-areas:"visionImage line visionCopy" "missionCopy line missionImage";gap:54px 30px;max-width:1120px;margin:0 auto;align-items:center}
.premium-story .story-line{grid-area:line;position:absolute!important;left:50%!important;top:0!important;bottom:0!important;width:2px!important;transform:translateX(-50%)!important;background:#b8ddee!important;pointer-events:none}
.premium-story .story-line i{position:absolute!important;left:50%!important;transform:translate(-50%,-50%)!important;width:16px!important;height:16px!important;border-radius:50%!important;background:#fff!important;border:3px solid #0b8ac3!important;box-shadow:0 0 0 7px #edf6fa!important}
.premium-story .story-line i:nth-child(1){top:12%!important}.premium-story .story-line i:nth-child(2){top:50%!important}.premium-story .story-line i:nth-child(3){top:88%!important}
.story-vision-image{grid-area:visionImage}.story-vision-copy{grid-area:visionCopy}.story-mission-copy{grid-area:missionCopy}.story-mission-image{grid-area:missionImage}
.premium-story .story-vision-image,.premium-story .story-mission-image{width:100%;overflow:hidden;border-radius:18px;background:#eaf3f7;box-shadow:var(--shadow)}
.premium-story .story-vision-image img,.premium-story .story-mission-image img,.premium-story .story-placeholder{width:100%;height:360px;object-fit:cover;display:block}
.premium-story .story-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#e8f4fa,#cde8f4);color:#0b7eb2;font-size:30px;font-weight:900}
.premium-story .story-vision-copy,.premium-story .story-mission-copy{padding:18px 12px;max-width:440px}
.premium-story .story-mission-copy{justify-self:end}
.premium-story .story-portrait{width:64px;height:64px;border-radius:50%;object-fit:cover;padding:3px;background:#fff;box-shadow:0 0 0 7px #eaf3f8}
.story-number{display:block;margin:18px 0 7px;color:#0a84bd;font-size:11px;letter-spacing:.18em;font-weight:900}
.premium-story .story-vision-copy h2,.premium-story .story-mission-copy h2{font-family:Georgia,"Times New Roman",serif;color:#0d2b43;font-size:clamp(34px,3.2vw,46px);line-height:1.05;margin:0 0 14px}
.premium-story .story-vision-copy p,.premium-story .story-mission-copy p{color:#627787;font-size:16px;line-height:1.8;margin:0}

/* academic pathways */
.premium-programs{padding:110px 0;background:#fff}
.premium-programs .future-head{text-align:center;max-width:800px;margin:0 auto 50px}
.premium-programs .future-head h2{font-size:clamp(42px,4.2vw,58px);line-height:1.05;margin:0 0 18px}.premium-programs .future-head h2 em{font-weight:400;color:#078bbd}
.premium-programs .future-head p{margin:0 auto;color:#647989;max-width:690px;font-size:17px;line-height:1.75}
.program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.program-card{position:relative;min-height:390px;overflow:hidden;border-radius:20px;background:linear-gradient(135deg,#0a6e9d,#092d4a);box-shadow:var(--shadow);isolation:isolate}
.program-card.wide{grid-column:1/-1;min-height:300px}
.program-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .5s ease}
.program-card:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(5,29,47,.02) 28%,rgba(5,29,47,.82) 100%)}
.program-card:hover img{transform:scale(1.04)}
.program-copy{position:absolute;z-index:2;left:28px;right:28px;bottom:26px;color:#fff}
.program-index{font-size:12.5px;letter-spacing:.16em;font-weight:900;color:#b9ebff}.program-copy h3{font-family:Georgia,"Times New Roman",serif;font-size:30px;line-height:1.05;margin:8px 0}.program-copy p{max-width:460px;margin:0 0 10px;color:#edf6fa;line-height:1.6}.program-copy b{font-size:12px;display:inline-flex;gap:7px}

/* latest stories */
.stories-section{padding:105px 0;background:var(--soft)}
.section-head,.premium-section-head{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:34px}
.premium-section-head h2{font-size:clamp(38px,3.7vw,52px);line-height:1.08;margin:0}
.stories-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.story-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px;min-height:260px;box-shadow:0 9px 28px rgba(6,36,58,.04);display:flex;flex-direction:column}
.story-card-top{display:flex;justify-content:space-between;gap:10px;color:#6c7f8d;font-size:11px}.story-card-top span{color:#087eb7;font-weight:900;letter-spacing:.12em}.story-card h3{font-family:Georgia,"Times New Roman",serif;font-size:25px;line-height:1.16;margin:18px 0 10px}.story-card p{color:#647786;line-height:1.7;margin:0 0 18px}.story-card a{margin-top:auto;color:#087eb7;font-weight:800;font-size:12px}

/* Branch explorer inspired by Narayana's clean campus locator */
.premium-branches{position:relative;padding:110px 0;background:linear-gradient(135deg,#2bb7b7,#0c697b 70%,#07516d);overflow:hidden;color:#fff}
.premium-branches:before,.premium-branches:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.18);border-radius:50%;pointer-events:none}.premium-branches:before{width:480px;height:480px;right:-180px;top:-190px}.premium-branches:after{width:390px;height:390px;left:-190px;bottom:-170px}
.premium-branches .wrap{position:relative;z-index:2}
.branches-head{text-align:center;max-width:800px;margin:0 auto 30px}.branches-head h2{font-size:clamp(42px,4vw,58px);line-height:1.06;color:#fff;margin:0 0 14px}.branches-head h2 em{font-weight:400;color:#d5fffb}.branches-head p{margin:0 auto;color:#def4f4;max-width:720px;font-size:16px;line-height:1.75}
.branch-filters{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:0 auto 18px}.branch-filters select{min-width:210px;max-width:100%;height:44px;border:0;border-radius:9px;background:#fff;color:#243b49;padding:0 40px 0 14px;box-shadow:0 7px 22px rgba(0,41,53,.10)}
.branch-explorer{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);height:500px;max-width:1040px;margin:0 auto;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 26px 70px rgba(0,47,57,.28)}
.branch-explorer iframe{width:100%;height:100%;border:0}.branch-list{overflow:auto;padding:10px;background:#f6fafc}.branch-item{display:block;width:100%;border:0;border-bottom:1px solid #e0e9ed;background:transparent;padding:16px 14px;text-align:left;color:#163244}.branch-item:hover,.branch-item.active{background:#e8f5f6;border-radius:10px}.branch-item small{display:block;color:#0a8892;font-size:12.5px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.branch-item b{display:block;margin:5px 0;font-size:14px}.branch-item span{display:block;color:#687c88;line-height:1.45;font-size:12px}.branch-item strong{display:block;margin-top:8px;color:#087b85;font-size:11px}

/* gallery */
.gallery-showcase{padding:105px 0;background:#f9f6f0}
.premium-album-grid{display:grid;grid-template-columns:1.25fr .85fr .85fr;grid-auto-rows:250px;gap:14px}
.album-card{position:relative;display:block;background:#0c3450;border-radius:16px;overflow:hidden;border:1px solid var(--line);min-height:220px}
.premium-album-grid .album-card{border:0;min-height:0}.premium-album-grid .album-card.featured{grid-row:span 2}.premium-album-grid .album-card img,.premium-album-grid .album-empty{width:100%;height:100%;object-fit:cover}.premium-album-grid .album-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(3,22,38,.84))}.premium-album-grid .album-card>div:last-child{position:absolute;z-index:2;left:22px;right:22px;bottom:20px;color:#fff}.premium-album-grid .album-card span{font-size:12px;letter-spacing:.14em;font-weight:900;color:#cfeaf7}.premium-album-grid .album-card h3{font-family:Georgia,"Times New Roman",serif;font-size:25px;margin:5px 0}.premium-album-grid .album-card b{font-size:11px}
.album-empty{display:grid;place-items:center;background:linear-gradient(135deg,#0c6f9e,#15a7c8);color:#fff;font-size:38px;font-weight:900}

/* admissions banner */
.admissions-banner{padding:80px 0;background:linear-gradient(115deg,#06243b,#0b5677 62%,#0b7f91);color:#fff}
.admissions-banner-inner{display:flex;align-items:center;justify-content:space-between;gap:50px}.admissions-banner h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,4vw,56px);line-height:1.06;margin:0 0 13px}.admissions-banner p{margin:0;color:#d8eaf1;font-size:16px}.admissions-banner-actions{display:flex;gap:10px;flex:0 0 auto}.button.white{background:#fff;color:#0a3858}.button.outline-white{border-color:rgba(255,255,255,.46);color:#fff;background:transparent}

/* inner page hero */
.page-hero{position:relative;overflow:hidden;padding:90px 0;background:radial-gradient(circle at 82% 15%,rgba(34,151,196,.32),transparent 28%),linear-gradient(135deg,#05243b,#0b5c84);color:#fff}.page-hero.compact{padding:68px 0}.page-hero:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.10);border-radius:50%;right:-100px;bottom:-250px}.page-hero .wrap{position:relative;z-index:1}.page-hero .eyebrow{color:#96dcf5}.page-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5vw,66px);line-height:1.04;margin:12px 0 14px;max-width:900px}.page-hero p{font-size:17px;line-height:1.7;max-width:760px;color:#dbeef5}
.section{padding:90px 0}.soft{background:var(--soft)}.narrow{width:min(900px,calc(100% - 48px));margin-inline:auto}.prose{font-size:17px;line-height:1.85;color:#415a6a}.prose h2,.prose h3{font-family:Georgia,"Times New Roman",serif;color:#0b2a42}.prose h2{font-size:34px}.prose a{color:#087eb7;text-decoration:underline}.prose img{border-radius:14px;box-shadow:var(--shadow)}.content-block{margin-top:54px}

/* documents */
.doc-grid{display:grid;gap:14px}.doc-card{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.doc-card>span{width:46px;height:46px;border-radius:12px;background:#fff0ee;color:#b42318;display:grid;place-items:center;font-weight:900}.doc-card div{flex:1;min-width:0}.doc-card b,.doc-card small{display:block}.doc-card small{color:var(--muted);margin-top:4px}.doc-card strong{color:#087eb7}.inline-document{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}.inline-document-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px}.inline-document-head small{display:block;color:var(--muted);margin-top:3px}.inline-document-head a{color:#087eb7;font-weight:800}.inline-document iframe{width:100%;height:700px;border:0;border-top:1px solid var(--line)}

/* FAQ */
.faq-wrap{max-width:940px}.faq-search{margin-bottom:30px}.faq-search input{width:100%;padding:15px 17px;border:1px solid #cadbe5;border-radius:12px;outline:none;background:#fff}.faq-search input:focus{border-color:#0c8fc6;box-shadow:0 0 0 4px rgba(12,143,198,.10)}.faq-group{margin-bottom:34px}.faq-group h2{font-family:Georgia,"Times New Roman",serif;font-size:29px}.faq-item{border:1px solid var(--line);border-radius:12px;margin-bottom:10px;background:#fff;overflow:hidden}.faq-item summary{list-style:none;padding:18px 20px;font-weight:800;display:flex;justify-content:space-between;gap:20px}.faq-item summary::-webkit-details-marker{display:none}.faq-item>div{padding:0 20px 20px;color:#5b7080;line-height:1.7}

/* gallery page/detail */
.album-grid:not(.premium-album-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.album-grid:not(.premium-album-grid) .album-card img,.album-grid:not(.premium-album-grid) .album-empty{width:100%;height:240px;object-fit:cover}.album-grid:not(.premium-album-grid) .album-card>div:last-child{padding:18px;background:#fff}.album-grid:not(.premium-album-grid) h3{margin:0 0 5px}.album-grid:not(.premium-album-grid) span{color:var(--muted);font-size:12px}.gallery-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.gallery-photo{position:relative;padding:0;border:0;border-radius:14px;overflow:hidden;background:#eef4f7}.gallery-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}.gallery-photo:hover img{transform:scale(1.02)}.gallery-photo span{position:absolute;left:0;right:0;bottom:0;padding:28px 13px 12px;background:linear-gradient(transparent,rgba(0,0,0,.65));color:#fff;font-size:12px}.gallery-lightbox{width:min(1100px,94vw);border:0;border-radius:14px;padding:0;background:#061e31;color:#fff}.gallery-lightbox::backdrop{background:rgba(3,18,31,.88)}.gallery-lightbox img{max-height:78vh;width:100%;object-fit:contain}.gallery-lightbox p{padding:0 18px 18px}.gallery-lightbox>button{position:absolute;right:12px;top:12px;width:38px;height:38px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;font-size:23px}
.empty-public{border:1px dashed #b8cbd6;border-radius:14px;padding:25px;color:var(--muted);background:#fff}

/* contact */
.contact-page{padding:78px 0;background:var(--soft)}.contact-heading{text-align:center;max-width:780px;margin:0 auto 38px}.contact-heading h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,4vw,58px);margin:0 0 12px}.contact-heading p{color:#657a89}.contact-shell{display:grid;grid-template-columns:1fr 1fr;max-width:1100px;margin:auto;background:#eaf5fb;border-radius:20px;padding:20px;gap:20px;box-shadow:var(--shadow)}.contact-form{background:#fff;border-radius:14px;padding:28px;display:grid;gap:15px}.contact-types{display:flex;gap:18px;flex-wrap:wrap;font-size:13px}.contact-form label{display:grid;gap:7px;font-size:13px;font-weight:700}.contact-form input,.contact-form textarea{width:100%;border:1px solid #cbdbe5;border-radius:9px;padding:12px 13px;outline:none}.contact-form textarea{min-height:110px;resize:vertical}.contact-form input:focus,.contact-form textarea:focus{border-color:#0b8ec4;box-shadow:0 0 0 3px rgba(11,142,196,.08)}.consent{grid-template-columns:auto 1fr!important;align-items:flex-start;font-weight:400!important}.consent input{width:auto}.contact-submit{justify-self:start;background:#0a87bf;color:#fff}.contact-info{display:flex;flex-direction:column;padding:28px;border-radius:14px}.contact-lines p{display:flex;gap:12px;align-items:flex-start;color:#425b6a;line-height:1.5}.contact-info iframe{margin-top:auto;width:100%;height:330px;border:0;border-radius:12px}
.public-alert{max-width:1100px;margin:0 auto 20px;padding:13px 15px;border-radius:10px}.public-alert.success{background:#e9f9f0;color:#167449}.public-alert.danger{background:#fff0ef;color:#a7342c}

/* footer */
footer{background:#051e31;color:#9eb6c4;padding:60px 0 20px}.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:50px}.footbrand .brand-mark{border-color:#fff;color:#fff;background:transparent}.footbrand b{color:#fff}.footbrand small{color:#94b7ca}.footer-grid h4{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#fff}.footer-grid p,.footer-grid a{line-height:1.8}.copyright{margin-top:42px;padding-top:20px;border-top:1px solid rgba(255,255,255,.10);font-size:11px;color:#7996a8}

/* floating controls */
.to-top{position:fixed;right:24px;bottom:24px;z-index:80;width:46px;height:46px;border-radius:50%;border:1px solid #d9e5ec;background:#fff;color:#0a4c70;font-size:18px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s}.to-top.show{opacity:1;pointer-events:auto;transform:none}
.assistant-launch{position:fixed;right:24px;bottom:84px;z-index:81;width:58px;height:58px;padding:0;border:0;border-radius:20px;background:linear-gradient(145deg,#073a58,#0b8fc4);color:#fff;display:grid;place-items:center;box-shadow:0 18px 42px rgba(4,71,109,.34);font-size:20px;transition:transform .18s,box-shadow .18s}.assistant-launch:hover{transform:translateY(-2px);box-shadow:0 22px 48px rgba(4,71,109,.4)}.assistant{position:fixed;right:24px;bottom:154px;z-index:120;width:min(410px,calc(100vw - 30px));height:min(650px,calc(100vh - 185px));min-height:520px;border:1px solid #d5e3eb;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 34px 100px rgba(3,28,47,.32);display:grid;grid-template-rows:auto auto 1fr auto auto}.assistant[hidden]{display:none}.assistant>header{min-height:78px;background:linear-gradient(120deg,#062f4a,#07577a);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:15px 17px}.assistant-identity{display:flex;align-items:center;gap:11px}.assistant-avatar{width:43px!important;height:43px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:#fff!important;color:#07577a!important;overflow:hidden;font-size:16px;font-weight:900}.assistant-avatar img{width:100%;height:100%;object-fit:contain;padding:5px}.assistant>header b{display:block;font-size:14px}.assistant>header small{display:flex!important;align-items:center;gap:6px;color:#c8e5f0!important;font-size:12.5px;margin-top:3px}.assistant>header small i{width:7px;height:7px;border-radius:50%;background:#50d890;box-shadow:0 0 0 3px rgba(80,216,144,.12)}.assistant>header button{border:0;background:rgba(255,255,255,.08);color:#fff;font-size:22px;width:36px;height:36px;border-radius:11px}.assistant-intro{padding:12px 16px;background:#eef8fc;border-bottom:1px solid #dae8ef}.assistant-intro span{display:block;color:#073a58;font-size:12px;font-weight:850}.assistant-intro small{display:block;color:#657d8c;font-size:12.5px;line-height:1.45;margin-top:3px}.assistant-body{overflow:auto;padding:16px;background:linear-gradient(#f6fafc,#f2f7fa);scroll-behavior:smooth}.msg{max-width:88%;padding:11px 13px;border-radius:15px;margin-bottom:11px;line-height:1.48;font-size:13.5px;white-space:pre-wrap;box-shadow:0 3px 12px rgba(28,63,83,.04)}.msg.bot{background:#fff;border:1px solid #dbe6ec;border-top-left-radius:5px;color:#29485b}.msg.user{margin-left:auto;background:linear-gradient(135deg,#087fb8,#09689a);color:#fff;border-bottom-right-radius:5px}.msg-label{display:block!important;font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:#0b8fc4;margin-bottom:5px}.msg a{display:inline-block;color:#087fb8;font-weight:850;margin-top:7px;text-decoration:none}.msg-source{display:block;color:#8a9ba6;font-size:12px;margin-top:8px;padding-top:6px;border-top:1px solid #edf2f5}.chips{display:flex;gap:6px;flex-wrap:wrap;margin:3px 0 12px}.chips button{border:1px solid #c5dfe9;background:#fff;color:#0878aa;border-radius:999px;padding:7px 10px;font-size:12.5px;font-weight:750;cursor:pointer;transition:.15s}.chips button:hover{background:#eaf7fc;border-color:#8ecbe0}.assistant>form{min-height:64px;display:flex;gap:8px;padding:9px 10px;border-top:1px solid #dce7ed;background:#fff}.assistant>form input{flex:1;min-width:0;border:1px solid #c8dbe5;border-radius:13px;padding:0 13px;outline:none;background:#fbfdfe}.assistant>form input:focus{border-color:#0b8fc4;box-shadow:0 0 0 3px rgba(11,143,196,.09)}.assistant>form button{flex:0 0 auto;border:0;border-radius:13px;background:#087fb8;color:#fff;padding:0 16px;font-weight:850}.assistant>form.sending button{opacity:.6;pointer-events:none}.assistant>footer{min-height:32px;padding:8px 14px;background:#f8fbfc;color:#718591;text-align:center;font-size:12px;border-top:1px solid #edf2f5}.assistant-shield{color:#1e9d68;font-weight:900}.typing-dots{display:flex;gap:4px;padding:5px 1px}.typing-dots i{width:6px;height:6px;background:#77a7ba;border-radius:50%;animation:assistantPulse .9s infinite ease-in-out}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes assistantPulse{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}

@media(max-width:1100px){
  .wrap{width:min(100% - 40px,1120px)}
  .utility-contact{gap:13px}.utility-contact span{display:none}
  .navitem>a{padding-inline:14px;font-size:13px}
  .proof-grid{grid-template-columns:repeat(2,1fr)}.proof-grid article:nth-child(2){border-right:0}
  .premium-story .story-timeline{grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);gap:42px 24px}
  .program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.program-card.wide{grid-column:1/-1}
  .stories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stories-grid .story-card:last-child{grid-column:1/-1}
  .premium-album-grid{grid-template-columns:1fr 1fr}.premium-album-grid .album-card.featured{grid-row:span 1;grid-column:1/-1}
}
@media(max-width:900px){
  .utility-bar{display:none}.top-inner{min-height:70px}.quick{display:none}.mobile-toggle{display:grid;place-items:center}.brand b{font-size:18px}
  .mainnav{display:none;position:absolute;left:0;right:0;top:70px;max-height:calc(100vh - 70px);overflow:auto;background:#087fb8;box-shadow:0 25px 50px rgba(2,35,53,.22)}.mainnav.open{display:block}.nav-inner{display:block}.navitem>a{height:auto;padding:15px 5vw;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.10)}
  .mega{position:static;transform:none;width:auto;border-radius:0;box-shadow:none;grid-template-columns:1fr;padding:18px 5vw;background:#076d9e}.hasdrop:hover .mega{display:none}.hasdrop:focus-within .mega{display:grid}.mega-intro,.mega-feature{display:none}
  .home-slider,.premium-hero,.premium-hero-fallback{height:620px;min-height:620px}.home-slide{background-position:62% center}.hero-shade{background:linear-gradient(90deg,rgba(4,25,42,.92),rgba(4,31,51,.65) 72%,rgba(4,31,51,.20))}.premium-slide-copy h1{font-size:54px;max-width:650px}.slider-arrow,.hero-scroll{display:none}
  .editorial-grid{grid-template-columns:1fr;gap:25px;align-items:start}
  .premium-story .story-timeline{display:grid;grid-template-columns:1fr;grid-template-areas:"visionImage" "visionCopy" "missionImage" "missionCopy";gap:26px}.premium-story .story-line{display:none}.premium-story .story-mission-copy{justify-self:start}.premium-story .story-vision-copy,.premium-story .story-mission-copy{max-width:720px;padding:6px 0}
  .branch-explorer{grid-template-columns:1fr;height:auto}.branch-explorer iframe{height:380px}.branch-list{max-height:350px}
  .contact-shell{grid-template-columns:1fr}.contact-info iframe{height:300px}.footer-grid{grid-template-columns:1fr 1fr}.footbrand{grid-column:1/-1}
  .album-grid:not(.premium-album-grid),.gallery-detail{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .wrap{width:calc(100% - 28px)}
  .top-inner{min-height:64px}.mainnav{top:64px;max-height:calc(100vh - 64px)}.brand-mark{width:40px;height:40px}.brand b{font-size:15px}.brand small{display:none}
  .home-slider,.premium-hero,.premium-hero-fallback{height:570px;min-height:570px}.premium-slide-copy{padding:35px 0}.premium-slide-copy h1{font-size:43px;line-height:1.03}.premium-slide-copy>p{font-size:15px;line-height:1.65}.hero-actions{flex-direction:column;width:min(100%,310px)}.hero-actions .button{width:100%}.hero-meta{display:none}
  .proof-grid{grid-template-columns:1fr 1fr}.proof-grid article{padding:17px 12px;gap:10px}.proof-icon{width:40px;height:40px;border-radius:12px}.proof-grid strong{font-size:18px}.proof-grid small{font-size:12.5px}
  .editorial-intro,.premium-story,.premium-programs,.stories-section,.premium-branches,.gallery-showcase{padding:72px 0}.editorial-grid h2,.story-heading h2,.future-head h2,.premium-section-head h2,.branches-head h2{font-size:38px}.story-heading{margin-bottom:38px}.premium-story .story-vision-image img,.premium-story .story-mission-image img,.premium-story .story-placeholder{height:270px}.premium-story .story-vision-copy h2,.premium-story .story-mission-copy h2{font-size:34px}
  .program-grid,.stories-grid,.premium-album-grid{grid-template-columns:1fr}.program-card,.program-card.wide{grid-column:auto;min-height:340px}.stories-grid .story-card:last-child{grid-column:auto}.premium-album-grid .album-card.featured{grid-column:auto}.premium-album-grid{grid-auto-rows:290px}
  .section-head,.premium-section-head{align-items:flex-start;flex-direction:column}
  .branch-filters{display:grid;grid-template-columns:1fr;width:100%}.branch-filters select{width:100%;min-width:0}.branch-explorer iframe{height:300px}
  .admissions-banner{padding:65px 0}.admissions-banner-inner{align-items:flex-start;flex-direction:column}.admissions-banner-actions{width:100%;flex-direction:column}.admissions-banner-actions .button{width:100%}.admissions-banner h2{font-size:36px}
  .page-hero{padding:70px 0}.page-hero h1{font-size:42px}.section{padding:68px 0}.narrow{width:calc(100% - 28px)}
  .album-grid:not(.premium-album-grid),.gallery-detail{grid-template-columns:1fr}.album-grid:not(.premium-album-grid) .album-card img,.album-grid:not(.premium-album-grid) .album-empty{height:220px}
  .contact-shell{padding:12px;border-radius:14px}.contact-form,.contact-info{padding:20px}.footer-grid{grid-template-columns:1fr}.footbrand{grid-column:auto}
  .assistant-launch,.to-top{right:14px}.assistant{right:12px;bottom:145px;width:calc(100vw - 24px)}
}

/* v27 header search + equal gallery cards */
.header-actions{display:flex;align-items:center;gap:10px}
.header-actions .enquire{box-shadow:0 8px 22px rgba(255,111,26,.18)}
.site-search{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #d6e2e9;background:#fff;color:#0b3654;border-radius:50%;font-size:21px;line-height:1;cursor:pointer;transition:.2s ease}
.site-search:hover,.site-search:focus-visible{border-color:#0c8fc6;background:#f3fbff;color:#087db5;box-shadow:0 0 0 4px rgba(12,143,198,.10);outline:none}

.premium-album-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:18px!important;align-items:stretch}
.premium-album-grid .album-card,.premium-album-grid .album-card.featured{grid-row:auto!important;min-height:0!important;aspect-ratio:4/3;display:block;isolation:isolate}
.premium-album-grid .album-card img,.premium-album-grid .album-empty{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.premium-album-grid .album-card:after{z-index:1;background:linear-gradient(180deg,rgba(4,26,43,.02) 25%,rgba(3,22,38,.86) 100%)}
.premium-album-grid .album-card>div:last-child{z-index:2;left:20px;right:20px;bottom:18px}
.premium-album-grid .album-card h3{font-size:26px;line-height:1.1}
.premium-album-grid .album-card:hover img{transform:scale(1.035)}
.premium-album-grid .album-card img{transition:transform .35s ease}

.site-search-dialog{width:min(820px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 40px));padding:0;border:0;border-radius:20px;background:#fff;color:#0a2940;box-shadow:0 30px 90px rgba(3,24,40,.32)}
.site-search-dialog::backdrop{background:rgba(3,22,37,.72);backdrop-filter:blur(4px)}
.search-dialog-shell{padding:28px}
.search-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.search-dialog-head h2{font-family:Georgia,"Times New Roman",serif;font-size:34px;margin:5px 0 0}.search-dialog-head>button{width:42px;height:42px;border:1px solid #dbe6ec;border-radius:50%;background:#f7fafc;color:#17364b;font-size:25px;cursor:pointer}
.site-search-form{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:1px solid #cbdce6;border-radius:14px;padding:7px 8px 7px 16px;background:#fff;box-shadow:0 8px 25px rgba(5,45,70,.05)}.site-search-form>span{font-size:20px;color:#658090}.site-search-form input{width:100%;border:0;outline:0;font:inherit;font-size:16px;padding:10px 0;background:transparent}.site-search-form button{border:0;border-radius:10px;background:#078ac1;color:#fff;font-weight:800;padding:12px 19px;cursor:pointer}
.search-help{margin:10px 2px 18px;color:#708795;font-size:12px}.site-search-results{display:grid;gap:9px;overflow:auto;max-height:430px}.search-result{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:14px;border:1px solid #e0e9ee;border-radius:13px;color:#102f45;background:#fff;transition:.18s ease}.search-result:hover{transform:translateY(-1px);border-color:#b9d9e8;background:#f8fcfe}.search-result-type{display:grid;place-items:center;min-width:82px;padding:7px 9px;border-radius:999px;background:#eaf7fc;color:#087ead;font-size:12.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.search-result h3{margin:0 0 3px;font-size:15px}.search-result p{margin:0;color:#6a7f8d;font-size:12px;line-height:1.5}.search-result-arrow{font-size:20px;color:#0a8bc0}.search-empty,.search-loading{padding:30px;text-align:center;border:1px dashed #cbdce6;border-radius:13px;color:#708795;background:#fafcfd}
@media(max-width:900px){.premium-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.site-search{width:40px;height:40px}.search-dialog-shell{padding:22px}}
@media(max-width:620px){.premium-album-grid{grid-template-columns:1fr!important}.premium-album-grid .album-card{aspect-ratio:16/10}.site-search-dialog{width:calc(100vw - 18px)}.search-dialog-shell{padding:18px}.search-dialog-head h2{font-size:27px}.site-search-form{grid-template-columns:auto 1fr}.site-search-form button{grid-column:1/-1;width:100%}.search-result{grid-template-columns:1fr auto}.search-result-type{grid-column:1/-1;justify-self:start}.header-actions .enquire{display:none}}

/* v28 public header cleanup ------------------------------------------------ */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.top-inner{min-height:80px}
.header-actions{display:flex;align-items:center;gap:8px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.header-enquire{height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 18px;border-radius:8px;background:linear-gradient(135deg,#ff842c,#ff6d15);color:#fff;font-size:13px;font-weight:850;letter-spacing:.01em;box-shadow:0 9px 22px rgba(255,111,21,.20);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.header-enquire svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.header-enquire:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(255,111,21,.26);background:linear-gradient(135deg,#ff8c36,#f8660e)}
.header-enquire:hover svg{transform:translateX(2px)}
.header-search{position:relative;width:42px;height:44px;display:grid;place-items:center;padding:0;border:0!important;border-radius:8px!important;background:transparent!important;color:#0b3b5b!important;box-shadow:none!important;transition:background .18s ease,color .18s ease,transform .18s ease}
.header-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-search:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:1px;background:#dce6ec}
.header-search:hover,.header-search:focus-visible{background:#f1f7fa!important;color:#087fae!important;transform:none!important;outline:none!important;box-shadow:none!important}
/* old v27 selector must not influence the new search action */
.site-search{display:none!important}

/* The old promise/highlight strip is intentionally removed from the homepage. */
.proof-strip{display:none!important}

.site-search-dialog{border-radius:16px;box-shadow:0 32px 90px rgba(3,24,40,.28)}
.search-dialog-shell{padding:30px}
.search-dialog-head>button{border:0;background:#edf4f7}
.site-search-form{border-radius:12px;box-shadow:none}
.site-search-form button{border-radius:8px;background:#087fac}

@media(max-width:760px){
  .top-inner{min-height:68px}
  .header-enquire{height:40px;padding:0 13px;font-size:12px}
  .header-enquire svg{display:none}
  .header-search{width:38px;height:40px}
  .header-search:before{top:9px;bottom:9px}
}
@media(max-width:520px){
  .header-enquire{display:none}
  .header-search:before{display:none}
}

/* v29 dynamic school logo */
.brand-mark.has-logo{width:auto;min-width:52px;max-width:150px;height:56px;border:0!important;border-radius:0!important;background:transparent!important;padding:3px 0;display:flex;align-items:center;justify-content:flex-start;overflow:visible}
.brand-mark.has-logo img{display:block;max-width:150px;max-height:52px;width:auto;height:auto;object-fit:contain}
.feature-art.has-logo{height:104px;background:rgba(255,255,255,.96);padding:14px;display:flex;align-items:center;justify-content:center}
.feature-art.has-logo img{display:block;max-width:100%;max-height:76px;width:auto;height:auto;object-fit:contain}
.footbrand .brand-mark.has-logo{background:rgba(255,255,255,.98)!important;border-radius:10px!important;padding:7px 10px;min-width:64px;max-width:170px;height:64px}
.footbrand .brand-mark.has-logo img{max-width:150px;max-height:48px}
@media(max-width:760px){.brand-mark.has-logo{max-width:112px;height:46px}.brand-mark.has-logo img{max-width:112px;max-height:42px}.feature-art.has-logo{height:84px}.feature-art.has-logo img{max-height:60px}}


/* v31 announcements + social links */
.utility-links{display:flex;align-items:center}.utility-social{display:inline-flex;align-items:center;gap:6px;margin-left:8px;padding-left:10px;border-left:1px solid rgba(255,255,255,.22)}.utility-social .social-icon{display:grid!important;place-items:center;width:25px;height:25px;padding:0!important;border-radius:50%;background:rgba(255,255,255,.09);color:#fff;transition:.18s ease}.utility-social .social-icon:hover{background:rgba(255,255,255,.2);transform:translateY(-1px)}.utility-social svg{width:13px;height:13px;fill:currentColor;stroke:currentColor;stroke-width:1.4}.utility-social .social-instagram svg{fill:none}.utility-social .social-instagram .fill-dot{fill:currentColor;stroke:none}.utility-social .social-x svg{fill:none;stroke-width:1.8}
.site-announcements{background:#eef8fc;border-bottom:1px solid #cee6f1}.announcement-strip{display:grid;gap:0}.site-announcement{min-height:48px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:9px 0;color:#12384e}.site-announcement+ .site-announcement{border-top:1px solid #d8e9f0}.announcement-label{display:inline-flex;padding:5px 8px;border-radius:5px;background:#d8f0fa;color:#067cab;font-size:12px;font-weight:900;letter-spacing:.11em}.site-announcement>div{display:flex;align-items:baseline;gap:9px;min-width:0}.site-announcement>div b{font-size:12px;white-space:nowrap}.site-announcement>div span{font-size:12px;color:#587485;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-announcement>a{font-size:11px;font-weight:850;color:#087ead;white-space:nowrap}.site-announcement.important .announcement-label{background:#fff0cf;color:#a86100}.site-announcement.urgent{background:#fff5f5}.site-announcement.urgent .announcement-label{background:#fee2e2;color:#b91c1c}.site-announcement.urgent>div b{color:#991b1b}
.footer-social{display:flex;gap:8px;margin-top:14px}.footer-social a{display:grid!important;place-items:center;width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.08);font-size:12.5px;font-weight:900;color:#fff!important}.footer-social a:hover{background:rgba(255,255,255,.16)}
@media(max-width:900px){.utility-social{display:none}.site-announcement{grid-template-columns:auto 1fr}.site-announcement>a{grid-column:2}.site-announcement>div{display:grid;gap:2px}.site-announcement>div span{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.site-announcement>div b{white-space:normal}}
@media(max-width:620px){.site-announcement{gap:9px;padding:10px 0}.announcement-label{align-self:start}.site-announcement>a{font-size:12.5px}}

/* v38 branch-aware Contact page */
.contact-form select{width:100%;border:1px solid #cbdbe5;border-radius:9px;padding:12px 13px;background:#fff;color:var(--ink);outline:none}.contact-form select:focus{border-color:#0b8ec4;box-shadow:0 0 0 3px rgba(11,142,196,.08)}
.branch-aware-contact{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);max-width:1220px;padding:22px;gap:22px}.contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.multi-branch-contact{padding:0;overflow:hidden;background:#fff;border:1px solid rgba(20,72,103,.1)}
.selected-branch-card{padding:24px 26px 18px;background:linear-gradient(135deg,#07324c,#0a6687);color:#fff}.selected-branch-card .section-label{color:#85ddff}.selected-branch-card h3{font-family:Georgia,"Times New Roman",serif;font-size:25px;margin:5px 0 8px}.selected-branch-card p{margin:0;color:rgba(255,255,255,.82);line-height:1.55}.selected-branch-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:14px}.selected-branch-links a{color:#fff;font-weight:700;font-size:13px}.contact-branches-map{height:350px;width:100%;background:#dfeaf0;z-index:1}.contact-branch-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;max-height:260px;overflow:auto;background:#f7fbfd}.contact-branch-card{appearance:none;text-align:left;border:1px solid #d8e7ef;border-radius:12px;background:#fff;padding:14px;cursor:pointer;transition:.2s}.contact-branch-card:hover,.contact-branch-card.active{border-color:#1596c5;box-shadow:0 8px 22px rgba(7,54,79,.09);transform:translateY(-1px)}.contact-branch-card small{display:block;color:#0b8ec4;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}.contact-branch-card b{display:block;color:var(--ink);font-size:14px;margin-bottom:4px}.contact-branch-card span{display:block;color:#657a89;font-size:12px;line-height:1.45}.contact-setting-options{display:grid;gap:10px;margin:12px 0 22px}
@media(max-width:900px){.branch-aware-contact{grid-template-columns:1fr}.contact-branches-map{height:320px}}@media(max-width:620px){.contact-form-grid,.contact-branch-directory{grid-template-columns:1fr}.contact-branches-map{height:280px}.selected-branch-card{padding:20px}.contact-types{display:grid;grid-template-columns:1fr 1fr}}

/* v50 — enterprise-wide public design refinement -------------------------- */
:root{--site-enterprise-shadow:0 18px 48px rgba(7,40,61,.09);--site-enterprise-line:#dce7ed;--site-enterprise-soft:#f6f9fb}
body{font-feature-settings:"kern" 1,"liga" 1;text-rendering:optimizeLegibility}
.wrap{width:min(1180px,calc(100% - 42px))}
.topbar,.site-header,.main-nav{backdrop-filter:saturate(120%)}
.site-header{box-shadow:0 8px 28px rgba(6,40,62,.045)}
.main-nav{box-shadow:0 7px 22px rgba(6,40,62,.06)}
.main-nav a{letter-spacing:.005em}
.main-nav a,.header-enquire,.header-search{transition:all .18s ease}

/* shared public card language */
.story-card,.contact-panel,.faq-list details,.page-card,.document-card,.album-card,.career-card{border-color:var(--site-enterprise-line);box-shadow:0 10px 28px rgba(7,40,61,.045)}
.story-card:hover,.album-card:hover,.career-card:hover{box-shadow:var(--site-enterprise-shadow);transform:translateY(-2px)}

/* typography and spacing */
.section-label{font-size:12.5px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.premium-section-head,.section-head{margin-bottom:38px}
.premium-section-head h2,.story-heading h2,.future-head h2,.branches-head h2{letter-spacing:-.035em}
.premium-section-head p,.future-head p,.story-card p,.editorial-grid p{color:#637988}

/* controls */
.contact-form input,.contact-form textarea,.contact-form select,.branch-filters select,.site-search-form input{border-color:#cfdde6;box-shadow:0 1px 0 rgba(255,255,255,.8) inset}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus,.branch-filters select:focus,.site-search-form input:focus{border-color:#1595c5;box-shadow:0 0 0 4px rgba(21,149,197,.10);outline:none}

/* section rhythm */
.premium-programs,.gallery-showcase,.stories-section,.premium-story,.premium-branches,.editorial-intro{scroll-margin-top:120px}
.program-card,.premium-album-grid .album-card{transition:transform .22s,box-shadow .22s}
.program-card:hover,.premium-album-grid .album-card:hover{transform:translateY(-3px);box-shadow:0 24px 58px rgba(5,35,55,.16)}

/* footer polish */
.site-footer{border-top:1px solid rgba(255,255,255,.08)}
.site-footer a{transition:color .15s,opacity .15s,transform .15s}.site-footer a:hover{transform:translateX(2px)}

/* responsive spacing */
@media(max-width:900px){.wrap{width:min(100% - 28px,1180px)}.premium-programs,.gallery-showcase,.stories-section,.premium-story,.premium-branches,.editorial-intro{padding-top:78px;padding-bottom:78px}}
@media(max-width:620px){.wrap{width:min(100% - 20px,1180px)}.premium-programs,.gallery-showcase,.stories-section,.premium-story,.premium-branches,.editorial-intro{padding-top:62px;padding-bottom:62px}.premium-section-head,.section-head{margin-bottom:26px}}

/* v54 frontend design controls + social icon cleanup */
.navitem>a{display:flex;align-items:center;gap:6px}.nav-chevron{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}.navitem:hover>.navitem>a .nav-chevron{transform:rotate(180deg)}
.footer-social a{font-size:0}.footer-social svg{width:16px;height:16px;fill:currentColor;stroke:currentColor;stroke-width:1.4}.footer-social .social-instagram svg{fill:none}.footer-social .social-instagram .fill-dot{fill:currentColor;stroke:none}.footer-social .social-x svg{fill:none;stroke-width:1.8}

/* v93 — public website responsive quality pass */
html{overflow-x:hidden}body{min-width:0;overflow-x:hidden}img,svg,video,iframe{max-width:100%}
.site-main,.section,.wrap{min-width:0}
.contact-panel,.story-card,.program-card,.album-card,.career-card,.page-card,.document-card{min-width:0}
@media(max-width:900px){
  .mega{max-height:calc(100vh - 110px);overflow:auto}
  .premium-grid,.editorial-grid,.future-grid,.contact-grid{gap:22px}
}
@media(max-width:620px){
  .wrap{width:calc(100% - 22px)!important}
  .page-hero,.premium-section-head,.section-head{text-wrap:balance}
  .button,.header-enquire,.contact-form button{min-height:44px}
  .contact-form input,.contact-form textarea,.contact-form select,.branch-filters select{font-size:16px}
  .career-card,.story-card,.contact-panel,.page-card,.document-card{border-radius:14px}
  .footer-grid{gap:28px}
}

/* v116 public website conversion, footer and scroll-story refinement */
.admissions-banner{position:relative;overflow:hidden;background:linear-gradient(118deg,#031c31 0%,#063f5f 54%,#08768a 100%)}
.admissions-banner:before{content:"";position:absolute;inset:-20% -6% auto auto;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(66,211,228,.18),rgba(66,211,228,0) 68%);pointer-events:none}
.admissions-banner-inner{position:relative;z-index:1}
.admissions-banner h2{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.18);max-width:760px;font-weight:800}
.admissions-banner p{color:#e7f6fb!important;max-width:720px;font-size:17px;line-height:1.75}
.admissions-banner-actions{flex-wrap:wrap;justify-content:flex-end;max-width:480px}
.admissions-banner-actions .button{min-height:48px}
.admissions-banner-actions .button.white{font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.16)}

/* Sticky scroll-driven Vision & Mission timeline */
.story-scroll-section{padding-bottom:110px}
.story-scroll-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);gap:72px;align-items:start;max-width:1180px;margin:0 auto;position:relative}
.story-sticky-stage{position:sticky;top:118px;height:min(68vh,650px);min-height:500px;border-radius:26px;overflow:hidden;background:#e8f3f8;box-shadow:0 22px 60px rgba(6,42,65,.14);border:1px solid rgba(11,126,178,.14)}
.story-stage-image{position:absolute;inset:0;opacity:0;transform:scale(1.035);transition:opacity .65s ease,transform .9s cubic-bezier(.2,.75,.25,1)}
.story-stage-image.active{opacity:1;transform:scale(1)}
.story-stage-image img,.story-stage-image .story-placeholder{width:100%;height:100%;object-fit:cover;display:block}
.story-stage-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,23,39,.03) 35%,rgba(2,23,39,.78) 100%);pointer-events:none}
.story-stage-overlay{position:absolute;left:34px;right:34px;bottom:32px;z-index:3;color:#fff;display:flex;flex-direction:column;gap:6px}
.story-stage-overlay span{text-transform:uppercase;font-size:11px;letter-spacing:.17em;font-weight:900;color:#92e4ff}
.story-stage-overlay strong{font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,3vw,44px);line-height:1.08;color:#fff}
.story-scroll-copy{position:relative;padding-left:48px}
.story-rail{position:absolute;left:12px;top:0;bottom:0;width:3px;background:#dce9ef;border-radius:999px;overflow:hidden}
.story-rail-progress{display:block;width:100%;height:50%;background:linear-gradient(#12a4d8,#0a6fa3);border-radius:999px;transition:height .45s ease}
.story-scroll-step{min-height:72vh;display:flex;align-items:center;position:relative;opacity:.52;transform:translateY(12px);transition:opacity .35s ease,transform .35s ease}
.story-scroll-step:last-child{min-height:64vh}
.story-scroll-step.active{opacity:1;transform:none}
.story-step-marker{position:absolute;left:-50px;top:50%;transform:translateY(-50%);width:29px;height:29px;border-radius:50%;background:#fff;border:2px solid #b9d7e5;display:grid;place-items:center;z-index:2;box-shadow:0 0 0 7px #f5fafc;transition:.35s ease}
.story-step-marker span{font-size:12px;font-weight:900;color:#688396}
.story-scroll-step.active .story-step-marker{border-color:#078bc4;background:#078bc4;box-shadow:0 0 0 8px #e6f5fb}
.story-scroll-step.active .story-step-marker span{color:#fff}
.story-step-card{width:100%;padding:34px 0}
.story-step-card .story-portrait{width:68px;height:68px;margin-bottom:22px}
.story-step-card .story-number{margin:0 0 10px;color:#078bc4;font-size:11px;letter-spacing:.2em}
.story-step-card h2{font-family:Georgia,"Times New Roman",serif;color:#092a43;font-size:clamp(36px,3.4vw,52px);line-height:1.06;margin:0 0 18px}
.story-step-card p{font-size:17px;line-height:1.9;color:#60798a;margin:0;max-width:520px}

/* Expanded institutional footer */
.institutional-footer{padding:64px 0 20px;background:linear-gradient(180deg,#061f33,#041827)}
.footer-grid-expanded{grid-template-columns:minmax(240px,1.45fr) repeat(4,minmax(125px,1fr));gap:42px}
.footer-grid-expanded>div{min-width:0}
.footer-grid-expanded h4{margin:4px 0 16px;color:#fff;font-size:11px;letter-spacing:.16em}
.footer-grid-expanded a{display:block;color:#afc5d2;margin:0 0 8px;line-height:1.55;transition:color .2s ease,transform .2s ease}
.footer-grid-expanded a:hover{color:#fff;transform:translateX(2px)}
.footer-grid-expanded p{color:#91aaba;line-height:1.7;margin:0}
.footer-intro{margin-top:20px!important;max-width:300px}
.footer-primary-link{color:#7ee4ff!important;font-weight:900}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.footer-legal{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.footer-legal a{color:#8fa9b8}
.footer-social{margin-top:16px;display:flex;gap:8px}
.footer-social .social-icon{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:9px;margin:0;background:rgba(255,255,255,.04)}

@media(max-width:1000px){
  .story-scroll-layout{grid-template-columns:1fr;gap:30px}
  .story-sticky-stage{top:88px;height:52vh;min-height:380px}
  .story-scroll-copy{padding-left:44px}
  .story-scroll-step{min-height:55vh}.story-scroll-step:last-child{min-height:48vh}
  .footer-grid-expanded{grid-template-columns:1.4fr repeat(2,1fr)}
  .footer-grid-expanded .footbrand{grid-column:1/-1}
}
@media(max-width:700px){
  .story-scroll-section{padding-bottom:70px}
  .story-sticky-stage{position:relative;top:auto;height:360px;min-height:0}
  .story-scroll-step,.story-scroll-step:last-child{min-height:auto;padding:38px 0}
  .story-scroll-copy{padding-left:38px}.story-step-marker{left:-42px}
  .story-stage-overlay{left:22px;right:22px;bottom:22px}
  .footer-grid-expanded{grid-template-columns:1fr 1fr;gap:32px 24px}.footer-grid-expanded .footbrand{grid-column:1/-1}
}
@media(max-width:480px){.footer-grid-expanded{grid-template-columns:1fr}.footer-grid-expanded .footbrand{grid-column:auto}.footer-bottom{align-items:flex-start;flex-direction:column}.footer-legal{gap:12px}.admissions-banner-actions{max-width:none}}


/* v117 public footer / CTA layout hotfix */
.footer-grid-expanded{grid-template-columns:minmax(310px,1.7fr) repeat(4,minmax(130px,1fr));gap:44px;align-items:start}
.footer-grid-expanded .footbrand{display:block;min-width:0}
.footer-brand-lockup{display:flex;align-items:center;gap:14px;min-width:0}
.footer-brand-copy{display:block;min-width:0}
.footer-brand-copy b{display:block;color:#fff;font-size:19px;line-height:1.18;white-space:normal}
.footer-brand-copy small{display:block;color:#94b7ca;font-size:12px;line-height:1.4;text-transform:uppercase;letter-spacing:.08em;font-weight:800;margin-top:4px}
.footer-intro{display:block;margin:18px 0 0!important;max-width:310px!important;color:#91aaba!important;line-height:1.7!important}
.footer-grid-expanded>div:not(.footbrand){padding-top:4px}
.footer-grid-expanded h4{white-space:nowrap}
.admissions-banner-actions{max-width:none;flex-wrap:nowrap;align-items:center}
.admissions-banner-actions .button{white-space:nowrap}
@media(max-width:1180px){
  .footer-grid-expanded{grid-template-columns:minmax(280px,1.5fr) repeat(2,minmax(150px,1fr));gap:34px}
  .footer-grid-expanded .footbrand{grid-column:1/-1}
  .admissions-banner-inner{align-items:flex-start;flex-direction:column}
  .admissions-banner-actions{justify-content:flex-start;width:100%;flex-wrap:wrap}
}
@media(max-width:700px){
  .footer-grid-expanded{grid-template-columns:1fr 1fr;gap:32px 24px}
  .footer-grid-expanded .footbrand{grid-column:1/-1}
  .footer-brand-lockup{align-items:flex-start}
  .footer-intro{max-width:420px!important}
  .admissions-banner-actions{flex-direction:column;align-items:stretch}
  .admissions-banner-actions .button{width:100%}
}
@media(max-width:480px){
  .footer-grid-expanded{grid-template-columns:1fr}
  .footer-grid-expanded .footbrand{grid-column:auto}
}


/* v119 — text-first Vision & Mission + visible footer socials */
.story-text-layout{grid-template-columns:minmax(360px,.82fr) minmax(0,1.18fr);gap:86px;align-items:start}
.story-text-nav{padding-left:50px}
.story-text-nav .story-scroll-step{min-height:44vh;display:flex;align-items:center}
.story-title-card{padding:28px 26px;border:1px solid #d7e6ee;border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(5,43,68,.055);transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease}
.story-scroll-step.active .story-title-card{border-color:#22a7d7;box-shadow:0 20px 46px rgba(7,111,153,.12);transform:translateX(4px)}
.story-title-card h2{margin:8px 0 14px;font-size:clamp(34px,4vw,54px);line-height:1.02}
.story-title-card .story-portrait{width:58px;height:58px;margin-bottom:16px}
.story-read-cue{display:inline-flex;align-items:center;gap:9px;color:#587183;font-weight:800;font-size:13px}.story-scroll-step.active .story-read-cue{color:#0787b9}
.story-introduction-stage{position:sticky;top:118px;min-height:500px;border-radius:26px;border:1px solid #d7e6ee;background:linear-gradient(145deg,#f8fcfe,#eef7fb);box-shadow:0 22px 60px rgba(6,42,65,.09);overflow:hidden;display:grid;align-items:center;padding:clamp(36px,5vw,72px)}
.story-introduction{grid-area:1/1;opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .35s ease,transform .35s ease}
.story-introduction.active{opacity:1;transform:none;pointer-events:auto}
.story-introduction h3{font-family:var(--cms-heading-font);font-size:clamp(38px,5vw,64px);line-height:1.02;margin:14px 0 24px;color:#082f49}
.story-introduction p{font-size:clamp(17px,1.7vw,21px);line-height:1.85;color:#526b7e;max-width:680px;margin:0}
.footer-social .social-icon{color:#e6f7ff!important}
.footer-social .social-icon svg{display:block;width:17px;height:17px;overflow:visible}
.footer-social .social-facebook svg,.footer-social .social-youtube svg,.footer-social .social-linkedin svg{fill:currentColor;stroke:none}
.footer-social .social-instagram svg{fill:none;stroke:currentColor;stroke-width:1.8}
.footer-social .social-instagram .fill-dot{fill:currentColor;stroke:none}
.footer-social .social-x svg{fill:none;stroke:currentColor;stroke-width:1.8}
@media(max-width:900px){.story-text-layout{grid-template-columns:1fr;gap:30px}.story-text-nav{padding-left:42px}.story-text-nav .story-scroll-step{min-height:0;margin-bottom:22px}.story-introduction-stage{position:relative;top:auto;min-height:340px}.story-title-card{width:100%}}
@media(max-width:620px){.story-text-nav{padding-left:34px}.story-introduction-stage{padding:30px 24px;border-radius:20px}.story-title-card{padding:22px 20px}.story-title-card h2{font-size:36px}}

/* v120 — premium editorial Vision & Mission redesign */

.vm-editorial{padding:92px 0 84px;background:linear-gradient(180deg,#fbfdff 0%,#f7fbfd 100%);overflow:clip}
.vm-heading{text-align:center;max-width:980px;margin:0 auto 56px}
.vm-heading .section-label{display:block;margin-bottom:12px;color:#0c73bb;font-size:13px;letter-spacing:.09em;font-weight:900}
.vm-heading h2{margin:0;color:#0b2f4a;font-family:var(--cms-heading-font);font-size:clamp(46px,5vw,68px);line-height:1.02;letter-spacing:-.025em;font-weight:800}
.vm-heading h2 em{font-style:italic;color:#237cc1;font-weight:inherit}
.vm-heading p{max-width:760px;margin:20px auto 0;color:#607387;font-size:18px;line-height:1.7}
.vm-experience{display:grid;grid-template-columns:118px minmax(0,1fr);gap:42px;max-width:1120px;margin:0 auto;align-items:start}
.vm-timeline{position:sticky;top:132px;height:590px;padding:66px 0 62px;display:flex;flex-direction:column;justify-content:space-between;z-index:2}
.vm-timeline-line{position:absolute;left:18px;top:36px;bottom:36px;width:2px;background:#d6e2ea;border-radius:999px;overflow:hidden}
.vm-timeline-progress{display:block;width:100%;height:50%;background:#1c8ed1;border-radius:999px;transition:height .6s cubic-bezier(.22,.61,.36,1)}
.vm-marker{position:relative;display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;width:116px;padding:0;border:0;background:transparent;text-align:left;cursor:pointer;color:#9baab5;font-family:inherit}
.vm-marker:before{content:"";position:absolute;left:8px;top:7px;width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #b9cad5;box-shadow:0 0 0 5px #f8fbfd;transition:.35s ease}
.vm-marker span{grid-column:2;font-size:17px;font-weight:900;line-height:1;color:#9aa9b5;transition:color .3s ease}
.vm-marker small{grid-column:2;margin-top:7px;font-size:12.5px;line-height:1.25;letter-spacing:.08em;font-weight:900;color:#8293a0;white-space:nowrap;transition:color .3s ease}
.vm-marker.active:before{background:#1f8fd0;border-color:#1f8fd0;box-shadow:0 0 0 6px #e7f4fb}
.vm-marker.active span,.vm-marker.active small{color:#0b78b2}
.vm-items{display:flex;flex-direction:column;gap:34px;min-width:0}
.vm-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.38fr);gap:34px;align-items:stretch;min-height:270px;opacity:.72;transform:translateY(12px);transition:opacity .6s ease,transform .6s ease}
.vm-item.active{opacity:1;transform:none}
.vm-image{margin:0;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#eaf3f7;box-shadow:0 10px 28px rgba(7,45,68,.09)}
.vm-image img{width:100%;height:100%;display:block;object-fit:cover;transform:scale(1.01);transition:transform .65s ease}
.vm-item.active .vm-image img{transform:scale(1)}
.vm-image-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#e7f2f7,#d8e9f1);color:#87a6b6;font-size:12px;font-weight:900;letter-spacing:.18em}
.vm-copy-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);gap:20px;align-content:center;padding:36px 38px;background:#fff;border-radius:16px;border:1px solid #e6edf2;border-right:4px solid #258dce;box-shadow:0 12px 32px rgba(7,45,68,.065)}
.vm-copy-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#eaf5fb;color:#1e8acb;align-self:start}
.vm-copy-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vm-copy{max-width:520px;padding:0}
.vm-copy .section-label{display:block;margin:0 0 8px;color:#0b7fb8;font-size:11px;letter-spacing:.1em;font-weight:900}
.vm-copy h3{margin:0 0 20px;color:#0b2f4a;font-family:var(--cms-heading-font);font-size:clamp(34px,3.2vw,48px);line-height:1.08;letter-spacing:-.02em}
.vm-copy p{margin:0;color:#607387;font-size:16px;line-height:1.78}
.vm-link{display:inline-flex;align-items:center;gap:8px;margin-top:24px;color:#087fc1;font-size:14px;font-weight:900;text-decoration:none}
.vm-link span{transition:transform .2s ease}.vm-link:hover span{transform:translateX(4px)}
.vm-stats{max-width:1044px;margin:54px auto 0;padding:20px 28px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e1ebf0;border-radius:16px;box-shadow:0 12px 30px rgba(7,45,68,.06)}
.vm-stat{display:flex;align-items:center;justify-content:center;gap:15px;min-height:70px;padding:6px 20px;border-right:1px solid #dce7ed}
.vm-stat:last-child{border-right:0}
.vm-stat-icon{width:40px;height:40px;display:grid;place-items:center;color:#187fc1}
.vm-stat strong{display:block;color:#0b2f4a;font-size:29px;line-height:1.05;font-weight:900}
.vm-stat small{display:block;margin-top:5px;color:#607387;font-size:12px;line-height:1.3}
.vm-stat-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1024px){
  .vm-editorial{padding:76px 0 68px}.vm-heading{margin-bottom:44px}.vm-experience{grid-template-columns:92px minmax(0,1fr);gap:24px}.vm-timeline{height:520px}.vm-item{grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr);gap:26px}.vm-copy-card{padding:30px 28px;grid-template-columns:50px minmax(0,1fr);gap:16px}.vm-copy-icon{width:50px;height:50px}.vm-stats{grid-template-columns:repeat(2,1fr)}.vm-stat:nth-child(2){border-right:0}.vm-stat:nth-child(-n+2){border-bottom:1px solid #dce7ed}
}
@media(max-width:760px){
  .vm-editorial{padding:62px 0}.vm-heading{text-align:left;margin-bottom:34px}.vm-heading h2{font-size:clamp(38px,11vw,52px)}.vm-heading h2 br{display:none}.vm-heading p{font-size:16px;margin-top:16px}
  .vm-experience{display:block}.vm-timeline{position:sticky;top:72px;height:auto;min-height:0;padding:10px 4px 14px;margin:0 0 22px;display:grid;grid-template-columns:1fr 1fr;gap:12px;background:rgba(248,251,253,.95);backdrop-filter:blur(12px);border-bottom:1px solid #e4edf2}
  .vm-timeline-line{left:12px;right:12px;top:auto;bottom:6px;width:auto;height:2px}.vm-timeline-progress{width:50%;height:100%!important;transition:width .6s cubic-bezier(.22,.61,.36,1)}
  .vm-marker{width:auto;grid-template-columns:32px 1fr}.vm-marker:before{display:none}.vm-marker span{font-size:14px}.vm-marker small{font-size:12px;margin-top:4px}
  .vm-items{gap:30px}.vm-item{grid-template-columns:1fr;gap:18px;min-height:0;opacity:1;transform:none}.vm-image{aspect-ratio:4/3}.vm-copy-card{grid-template-columns:46px minmax(0,1fr);padding:26px 22px;gap:14px}.vm-copy-icon{width:46px;height:46px}.vm-copy h3{font-size:38px;margin-bottom:14px}.vm-copy p{font-size:15.5px;line-height:1.72}.vm-link{margin-top:18px}
  .vm-stats{grid-template-columns:1fr 1fr;margin-top:42px;padding:10px}.vm-stat{padding:16px 12px;justify-content:flex-start}.vm-stat:nth-child(odd){border-right:1px solid #dce7ed}.vm-stat:nth-child(even){border-right:0}.vm-stat:nth-child(-n+2){border-bottom:1px solid #dce7ed}
}
@media(max-width:480px){.vm-copy-card{grid-template-columns:1fr}.vm-copy-icon{width:42px;height:42px}.vm-stats{grid-template-columns:1fr}.vm-stat,.vm-stat:nth-child(odd),.vm-stat:nth-child(even){border-right:0;border-bottom:1px solid #dce7ed}.vm-stat:last-child{border-bottom:0}.vm-marker small{white-space:normal}}
@media(prefers-reduced-motion:reduce){.vm-item,.vm-image img,.vm-timeline-progress,.vm-marker:before,.vm-marker span,.vm-marker small{transition:none!important}.vm-item{opacity:1;transform:none}}

/* v122 Vision & Mission dimensional lock: prevent intrinsic image sizes from changing the grid. */
@media (min-width: 761px){
  .vm-experience{max-width:1120px}
  .vm-items{min-width:0;width:100%}
  .vm-item{
    grid-template-columns:minmax(0,368px) minmax(0,1fr);
    gap:34px;
    min-height:0;
    width:100%;
    align-items:stretch;
  }
  .vm-image{
    width:368px;
    height:282px;
    min-width:0;
    max-width:100%;
    aspect-ratio:auto;
    align-self:stretch;
  }
  .vm-image img{
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center;
  }
  .vm-copy-card{
    height:282px;
    min-width:0;
    box-sizing:border-box;
    overflow:hidden;
  }
}
@media (min-width:761px) and (max-width:1050px){
  .vm-item{grid-template-columns:minmax(0,330px) minmax(0,1fr);gap:26px}
  .vm-image{width:330px;height:254px}
  .vm-copy-card{height:254px;padding:26px 28px}
  .vm-copy h3{font-size:clamp(32px,4vw,42px);margin-bottom:14px}
  .vm-copy p{font-size:15px;line-height:1.62}
  .vm-link{margin-top:16px}
}
@media (max-width:760px){
  .vm-image{width:100%;height:auto;aspect-ratio:4/3;min-width:0}
  .vm-image img{width:100%;height:100%;object-fit:cover}
  .vm-copy-card{height:auto;min-width:0}
}

/* v125 structured page builder */
.pb-section{padding:64px 0}.pb-section:nth-of-type(even){background:#f7fbfe}.pb-section-head{max-width:760px;margin-bottom:24px}.pb-eyebrow{display:block;margin-bottom:8px;font-size:12px;font-weight:900;letter-spacing:.16em;color:var(--cms-accent-color,#148bc1)}.pb-section-head h2{margin:0;font-family:var(--cms-heading-font);font-size:clamp(30px,4vw,48px);line-height:1.08;color:#082b45}.pb-intro{max-width:800px;margin:-10px 0 26px;color:#60788c;font-size:1.05em;line-height:1.75}.pb-table-wrap{overflow:auto;border:1px solid #d9e6ef;border-radius:14px;background:#fff;box-shadow:0 14px 32px rgba(18,58,82,.06)}.pb-table{width:100%;border-collapse:collapse;min-width:620px}.pb-table th{padding:14px 16px;background:#eef6fa;text-align:left;color:#36556a;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.pb-table td{padding:15px 16px;border-top:1px solid #e6eef4;color:#233d50}.pb-table td a{color:#078bc4;font-weight:800;text-decoration:none}.pb-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pb-link-card{display:flex;min-height:170px;flex-direction:column;justify-content:space-between;padding:22px;border:1px solid #d9e6ef;border-radius:16px;background:#fff;text-decoration:none;color:#0a2c45;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.pb-link-card:hover{transform:translateY(-3px);border-color:#78c4e6;box-shadow:0 16px 34px rgba(13,66,96,.09)}.pb-link-card h3{margin:0 0 8px}.pb-link-card p{margin:0;color:#60788c;line-height:1.65}.pb-link-card>span{margin-top:18px;color:#078bc4;font-weight:900}.pb-image-text{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:center}.pb-image-right .pb-image{order:2}.pb-image img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;box-shadow:0 18px 38px rgba(14,57,83,.12)}.pb-copy .prose{max-width:680px}.pb-cta{padding:42px;border-radius:18px;background:linear-gradient(125deg,#082f4a,#0e7894);color:#fff}.pb-cta .pb-section-head h2,.pb-cta .pb-eyebrow{color:#fff!important}.pb-cta p{max-width:760px;font-size:1.06em;line-height:1.7;color:#dceef5}.pb-cta-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.pb-resource{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid #d9e6ef;border-radius:14px;background:#fff;text-decoration:none;color:#0b2e47}.pb-resource>span{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#e8f5fb;color:#067fab;font-weight:900}.pb-resource div{display:grid;gap:3px;flex:1}.pb-resource small{color:#6c8294}.pb-resource strong{color:#078bc4}.pb-gallery-feature{display:grid;grid-template-columns:minmax(280px,42%) 1fr;overflow:hidden;border:1px solid #d9e6ef;border-radius:18px;background:#fff;text-decoration:none;color:#0a2d46}.pb-gallery-feature img{width:100%;height:100%;min-height:280px;object-fit:cover}.pb-gallery-feature div{padding:34px;align-self:center}.pb-gallery-feature h3{font-size:30px;margin:0 0 10px}.pb-gallery-feature p{color:#60788c;line-height:1.7}.pb-gallery-feature span{color:#078bc4;font-weight:900}.pb-faq-list{display:grid;gap:10px}.pb-faq-list details{border:1px solid #d9e6ef;border-radius:12px;background:#fff;padding:0 18px}.pb-faq-list summary{padding:17px 0;font-weight:800;cursor:pointer}.pb-faq-list details div{padding:0 0 18px;color:#61798c;line-height:1.7}.pb-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));border:1px solid #d9e6ef;border-radius:16px;background:#fff;overflow:hidden}.pb-stats>div{padding:24px;text-align:center;border-right:1px solid #e2ebf1}.pb-stats>div:last-child{border-right:0}.pb-stats strong{display:block;font-size:34px;color:#0a2d46}.pb-stats span{display:block;margin-top:5px;color:#60788c}.page-legacy-public+.pb-section{padding-top:32px}
@media(max-width:900px){.pb-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pb-image-text,.pb-gallery-feature{grid-template-columns:1fr}.pb-image-right .pb-image{order:0}.pb-gallery-feature img{min-height:240px}.pb-section{padding:48px 0}}
@media(max-width:620px){.pb-link-grid{grid-template-columns:1fr}.pb-section{padding:38px 0}.pb-cta{padding:26px 20px}.pb-cta-actions{display:grid}.pb-cta-actions .button{width:100%;text-align:center}.pb-resource{align-items:flex-start;flex-wrap:wrap}.pb-resource strong{width:100%;padding-left:64px}.pb-stats{grid-template-columns:1fr 1fr}.pb-stats>div:nth-child(2n){border-right:0}.pb-stats>div{border-bottom:1px solid #e2ebf1}.pb-gallery-feature div{padding:24px}}

/* v94 - final public website responsive system */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,iframe{max-width:100%;height:auto}
.wrap,.site-main,.mainnav,.nav-inner,.top-inner,.utility-inner{min-width:0;max-width:100%}

@media (max-width:1100px){
  .wrap{width:min(100% - 36px,1180px)}
  .top-inner{gap:14px}
  .header-actions{gap:8px}
  .navitem>a{padding-inline:14px}
  .premium-hero,.home-slider,.premium-hero-fallback{height:min(620px,72vh);min-height:520px}
  .premium-slide-copy h1{max-width:680px}
  .premium-story .story-timeline{gap:34px 22px}
  .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:900px){
  .wrap{width:calc(100% - 30px)}
  .utility-bar{display:none}
  .top-inner{min-height:68px}
  .brand{min-width:0}
  .brand b{max-width:46vw;overflow:hidden;text-overflow:ellipsis}
  .header-actions{margin-left:auto;min-width:0}
  .mobile-toggle{display:grid;place-items:center}
  .mainnav{top:68px;max-height:calc(100dvh - 68px);z-index:120}
  .nav-inner{display:block}
  .navitem>a{padding:15px 5vw;white-space:normal;min-height:54px}
  .mega{width:auto;max-width:none;max-height:none;padding:16px 5vw}
  .mega-links a{padding:12px 0}
  .home-slider,.premium-hero,.premium-hero-fallback{height:min(620px,78dvh);min-height:520px}
  .slide-copy,.premium-slide-copy{padding:42px 0}
  .premium-slide-copy h1{font-size:clamp(42px,7.5vw,58px);max-width:690px}
  .premium-slide-copy>p{font-size:16px;max-width:620px}
  .editorial-grid,.contact-shell,.contact-grid,.branch-aware-contact{grid-template-columns:1fr!important}
  .editorial-grid{gap:28px}
  .premium-story .story-timeline{grid-template-columns:1fr;grid-template-areas:"visionImage" "visionCopy" "missionImage" "missionCopy";gap:24px}
  .premium-story .story-line{display:none}
  .story-vision-copy,.story-mission-copy{max-width:760px!important;padding:4px 0!important}
  .branch-explorer{grid-template-columns:1fr;height:auto}
  .branch-explorer iframe{height:360px}
  .branch-list{max-height:380px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footbrand{grid-column:1/-1}
  .program-grid,.stories-grid,.premium-grid,.album-grid:not(.premium-album-grid),.gallery-detail{grid-template-columns:repeat(2,minmax(0,1fr))}
  .program-card.wide,.stories-grid .story-card:last-child{grid-column:1/-1}
  .pb-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pb-image-text,.pb-gallery-feature{grid-template-columns:1fr}
}

@media (max-width:640px){
  .wrap{width:calc(100% - 22px)!important}
  .top-inner{min-height:64px}
  .brand-mark{width:40px;height:40px}
  .brand b{font-size:15px;max-width:58vw}
  .brand small{display:none}
  .mobile-toggle{width:42px;height:42px}
  .mainnav{top:64px;max-height:calc(100dvh - 64px)}
  .navitem>a{padding:14px 11px}
  .home-slider,.premium-hero,.premium-hero-fallback{height:min(590px,78dvh);min-height:500px}
  .slide-copy,.premium-slide-copy{padding:34px 0}
  .hero-kicker{font-size:12.5px}
  .premium-slide-copy h1{font-size:clamp(36px,11vw,46px);line-height:1.03;margin-top:14px}
  .premium-slide-copy>p{font-size:15px;line-height:1.62}
  .hero-actions{display:grid!important;grid-template-columns:1fr;width:min(100%,340px);gap:9px}
  .hero-actions .button{width:100%;min-height:46px}
  .hero-meta{display:none}
  .proof-grid{grid-template-columns:1fr 1fr}
  .proof-grid article{padding:15px 10px;gap:9px}
  .proof-icon{width:38px;height:38px}
  .proof-grid strong{font-size:17px}
  .proof-grid small{font-size:12px}
  .editorial-intro,.premium-story,.premium-programs,.stories-section,.premium-branches,.gallery-showcase{padding:58px 0}
  .editorial-grid h2,.story-heading h2,.future-head h2,.premium-section-head h2,.branches-head h2{font-size:clamp(34px,10vw,40px)}
  .premium-story .story-vision-image img,.premium-story .story-mission-image img,.premium-story .story-placeholder{height:auto;aspect-ratio:4/3;object-fit:cover}
  .premium-story .story-vision-copy h2,.premium-story .story-mission-copy h2{font-size:31px}
  .program-grid,.stories-grid,.premium-grid,.album-grid:not(.premium-album-grid),.gallery-detail{grid-template-columns:1fr!important}
  .program-card,.program-card.wide,.stories-grid .story-card:last-child{grid-column:auto!important;min-height:310px}
  .premium-album-grid{grid-template-columns:1fr!important;grid-auto-rows:250px}
  .premium-album-grid .album-card.featured{grid-column:auto!important}
  .section-head,.premium-section-head{align-items:flex-start;flex-direction:column;gap:12px}
  .branch-filters{display:grid;grid-template-columns:1fr!important;width:100%}
  .branch-filters select{width:100%;min-width:0}
  .branch-explorer iframe{height:285px}
  .branch-list{max-height:330px}
  .selected-branch-links{display:grid;grid-template-columns:1fr}
  .contact-form-grid,.contact-branch-directory{grid-template-columns:1fr!important}
  .contact-branches-map{height:275px}
  .selected-branch-card{padding:19px 18px}
  .selected-branch-card h3{font-size:22px}
  .admissions-banner{padding:56px 0}
  .admissions-banner-inner{align-items:flex-start;flex-direction:column}
  .admissions-banner-actions{display:grid!important;grid-template-columns:1fr;width:100%;max-width:none}
  .admissions-banner-actions .button{width:100%}
  .admissions-banner h2{font-size:34px}
  .admissions-banner p{font-size:15px}
  .page-hero{padding:58px 0}
  .page-hero h1{font-size:clamp(34px,10vw,42px)}
  .section{padding:58px 0}
  .narrow{width:calc(100% - 22px)}
  .footer-grid{grid-template-columns:1fr}
  .footbrand{grid-column:auto}
  .footer-social{flex-wrap:wrap}
  .site-announcement{grid-template-columns:auto minmax(0,1fr)!important}
  .site-announcement>a{grid-column:2}
  .site-announcement>div span{display:block;white-space:normal;overflow:visible}
  .header-actions .enquire{display:none}
  .pb-section{padding:38px 0}
  .pb-link-grid{grid-template-columns:1fr!important}
  .pb-cta{padding:24px 18px}
  .pb-cta-actions{display:grid}
  .pb-cta-actions .button{width:100%}
  .pb-resource{align-items:flex-start;flex-wrap:wrap}
  .pb-resource strong{width:100%;padding-left:62px}
  .pb-stats{grid-template-columns:1fr 1fr}
  .pb-stats>div:nth-child(2n){border-right:0}
  .pb-stats>div{border-bottom:1px solid #e2ebf1}
  .pb-gallery-feature div{padding:22px}
}

@media (max-width:420px){
  .wrap{width:calc(100% - 18px)!important}
  .brand b{max-width:54vw}
  .home-slider,.premium-hero,.premium-hero-fallback{min-height:480px}
  .premium-slide-copy h1{font-size:35px}
  .hero-actions{width:100%}
  .proof-grid{grid-template-columns:1fr}
  .proof-grid article{border-left:1px solid var(--line)!important}
  .premium-story .story-vision-copy h2,.premium-story .story-mission-copy h2{font-size:29px}
  .contact-types{grid-template-columns:1fr!important}
  .pb-stats{grid-template-columns:1fr}
  .pb-stats>div,.pb-stats>div:nth-child(2n){border-right:0}
  .pb-stats>div:last-child{border-bottom:0}
}

@media (orientation:landscape) and (max-width:900px){
  .home-slider,.premium-hero,.premium-hero-fallback{height:min(92dvh,620px);min-height:430px}
  .premium-slide-copy h1{font-size:clamp(36px,6vw,52px)}
  .mainnav{max-height:calc(100dvh - 64px)}
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* Enterprise accessibility and layout-stability defaults. */
img{max-width:100%;height:auto}
button,a,input,select,textarea,summary{touch-action:manipulation}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid rgba(8,127,184,.42);outline-offset:3px}


/* Enterprise school concierge: compact branded header, clear prompt areas and mobile-safe composer. */
.assistant{width:min(390px,calc(100vw - 28px));height:min(620px,calc(100dvh - 170px));min-height:min(500px,calc(100dvh - 110px));border-radius:20px;grid-template-rows:auto auto minmax(0,1fr) auto auto;box-shadow:0 28px 80px rgba(3,28,47,.30)}
.assistant>header{min-height:70px;padding:13px 15px;background:linear-gradient(125deg,#101827,#1c3042)}
.assistant-identity{min-width:0}.assistant-identity>div{min-width:0}.assistant>header b{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;letter-spacing:.01em}
.assistant>header small{font-size:12px!important}.assistant>header button{flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:transparent;font-size:20px;cursor:pointer}.assistant>header button:hover{background:rgba(255,255,255,.12)}
.assistant-intro{padding:11px 15px;background:#f5f8fa}.assistant-intro span{font-size:11.5px}.assistant-intro small{font-size:12px;line-height:1.4}
.assistant-body{min-height:0;padding:14px;background:#f4f7f9}.msg{max-width:91%;font-size:12px}.msg.bot{border-radius:13px 13px 13px 4px}.msg.user{border-radius:13px 13px 4px 13px}
.chips{gap:7px;margin:8px 0 12px}.chips button{padding:7px 10px;font-size:12px;line-height:1.2}
.assistant>form{min-height:58px;padding:8px 10px;align-items:center}.assistant>form input{height:40px;font-size:11px}.assistant>form button{height:40px;padding:0 14px;border-radius:11px;background:#087fb8!important;color:#fff!important;white-space:nowrap}.assistant>form button:hover{background:#066996!important;color:#fff!important}
.assistant>footer{min-height:29px;padding:7px 10px;font-size:11px}
@media(max-width:600px){.assistant{right:10px;bottom:calc(82px + env(safe-area-inset-bottom));width:calc(100vw - 20px);height:min(620px,calc(100dvh - 125px - env(safe-area-inset-bottom)));min-height:430px;border-radius:17px}.assistant-launch{right:14px;bottom:calc(14px + env(safe-area-inset-bottom))}.assistant>header{min-height:64px}.assistant-avatar{width:38px!important;height:38px!important;border-radius:12px!important}}

.assistant-result-list{display:grid;gap:7px;margin-top:10px}.assistant-result-card{display:grid;gap:3px;padding:10px;border:1px solid #dce6eb;border-radius:11px;background:#fff}.assistant-result-card>b{color:#183a50;font-size:11px;line-height:1.35}.assistant-result-card small{color:#738594;font-size:12px;line-height:1.35}.assistant-result-card .assistant-result-meta{color:#287756;font-weight:800}.assistant-result-card>a{justify-self:start;margin-top:4px;padding:6px 9px;border:1px solid #d8e4e9;border-radius:8px;background:#f6fafb;color:#226982;font-size:12px;font-weight:850;text-decoration:none}.assistant-result-card>a:hover{background:#e9f4f7;border-color:#bdd5df}

/* ==========================================================================
   v420 FRONTEND WEBSITE ENTERPRISE BEAUTIFICATION
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 24px rgba(6, 36, 58, 0.06) !important;
}
.utility-bar {
  background: linear-gradient(90deg, #07192b 0%, #0f2942 50%, #1e3a8a 100%) !important;
  font-weight: 500 !important;
}
.mainnav {
  background: linear-gradient(90deg, #0b4667 0%, #067db7 50%, #0284c7 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
.quick .enquire {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}
.quick .enquire:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.38) !important;
}
.program-card,
.story-card,
.album-card,
.doc-card,
.faq-item,
.contact-form,
.selected-branch-card,
.contact-branch-card {
  border-radius: 20px !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}
.story-card:hover,
.album-card:hover,
.doc-card:hover,
.contact-branch-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 48px rgba(6, 36, 58, 0.12) !important;
}
.admissions-banner {
  background: radial-gradient(900px 450px at 85% 20%, rgba(56, 189, 248, 0.25), transparent 60%),
              linear-gradient(135deg, #07192b 0%, #0c2b48 55%, #0284c7 100%) !important;
}
.institutional-footer {
  background: linear-gradient(180deg, #07192b 0%, #04101c 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}


/* ==========================================================================
   v480 FRONTEND WEBSITE REDESIGN & BEAUTIFICATION
   ========================================================================== */

/* --- 1. Global Polish & High-DPI Typography --- */
body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* --- 2. Header & Glassmorphic Navigation --- */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.06) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.site-header.scrolled {
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12) !important;
}

/* Utility Bar */
.utility-bar {
  background: linear-gradient(90deg, #031525 0%, #082640 50%, #0c385c 100%) !important;
  color: #e2e8f0 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.01em !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.utility-inner {
  height: 42px !important;
}
.utility-contact a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 0.2s ease !important;
  font-weight: 500 !important;
}
.utility-contact a:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}
.utility-links a {
  padding: 4px 12px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  color: #e2e8f0 !important;
}
.utility-links a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #38bdf8 !important;
}
.utility-social .social-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transition: all 0.2s ease !important;
}
.utility-social .social-icon:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.08) !important;
}

/* Topline & Brand */
.top-inner {
  min-height: 82px !important;
}
.brand b {
  font-size: 22px !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
}
.brand small {
  color: #0284c7 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
.brand-mark {
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15) !important;
}

/* Header Action Buttons */
.header-enquire {
  height: 46px !important;
  padding: 0 22px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease !important;
}
.header-enquire:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35) !important;
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%) !important;
}
.header-enquire svg {
  transition: transform 0.2s ease !important;
}
.header-enquire:hover svg {
  transform: translateX(3px) !important;
}
.header-search {
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #334155 !important;
  transition: all 0.2s ease !important;
}
.header-search:hover {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border-color: #bae6fd !important;
}

/* Main Navigation Bar */
.mainnav {
  background: linear-gradient(90deg, #082845 0%, #0d4670 50%, #0369a1 100%) !important;
  box-shadow: 0 6px 20px rgba(8, 40, 69, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}
.nav-inner {
  min-height: 54px !important;
}
.navitem > a {
  position: relative !important;
  height: 54px !important;
  padding: 0 22px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  letter-spacing: 0.01em !important;
  transition: all 0.2s ease !important;
}
.navitem > a:hover,
.navitem:focus-within > a {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}
.navitem > a:after {
  content:  !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 20px !important;
  right: 20px !important;
  height: 3px !important;
  background: #38bdf8 !important;
  border-radius: 3px 3px 0 0 !important;
  transform: scaleX(0) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.navitem > a:hover:after,
.navitem:focus-within > a:after {
  transform: scaleX(1) !important;
}
.mega {
  background: linear-gradient(135deg, #072744 0%, #0c3e66 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: 0 35px 90px rgba(3, 20, 36, 0.4) !important;
  backdrop-filter: blur(20px) !important;
}

/* --- 3. Hero Section (Ultra-Premium Lighting & Typography) --- */
.home-slider,
.premium-hero,
.premium-hero-fallback {
  min-height: 640px !important;
  height: clamp(620px, 70vw, 760px) !important;
  background: linear-gradient(135deg, #031525 0%, #082d4c 50%, #0369a1 100%) !important;
}
.hero-shade {
  background: radial-gradient(1200px 650px at 78% 25%, rgba(14, 165, 233, 0.25), transparent 70%),
              linear-gradient(90deg, rgba(3, 18, 32, 0.95) 0%, rgba(4, 25, 45, 0.85) 45%, rgba(6, 38, 68, 0.5) 75%, rgba(6, 38, 68, 0.18) 100%) !important;
}
.hero-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  background: rgba(14, 165, 233, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  backdrop-filter: blur(10px) !important;
  color: #7dd3fc !important;
  font-size: 11.5px !important;
  letter-spacing: 0.16em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}
.hero-kicker span {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
  box-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf8 !important;
  animation: pulseDot 2s infinite !important;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.premium-slide-copy h1 {
  font-size: clamp(40px, 5.2vw, 72px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em !important;
  margin: 18px 0 !important;
  max-width: 820px !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
  font-weight: 800 !important;
}
.premium-slide-copy > p {
  font-size: clamp(17px, 1.8vw, 20px) !important;
  line-height: 1.7 !important;
  color: #f1f5f9 !important;
  max-width: 700px !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
}
.hero-actions {
  margin-top: 36px !important;
  gap: 16px !important;
}
.button.primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 16px 28px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
}
.button.primary:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.45) !important;
}
.button.glass {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  backdrop-filter: blur(12px) !important;
  border-radius: 12px !important;
  padding: 16px 28px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease !important;
}
.button.glass:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-3px) scale(1.02) !important;
}
.hero-meta {
  margin-top: 36px !important;
  gap: 16px !important;
}
.hero-meta span {
  background: rgba(15, 23, 42, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  backdrop-filter: blur(10px) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}
.hero-meta span:before {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
  box-shadow: 0 0 8px #38bdf8 !important;
}
.slider-arrow {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  color: #0369a1 !important;
  font-size: 32px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
.slider-arrow:hover {
  background: #ffffff !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
}
.slider-dots {
  gap: 10px !important;
  bottom: 28px !important;
}
.slider-dots button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, 0.4) !important;
  border: 0 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.slider-dots button.active {
  width: 32px !important;
  background: #38bdf8 !important;
  box-shadow: 0 0 12px #38bdf8 !important;
}

/* --- 4. Editorial Intro --- */
.editorial-intro {
  padding: 100px 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.editorial-grid h2 {
  font-size: clamp(38px, 4.4vw, 56px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
}
.editorial-grid h2 em {
  color: #0284c7 !important;
  font-style: italic !important;
}
.editorial-grid p {
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: #475569 !important;
}
.text-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0284c7 !important;
  transition: gap 0.2s ease, color 0.2s ease !important;
}
.text-link:hover {
  gap: 14px !important;
  color: #0369a1 !important;
}

/* --- 5. Vision & Mission Section --- */
.vm-editorial {
  padding: 110px 0 100px !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}
.vm-heading h2 {
  font-size: clamp(42px, 4.6vw, 62px) !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
}
.vm-heading h2 em {
  color: #0284c7 !important;
}
.vm-copy-card {
  border-radius: 22px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06) !important;
  padding: 38px 42px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.vm-copy-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1) !important;
}
.vm-image {
  border-radius: 22px !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.09) !important;
}
.vm-image img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.vm-item:hover .vm-image img {
  transform: scale(1.04) !important;
}
.vm-stats {
  margin-top: 64px !important;
  border-radius: 22px !important;
  padding: 24px 32px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.07) !important;
}
.vm-stat strong {
  font-size: 34px !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  line-height: 1.05 !important;
}
.vm-stat small {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-top: 6px !important;
}
.vm-stat-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  background: #e0f2fe !important;
  color: #0284c7 !important;
}

/* --- 6. Academic Pathways / Programs --- */
.premium-programs {
  padding: 110px 0 !important;
  background: #ffffff !important;
}
.future-head h2 {
  font-size: clamp(40px, 4.4vw, 60px) !important;
  color: #0f172a !important;
  letter-spacing: -0.025em !important;
}
.future-head h2 em {
  color: #0284c7 !important;
}
.program-card {
  border-radius: 24px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
  overflow: hidden !important;
}
.program-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18) !important;
}
.program-copy h3 {
  font-size: 32px !important;
  line-height: 1.08 !important;
  margin: 10px 0 !important;
}
.program-index {
  display: inline-block !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(8px) !important;
  color: #38bdf8 !important;
  font-weight: 900 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.15em !important;
}

/* --- 7. Stories, News & Events --- */
.stories-section {
  padding: 110px 0 !important;
  background: #f8fafc !important;
}
.story-card {
  border-radius: 22px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
  padding: 30px !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.story-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1) !important;
  border-color: #cbd5e1 !important;
}
.story-card-top span {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.08em !important;
}
.story-card-top time {
  color: #64748b !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}
.story-card h3 {
  font-size: 24px !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  margin: 16px 0 12px !important;
}
.story-card p {
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}
.story-card a {
  font-weight: 800 !important;
  color: #0284c7 !important;
  font-size: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: gap 0.2s ease !important;
}
.story-card:hover a {
  gap: 10px !important;
  color: #0369a1 !important;
}

/* --- 8. Campuses & Branches Explorer --- */
.premium-branches {
  padding: 110px 0 !important;
  background: linear-gradient(135deg, #051c2c 0%, #0b3b56 50%, #0369a1 100%) !important;
}
.branch-filters select {
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  height: 48px !important;
}
.branch-explorer {
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 80px rgba(3, 20, 36, 0.35) !important;
}
.branch-item {
  padding: 18px 20px !important;
  transition: all 0.2s ease !important;
}
.branch-item:hover,
.branch-item.active {
  background: #e0f2fe !important;
}
.branch-item small {
  color: #0284c7 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}
.branch-item b {
  font-size: 15px !important;
  color: #0f172a !important;
}

/* --- 9. Media Gallery Showcase --- */
.gallery-showcase {
  padding: 110px 0 !important;
  background: #f8fafc !important;
}
.premium-album-grid .album-card {
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}
.premium-album-grid .album-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16) !important;
}
.premium-album-grid .album-card span {
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  color: #38bdf8 !important;
}

/* --- 10. Admissions Call-to-Action Banner --- */
.admissions-banner {
  padding: 90px 0 !important;
  background: radial-gradient(1100px 550px at 85% 20%, rgba(56, 189, 248, 0.28), transparent 65%),
              linear-gradient(135deg, #031525 0%, #072744 50%, #0284c7 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
.admissions-banner h2 {
  font-size: clamp(38px, 4.4vw, 56px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}
.admissions-banner p {
  font-size: 18px !important;
  color: #e2e8f0 !important;
}
.button.white {
  background: #ffffff !important;
  color: #0369a1 !important;
  border-radius: 12px !important;
  padding: 16px 28px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
}
.button.white:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3) !important;
}
.button.outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 16px 28px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease !important;
}
.button.outline-white:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  transform: translateY(-3px) scale(1.02) !important;
}

/* --- 11. Institutional Footer --- */
.institutional-footer {
  padding: 80px 0 32px !important;
  background: linear-gradient(180deg, #031525 0%, #01070e 100%) !important;
  color: #94a3b8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.footer-grid h4 {
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  margin-bottom: 22px !important;
}
.footer-grid a {
  color: #cbd5e1 !important;
  font-size: 14.5px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  display: inline-block !important;
}
.footer-grid a:hover {
  color: #38bdf8 !important;
  transform: translateX(3px) !important;
}
.footer-social a {
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 0.2s ease !important;
}
.footer-social a:hover {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35) !important;
}
.copyright {
  margin-top: 50px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 12.5px !important;
  color: #64748b !important;
}

/* --- 12. Assistant Concierge Widget --- */
.assistant-launch {
  width: 60px !important;
  height: 60px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35) !important;
}
.assistant-launch:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.45) !important;
}
.assistant {
  border-radius: 22px !important;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.3) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}


/* ==========================================================================
   v490 CONTACT US PAGE ARCHITECTURE & CONTRAST FIXES
   ========================================================================== */

/* Contact Page Layout & Heading */
.contact-page {
  padding: 80px 0 100px !important;
  background: linear-gradient(180deg, #f8fafc 0%, #edf4f9 100%) !important;
}
.contact-heading {
  text-align: center !important;
  max-width: 820px !important;
  margin: 0 auto 46px !important;
}
.contact-heading .section-label {
  display: inline-block !important;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  background: #e0f2fe !important;
  color: #0284c7 !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  font-weight: 850 !important;
  margin-bottom: 12px !important;
}
.contact-heading h1 {
  font-family: var(--cms-heading-font), Georgia, serif !important;
  font-size: clamp(40px, 4.8vw, 60px) !important;
  font-weight: 850 !important;
  letter-spacing: -0.03em !important;
  color: #0f172a !important;
  margin: 0 0 14px !important;
}
.contact-heading p {
  color: #475569 !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  margin: 0 auto !important;
}
.contact-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
  max-width: 1240px !important;
  margin: auto !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  padding: 24px !important;
  gap: 24px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08) !important;
}
.contact-form {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 32px !important;
  display: grid !important;
  gap: 18px !important;
}

/* Contact types pills - fixing broken radio button separation */
.contact-types {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 6px !important;
}
.contact-form .contact-types label,
.contact-types label,
.contact-type-pill {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin: 0 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.contact-form .contact-types label:hover,
.contact-type-pill:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}
.contact-form .contact-types label:has(input:checked),
.contact-types label.active,
.contact-type-pill.active {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.16) !important;
}
.contact-types input[type="radio"] {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #2563eb !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}
.contact-types span {
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* Contact form inputs */
.contact-form label {
  display: grid !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  color: #1e293b !important;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100% !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 13px 16px !important;
  font-size: 14px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}
.contact-form textarea {
  min-height: 120px !important;
  resize: vertical !important;
}
.consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #475569 !important;
}
.consent input {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin-top: 2px !important;
  accent-color: #2563eb !important;
  cursor: pointer !important;
}
.contact-submit {
  justify-self: start !important;
  height: 48px !important;
  padding: 0 32px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28) !important;
  border: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.contact-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.38) !important;
}

/* Selected branch card - fixing the dark text on dark card bug */
.selected-branch-card {
  padding: 28px 30px 22px !important;
  background: linear-gradient(135deg, #072a44 0%, #0a4f70 50%, #0284c7 100%) !important;
  border-radius: 20px 20px 0 0 !important;
  color: #ffffff !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12) !important;
  position: relative !important;
  overflow: hidden !important;
}
.selected-branch-card:after {
  content: "" !important;
  position: absolute !important;
  width: 260px !important;
  height: 260px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 70%) !important;
  right: -50px !important;
  top: -50px !important;
  pointer-events: none !important;
}
.selected-branch-card .section-label {
  display: inline-block !important;
  color: #38bdf8 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.14em !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}
.selected-branch-card h3,
#selectedBranchName {
  color: #ffffff !important;
  font-family: var(--cms-heading-font), Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  margin: 4px 0 10px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}
.selected-branch-card p,
#selectedBranchAddress {
  color: #e2e8f0 !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
.selected-branch-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 14px !important;
  margin-top: 16px !important;
}
.selected-branch-links a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  font-size: 13px !important;
  backdrop-filter: blur(10px) !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.selected-branch-links a:hover {
  background: #ffffff !important;
  color: #0369a1 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
}

/* Multi branch container, map and cards */
.multi-branch-contact {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05) !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
}
.contact-branches-map {
  height: 360px !important;
  width: 100% !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.contact-branch-directory {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 16px !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  background: #f8fafc !important;
}
.contact-branch-card {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  padding: 14px 16px !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.contact-branch-card:hover,
.contact-branch-card.active {
  border-color: #0284c7 !important;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.14) !important;
  transform: translateY(-2px) !important;
  background: #f0f9ff !important;
}
.contact-branch-card small {
  display: block !important;
  color: #0284c7 !important;
  font-weight: 800 !important;
  font-size: 11.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 4px !important;
}
.contact-branch-card b {
  display: block !important;
  color: #0f172a !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}
.contact-branch-card span {
  display: block !important;
  color: #64748b !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}


/* ==========================================================================
   FRONTEND WEBSITE DESIGN TEMPLATES & POLISH (v500)
   ========================================================================== */

/* Universal Hero Title Contrast & Legibility (Fixes image_2a35be.jpg & image_2a3564.jpg) */
.page-hero {
  background: linear-gradient(135deg, #072e4a 0%, #0c4a6e 50%, #0369a1 100%) !important;
  color: #ffffff !important;
  position: relative !important;
}

.page-hero h1,
.page-hero .page-hero-title,
.site-template-modern .page-hero h1,
.site-template-heritage .page-hero h1,
.site-template-vibrant .page-hero h1,
.site-template-royal .page-hero h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45) !important;
}

.page-hero .eyebrow {
  color: #7dd3fc !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

.page-hero p {
  color: #e0f2fe !important;
  opacity: 0.95 !important;
}

/* Footer Link Spacing & Column Layout (Fixes image_2a351f.png) */
.footer-grid div a,
.footer-links-list a {
  display: block !important;
  padding: 4px 0 !important;
  margin-bottom: 6px !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
  font-size: 13.5px !important;
}

.footer-grid div a:hover,
.footer-links-list a:hover {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

.footer-links-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links-list li {
  margin: 0 0 6px 0 !important;
}

/* Floating Controls Coordination */
.assistant-launch {
  position: fixed !important;
  right: 24px !important;
  bottom: 84px !important;
  z-index: 100 !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 18px !important;
}

.to-top {
  position: fixed !important;
  right: 28px !important;
  bottom: 24px !important;
  z-index: 99 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
}

/* Gallery and Inner Page Spacing Fix */
.page-legacy-public {
  padding-bottom: 14px !important;
}

.page-legacy-public + .section {
  padding-top: 14px !important;
}

/* ==========================================================================
   COMPREHENSIVE INSTITUTIONAL WEBSITE TEMPLATES (v510)
   4 Distinct Themes: Modern Enterprise, Heritage Academy, Vibrant STEM, Royal Prestige
   ========================================================================== */

/* --------------------------------------------------------------------------
   TEMPLATE 1: MODERN ENTERPRISE CAMPUS (body.site-template-modern)
   Aesthetic: Contemporary, clean, tech-forward corporate campus.
   Palette: Sapphire Blue (#0284c7), Deep Navy (#072e4a), Slate (#f8fafc)
   -------------------------------------------------------------------------- */
body.site-template-modern {
  --cms-heading-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --cms-body-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-family: var(--cms-body-font);
  background-color: #f8fafc;
}
body.site-template-modern .site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(7, 46, 74, 0.05);
}
body.site-template-modern .utility-bar {
  background: #07263b;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.site-template-modern .utility-contact a {
  color: #e2e8f0;
}
body.site-template-modern .topline {
  background: #ffffff;
}
body.site-template-modern .brand b {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: #072e4a;
}
body.site-template-modern .header-enquire {
  background: #0284c7 !important;
  border: none !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
  transition: all 0.2s ease !important;
}
body.site-template-modern .header-enquire:hover {
  background: #0369a1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4) !important;
}
body.site-template-modern .mainnav {
  background: #082f49;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
body.site-template-modern .mainnav a {
  color: #f1f5f9;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}
body.site-template-modern .mainnav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8 !important;
}
body.site-template-modern .page-hero,
body.site-template-modern .premium-hero-fallback {
  background: linear-gradient(135deg, #072e4a 0%, #0c4a6e 55%, #0369a1 100%) !important;
}
body.site-template-modern .premium-slide-copy,
body.site-template-modern .slide-copy {
  background: rgba(7, 46, 74, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
body.site-template-modern .hero-kicker span {
  background: #38bdf8;
}
body.site-template-modern .button.primary {
  background: #0284c7 !important;
  border-radius: 12px !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}
body.site-template-modern .button.glass {
  border-radius: 12px !important;
  backdrop-filter: blur(8px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}
body.site-template-modern .section-label {
  color: #0284c7 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}
body.site-template-modern .story-card,
body.site-template-modern .program-card,
body.site-template-modern .album-card {
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(7, 46, 74, 0.06) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
body.site-template-modern .story-card:hover,
body.site-template-modern .program-card:hover,
body.site-template-modern .album-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(7, 46, 74, 0.12) !important;
}
body.site-template-modern .institutional-footer {
  background: #071a2b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}


/* --------------------------------------------------------------------------
   TEMPLATE 2: CLASSIC HERITAGE ACADEMY (body.site-template-heritage)
   Aesthetic: Prestigious British collegiate boarding school, Ivy League.
   Palette: Formal Oxford Navy (#0a1128), Rich Amber Gold (#d97706), Parchment (#fdfbf7)
   -------------------------------------------------------------------------- */
body.site-template-heritage {
  --cms-heading-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --cms-body-font: Georgia, 'Times New Roman', serif;
  font-family: var(--cms-body-font);
  background-color: #faf8f5;
  color: #1e293b;
}
body.site-template-heritage h1,
body.site-template-heritage h2,
body.site-template-heritage h3,
body.site-template-heritage h4,
body.site-template-heritage .section-head h2,
body.site-template-heritage .page-hero h1,
body.site-template-heritage .premium-slide-copy h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  letter-spacing: -0.01em;
}
body.site-template-heritage .site-header {
  background: #faf8f5;
  border-bottom: 2px solid #d97706;
  box-shadow: 0 4px 18px rgba(10, 17, 40, 0.08);
}
body.site-template-heritage .utility-bar {
  background: #0a1128;
  color: #cbd5e1;
  border-bottom: 2px solid #d97706;
}
body.site-template-heritage .utility-contact a {
  color: #fde68a !important;
  font-family: Georgia, serif;
}
body.site-template-heritage .topline {
  background: #faf8f5;
  border-bottom: 1px solid #e2d9cc;
}
body.site-template-heritage .brand b {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  color: #0a1128;
  letter-spacing: 0.02em;
}
body.site-template-heritage .brand small {
  color: #b45309;
  font-style: italic;
  font-family: Georgia, serif;
}
body.site-template-heritage .brand-mark {
  border: 2px solid #d97706 !important;
  border-radius: 6px !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}
body.site-template-heritage .header-enquire {
  background: linear-gradient(180deg, #d97706, #b45309) !important;
  border: 1px solid #92400e !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  font-family: Georgia, serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  box-shadow: 0 3px 8px rgba(180, 83, 9, 0.3) !important;
  transition: all 0.2s ease !important;
}
body.site-template-heritage .header-enquire:hover {
  background: #b45309 !important;
  box-shadow: 0 5px 14px rgba(180, 83, 9, 0.45) !important;
}
body.site-template-heritage .mainnav {
  background: #0a1128;
  border-top: 2px solid #d97706;
  border-bottom: 2px solid #d97706;
}
body.site-template-heritage .mainnav a {
  font-family: Georgia, serif !important;
  color: #f1f5f9;
  font-size: 14.5px !important;
  letter-spacing: 0.03em;
  padding: 12px 16px;
  transition: color 0.18s ease;
}
body.site-template-heritage .mainnav a:hover {
  color: #fde68a !important;
  text-shadow: 0 0 10px rgba(253, 230, 138, 0.35);
}
body.site-template-heritage .page-hero,
body.site-template-heritage .premium-hero-fallback {
  background: linear-gradient(135deg, #0a1128 0%, #1e293b 60%, #0f172a 100%) !important;
  border-bottom: 4px solid #d97706 !important;
}
body.site-template-heritage .page-hero .eyebrow,
body.site-template-heritage .hero-kicker {
  color: #fde68a !important;
  font-family: Georgia, serif !important;
  font-style: italic !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}
body.site-template-heritage .hero-kicker span {
  background: #d97706;
}
body.site-template-heritage .premium-slide-copy,
body.site-template-heritage .slide-copy {
  border: 1px solid rgba(217, 119, 6, 0.45);
  outline: 1px solid rgba(217, 119, 6, 0.2);
  outline-offset: 6px;
  border-radius: 4px;
  padding: 38px 42px;
  background: rgba(10, 17, 40, 0.78);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.65), 0 20px 45px rgba(0, 0, 0, 0.35);
}
body.site-template-heritage .button.primary {
  background: linear-gradient(180deg, #d97706, #b45309) !important;
  border: 1px solid #92400e !important;
  border-radius: 4px !important;
  font-family: Georgia, serif !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.35) !important;
}
body.site-template-heritage .button.glass {
  border: 2px solid #fde68a !important;
  border-radius: 4px !important;
  color: #fde68a !important;
  font-family: Georgia, serif !important;
  background: rgba(10, 17, 40, 0.4) !important;
}
body.site-template-heritage .section-label {
  color: #b45309 !important;
  font-family: Georgia, serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}
body.site-template-heritage .editorial-intro {
  background: #faf8f5 !important;
  border-bottom: 1px solid #e2d9cc !important;
}
body.site-template-heritage .story-card,
body.site-template-heritage .program-card,
body.site-template-heritage .album-card {
  border-radius: 4px !important;
  border: 1px solid #e2d9cc !important;
  border-top: 4px solid #d97706 !important;
  background: #ffffff !important;
  box-shadow: 0 6px 18px rgba(10, 17, 40, 0.06) !important;
}
body.site-template-heritage .program-index {
  background: #fef3c7 !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
  font-family: Georgia, serif !important;
  font-weight: 700 !important;
  border-radius: 3px !important;
}
body.site-template-heritage .vm-timeline-line {
  background: #d97706 !important;
}
body.site-template-heritage .vm-marker.active {
  background: #d97706 !important;
  border-color: #b45309 !important;
  color: #ffffff !important;
}
body.site-template-heritage .branches-section {
  background: #0a1128 !important;
  border-top: 3px solid #d97706 !important;
  border-bottom: 3px solid #d97706 !important;
}
body.site-template-heritage .admissions-banner {
  background: #0a1128 !important;
  border-top: 3px solid #d97706 !important;
  border-bottom: 3px solid #d97706 !important;
}
body.site-template-heritage .admissions-banner .button.white {
  background: linear-gradient(180deg, #d97706, #b45309) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  border: 1px solid #92400e !important;
  font-family: Georgia, serif !important;
  text-transform: uppercase !important;
}
body.site-template-heritage .institutional-footer {
  background: #0b1320 !important;
  border-top: 4px solid #d97706 !important;
  color: #e2e8f0 !important;
}
body.site-template-heritage .institutional-footer h4 {
  color: #fde68a !important;
  font-family: Georgia, serif !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
body.site-template-heritage .institutional-footer a:hover {
  color: #fde68a !important;
}


/* --------------------------------------------------------------------------
   TEMPLATE 3: VIBRANT DISCOVERY & STEM (body.site-template-vibrant)
   Aesthetic: High-energy, futuristic, innovative STEAM academy.
   Palette: Electric Cyan (#06b6d4), Vivid Azure (#2563eb), Space Slate (#031525)
   -------------------------------------------------------------------------- */
body.site-template-vibrant {
  --cms-heading-font: 'Outfit', 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --cms-body-font: 'Inter', system-ui, sans-serif;
  font-family: var(--cms-body-font);
  background-color: #f8fafc;
}
body.site-template-vibrant h1,
body.site-template-vibrant h2,
body.site-template-vibrant h3,
body.site-template-vibrant .page-hero h1,
body.site-template-vibrant .premium-slide-copy h1 {
  font-family: var(--cms-heading-font) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}
body.site-template-vibrant .site-header {
  background: #ffffff;
  border-bottom: 3px solid #06b6d4 !important;
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.12);
}
body.site-template-vibrant .utility-bar {
  background: linear-gradient(90deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%) !important;
  color: #ffffff;
  border: none;
}
body.site-template-vibrant .utility-contact a {
  color: #ffffff;
  font-weight: 600;
}
body.site-template-vibrant .brand b {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #032b43;
}
body.site-template-vibrant .brand-mark {
  background: linear-gradient(135deg, #06b6d4, #2563eb) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35) !important;
}
body.site-template-vibrant .header-enquire {
  background: linear-gradient(135deg, #06b6d4, #2563eb) !important;
  border-radius: 9999px !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  padding: 10px 22px !important;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4) !important;
  letter-spacing: 0.02em !important;
  transition: all 0.2s ease !important;
}
body.site-template-vibrant .header-enquire:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.55) !important;
}
body.site-template-vibrant .mainnav {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
body.site-template-vibrant .mainnav a {
  color: #0f172a;
  font-weight: 700;
  border-radius: 9999px;
  padding: 8px 16px;
  transition: all 0.18s ease;
}
body.site-template-vibrant .mainnav a:hover {
  background: #e0f2fe !important;
  color: #0284c7 !important;
}
body.site-template-vibrant .page-hero,
body.site-template-vibrant .premium-hero-fallback {
  background: linear-gradient(135deg, #032b43 0%, #0284c7 45%, #06b6d4 100%) !important;
}
body.site-template-vibrant .page-hero .eyebrow,
body.site-template-vibrant .hero-kicker {
  background: rgba(6, 182, 212, 0.2) !important;
  border: 1.5px solid #06b6d4 !important;
  color: #67e8f9 !important;
  border-radius: 9999px !important;
  padding: 5px 16px !important;
  font-weight: 800 !important;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.35) !important;
}
body.site-template-vibrant .hero-kicker span {
  display: none;
}
body.site-template-vibrant .premium-slide-copy,
body.site-template-vibrant .slide-copy {
  background: rgba(3, 43, 67, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(6, 182, 212, 0.35);
  border-radius: 24px;
  padding: 38px 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(6, 182, 212, 0.15);
}
body.site-template-vibrant .button.primary {
  background: linear-gradient(135deg, #06b6d4, #2563eb) !important;
  border-radius: 9999px !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 22px rgba(6, 182, 212, 0.45) !important;
}
body.site-template-vibrant .button.glass {
  border: 2px solid #67e8f9 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  backdrop-filter: blur(8px) !important;
}
body.site-template-vibrant .section-label {
  color: #0891b2 !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
}
body.site-template-vibrant .story-card,
body.site-template-vibrant .program-card,
body.site-template-vibrant .album-card {
  border-radius: 22px !important;
  border: 2px solid #e0f2fe !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08) !important;
  transition: all 0.25s ease !important;
}
body.site-template-vibrant .story-card:hover,
body.site-template-vibrant .program-card:hover,
body.site-template-vibrant .album-card:hover {
  transform: translateY(-6px) !important;
  border-color: #06b6d4 !important;
  box-shadow: 0 18px 38px rgba(6, 182, 212, 0.25) !important;
}
body.site-template-vibrant .program-index {
  background: linear-gradient(135deg, #06b6d4, #2563eb) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  font-weight: 900 !important;
}
body.site-template-vibrant .vm-timeline-line {
  background: linear-gradient(180deg, #06b6d4, #3b82f6) !important;
}
body.site-template-vibrant .vm-marker.active {
  background: #06b6d4 !important;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.6) !important;
}
body.site-template-vibrant .branches-section {
  background: #031525 !important;
  border-top: 3px solid #06b6d4 !important;
  border-bottom: 3px solid #06b6d4 !important;
}
body.site-template-vibrant .admissions-banner {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%) !important;
}
body.site-template-vibrant .admissions-banner .button.white {
  border-radius: 9999px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}
body.site-template-vibrant .institutional-footer {
  background: #04111d !important;
  border-top: 3px solid #06b6d4 !important;
}
body.site-template-vibrant .institutional-footer a:hover {
  color: #67e8f9 !important;
}


/* --------------------------------------------------------------------------
   TEMPLATE 4: ROYAL PRESTIGE & EXCELLENCE (body.site-template-royal)
   Aesthetic: Ultra-luxury, exclusive royal private academy.
   Palette: Imperial Midnight Indigo (#0f0d24), Velvet (#1e1b4b), Royal Gold (#c59b27)
   -------------------------------------------------------------------------- */
body.site-template-royal {
  --cms-heading-font: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  --cms-body-font: 'Inter', system-ui, -apple-system, sans-serif;
  font-family: var(--cms-body-font);
  background-color: #fcfbfa;
}
body.site-template-royal h1,
body.site-template-royal h2,
body.site-template-royal h3,
body.site-template-royal .page-hero h1,
body.site-template-royal .premium-slide-copy h1 {
  font-family: var(--cms-heading-font) !important;
  letter-spacing: 0.02em;
}
body.site-template-royal .site-header {
  background: #0f0d24;
  border-bottom: 2px solid #c59b27;
  color: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}
body.site-template-royal .utility-bar {
  background: #080718;
  color: #fce09b;
  border-bottom: 1px solid rgba(197, 155, 39, 0.4);
}
body.site-template-royal .utility-contact a {
  color: #fce09b;
}
body.site-template-royal .topline {
  background: #0f0d24;
  border-bottom: 1px solid rgba(197, 155, 39, 0.3);
}
body.site-template-royal .brand b {
  font-family: 'DM Serif Display', Georgia, serif;
  color: #f5eedc;
  letter-spacing: 0.05em;
  font-size: 22px;
}
body.site-template-royal .brand small {
  color: #fce09b;
  letter-spacing: 0.06em;
}
body.site-template-royal .brand-mark {
  background: linear-gradient(135deg, #fce09b, #c59b27) !important;
  border: 1.5px solid #c59b27 !important;
  border-radius: 4px !important;
  color: #0f0d24 !important;
  box-shadow: 0 0 14px rgba(197, 155, 39, 0.35) !important;
}
body.site-template-royal .header-enquire {
  background: linear-gradient(135deg, #fce09b 0%, #c59b27 50%, #9a741e 100%) !important;
  border: 1px solid #c59b27 !important;
  border-radius: 30px !important;
  color: #0f0d24 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 10px 22px !important;
  box-shadow: 0 4px 18px rgba(197, 155, 39, 0.35) !important;
  transition: all 0.2s ease !important;
}
body.site-template-royal .header-enquire:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fce09b 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(197, 155, 39, 0.5) !important;
}
body.site-template-royal .mainnav {
  background: #0a081a;
  border-bottom: 2px solid #c59b27;
}
body.site-template-royal .mainnav a {
  color: #dcd4c3;
  font-size: 13px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 18px;
  transition: color 0.18s ease;
}
body.site-template-royal .mainnav a:hover {
  color: #fce09b !important;
  text-shadow: 0 0 10px rgba(252, 224, 155, 0.45);
}
body.site-template-royal .page-hero,
body.site-template-royal .premium-hero-fallback {
  background: linear-gradient(135deg, #0a081a 0%, #1e1b4b 55%, #312e81 100%) !important;
  border-bottom: 3px solid #c59b27 !important;
}
body.site-template-royal .page-hero .eyebrow,
body.site-template-royal .hero-kicker {
  color: #fce09b !important;
  letter-spacing: 0.2em !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}
body.site-template-royal .hero-kicker span {
  background: #c59b27;
}
body.site-template-royal .premium-slide-copy,
body.site-template-royal .slide-copy {
  border: 1px solid rgba(197, 155, 39, 0.5);
  outline: 1px solid rgba(197, 155, 39, 0.25);
  outline-offset: 6px;
  border-radius: 8px;
  padding: 40px 44px;
  background: rgba(15, 13, 36, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.5);
}
body.site-template-royal .button.primary {
  background: linear-gradient(135deg, #fce09b 0%, #c59b27 50%, #9a741e 100%) !important;
  border: 1px solid #c59b27 !important;
  border-radius: 30px !important;
  color: #0f0d24 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 18px rgba(197, 155, 39, 0.35) !important;
}
body.site-template-royal .button.glass {
  border: 1.5px solid #fce09b !important;
  color: #fce09b !important;
  border-radius: 30px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: rgba(15, 13, 36, 0.5) !important;
}
body.site-template-royal .section-label {
  color: #b45309 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
}
body.site-template-royal .story-card,
body.site-template-royal .program-card,
body.site-template-royal .album-card {
  border-radius: 8px !important;
  border: 1px solid rgba(197, 155, 39, 0.35) !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(15, 13, 36, 0.06) !important;
}
body.site-template-royal .program-index {
  background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
  color: #92400e !important;
  border: 1px solid #c59b27 !important;
  font-weight: 800 !important;
  border-radius: 4px !important;
}
body.site-template-royal .vm-timeline-line {
  background: #c59b27 !important;
}
body.site-template-royal .vm-marker.active {
  background: #c59b27 !important;
  color: #0f0d24 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 14px rgba(197, 155, 39, 0.4) !important;
}
body.site-template-royal .branches-section {
  background: #0f0d24 !important;
  border-top: 2px solid #c59b27 !important;
  border-bottom: 2px solid #c59b27 !important;
}
body.site-template-royal .admissions-banner {
  background: #0f0d24 !important;
  border-top: 2px solid #c59b27 !important;
  border-bottom: 2px solid #c59b27 !important;
}
body.site-template-royal .admissions-banner .button.white {
  background: linear-gradient(135deg, #fce09b 0%, #c59b27 50%, #9a741e 100%) !important;
  color: #0f0d24 !important;
  border-radius: 30px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
body.site-template-royal .institutional-footer {
  background: #080718 !important;
  border-top: 3px solid #c59b27 !important;
  color: #dcd4c3 !important;
}
body.site-template-royal .institutional-footer h4 {
  color: #fce09b !important;
  font-family: 'DM Serif Display', Georgia, serif !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}
body.site-template-royal .institutional-footer a:hover {
  color: #fce09b !important;
}


/* ==========================================================================
   TARGETED POLISH & REFINEMENTS (v530)
   Fixes: Utility bar icons, logo styling, hero slider visibility, 
          vision/mission marker, footer logo & single-line name display
   ========================================================================== */

/* 1. Utility Contact: Remove round rectangle, clean flat typography */
.utility-contact a,
body.site-template-modern .utility-contact a,
body.site-template-heritage .utility-contact a,
body.site-template-vibrant .utility-contact a,
body.site-template-royal .utility-contact a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  opacity: 0.95 !important;
}
.utility-contact a:hover {
  background: transparent !important;
  border: none !important;
  color: #38bdf8 !important;
}

/* 2. Utility Links: Reduce excessive spacing and style icons */
.utility-inner {
  gap: 16px !important;
}
.utility-links {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.utility-links a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
}
.utility-links a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #38bdf8 !important;
}
.u-icon {
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* 3. Header Logo: Remove extra colored borders and backgrounds */
.brand-mark,
.brand-mark.has-logo,
body.site-template-heritage .brand-mark,
body.site-template-modern .brand-mark,
body.site-template-vibrant .brand-mark,
body.site-template-royal .brand-mark {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}
.brand-mark img,
.brand-mark.has-logo img {
  max-height: 52px !important;
  width: auto !important;
  display: block !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
/* Ensure header school name is bright crisp white with high contrast */
body.site-template-heritage .topline .brand b,
body.site-template-royal .topline .brand b {
  color: #ffffff !important;
  font-size: 21px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
body.site-template-heritage .topline .brand small,
body.site-template-royal .topline .brand small {
  color: #fde68a !important;
  opacity: 0.92 !important;
}

/* 4. Hero Slider Image Visibility & Elimination of Giant Dark Box */
.home-slide {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
body.site-template-modern .home-slide,
body.site-template-heritage .home-slide,
body.site-template-vibrant .home-slide,
body.site-template-royal .home-slide {
  background-color: #072e4a !important; /* fallback color only; inline background-image displays cleanly */
}
/* Remove the giant dark boxed container covering the slide image */
.slide-copy,
.premium-slide-copy,
body.site-template-modern .premium-slide-copy,
body.site-template-heritage .premium-slide-copy,
body.site-template-vibrant .premium-slide-copy,
body.site-template-royal .premium-slide-copy {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 44px 0 !important;
  max-width: 880px !important;
}
/* Soft linear gradient vignette so text is readable over any photo */
.hero-shade {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to right, rgba(5, 17, 33, 0.78) 0%, rgba(5, 17, 33, 0.45) 55%, rgba(5, 17, 33, 0.15) 100%) !important;
  z-index: 1 !important;
}

/* 5. Vision & Mission Marker: Remove odd rectangular gold box */
.vm-marker,
.vm-marker.active,
body.site-template-heritage .vm-marker,
body.site-template-heritage .vm-marker.active,
body.site-template-modern .vm-marker.active,
body.site-template-vibrant .vm-marker.active,
body.site-template-royal .vm-marker.active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 116px !important;
}
body.site-template-heritage .vm-marker.active:before {
  background: #d97706 !important;
  border-color: #d97706 !important;
  box-shadow: 0 0 0 5px rgba(217, 119, 6, 0.22) !important;
}
body.site-template-heritage .vm-marker.active span,
body.site-template-heritage .vm-marker.active small {
  color: #d97706 !important;
  background: transparent !important;
}

/* 6. Footer Logo: Remove extra white background box */
.institutional-footer .brand-mark,
.institutional-footer .brand-mark.has-logo,
.footbrand .brand-mark {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
}
.institutional-footer .brand-mark img,
.footbrand .brand-mark img {
  max-height: 52px !important;
  max-width: 140px !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
}

/* 7. Footer Layout: Prevent school name from breaking into 2 lines */
.footer-grid-expanded {
  grid-template-columns: minmax(380px, 2fr) repeat(4, minmax(130px, 1fr)) !important;
  gap: 36px !important;
}
.footer-grid-expanded .footbrand {
  min-width: 380px !important;
}
.footer-brand-lockup {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: max-content !important;
  max-width: 100% !important;
}
.footer-brand-copy {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
.footer-brand-copy b {
  white-space: nowrap !important;
  font-size: clamp(17px, 1.35vw, 22px) !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  display: block !important;
}
.footer-brand-copy small {
  white-space: nowrap !important;
  display: block !important;
  color: #94b7ca !important;
}


/* ==========================================================================
   HERO SLIDE IMAGE VISIBILITY GUARANTEE (v540)
   ========================================================================== */
.home-slider {
  position: relative !important;
  overflow: hidden !important;
}
.home-slide {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transition: opacity 0.7s ease !important;
  overflow: hidden !important;
  background-color: transparent !important;
}
.home-slide.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.home-slide-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
}
.hero-shade {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to right, rgba(5, 17, 33, 0.68) 0%, rgba(5, 17, 33, 0.35) 55%, rgba(5, 17, 33, 0.08) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
.slide-copy,
.premium-slide-copy {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 44px 0 !important;
  max-width: 880px !important;
}


/* ==========================================================================
   ENTERPRISE FOOTER, MEGA MENU ABOUT US CONTRAST & ADMISSIONS/CAREERS (v550)
   ========================================================================== */

/* 1. Mega Menu: High-contrast crisp white heading & text (Fixes image_1ed79a.jpg) */
.mega,
.mainnav .mega {
  background: #082f49 !important;
  color: #f8fafc !important;
  border-top: 2px solid #0284c7 !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45) !important;
}
.mega .mega-intro h3,
.mega h3 {
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 6px 0 10px 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}
.mega .mega-intro small {
  color: #38bdf8 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  display: block !important;
}
.mega .mega-intro p {
  color: #cbd5e1 !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}
.mega .mega-links a {
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  transition: all 0.18s ease !important;
}
.mega .mega-links a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #38bdf8 !important;
  transform: translateX(4px) !important;
}
.mega .mega-feature {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 18px !important;
  color: #ffffff !important;
}
.mega .mega-feature b {
  color: #ffffff !important;
  font-size: 16px !important;
}
.mega .mega-feature p {
  color: #94a3b8 !important;
  font-size: 12.5px !important;
}

/* Template overrides for Mega Menu */
body.site-template-heritage .mega {
  background: #0a1128 !important;
  border-top: 3px solid #d97706 !important;
}
body.site-template-heritage .mega .mega-intro h3 {
  color: #ffffff !important;
  font-family: 'Playfair Display', Georgia, serif !important;
}
body.site-template-heritage .mega .mega-intro small {
  color: #fde68a !important;
}
body.site-template-heritage .mega .mega-links a:hover {
  color: #fde68a !important;
}

/* 2. Enterprise Footer Layout & Balanced Proportions (Fixes image_1ed8b8.png) */
.institutional-footer {
  background: #071626 !important;
  color: #e2e8f0 !important;
  padding: 64px 0 32px 0 !important;
}
body.site-template-heritage .institutional-footer {
  background: #0a1128 !important;
  border-top: 4px solid #d97706 !important;
}
.footer-grid-expanded {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.4fr) minmax(130px, 0.85fr) minmax(130px, 0.85fr) minmax(130px, 0.85fr) minmax(240px, 1.35fr) !important;
  gap: 36px 28px !important;
  align-items: start !important;
}
.footer-grid-expanded .footbrand {
  min-width: 280px !important;
}
.footer-brand-lockup {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.footer-brand-copy b {
  white-space: nowrap !important;
  font-size: 19px !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  display: block !important;
}
.footer-brand-copy small {
  white-space: nowrap !important;
  display: block !important;
  color: #94b7ca !important;
  font-size: 11.5px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-top: 3px !important;
}
body.site-template-heritage .footer-brand-copy small {
  color: #fde68a !important;
}
.footer-intro {
  margin: 16px 0 0 0 !important;
  max-width: 320px !important;
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}
.footer-grid h4 {
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin: 0 0 16px 0 !important;
}
body.site-template-heritage .footer-grid h4 {
  color: #fde68a !important;
  font-family: Georgia, serif !important;
}
.footer-links-list li {
  margin-bottom: 8px !important;
}
.footer-links-list a {
  display: inline-block !important;
  color: #cbd5e1 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  padding: 2px 0 !important;
}
.footer-links-list a:hover {
  color: #38bdf8 !important;
  transform: translateX(3px) !important;
}
body.site-template-heritage .footer-links-list a:hover {
  color: #fde68a !important;
}
.footer-contact-column {
  min-width: 240px !important;
}
.footer-contact-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.footer-contact-link,
.footer-contact-address {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  color: #cbd5e1 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}
.footer-contact-link:hover {
  color: #38bdf8 !important;
}
body.site-template-heritage .footer-contact-link:hover {
  color: #fde68a !important;
}
.footer-contact-address span {
  word-break: normal !important;
  line-height: 1.55 !important;
}
.copyright.footer-bottom {
  margin-top: 48px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  color: #64748b !important;
  font-size: 12.5px !important;
}
.footer-legal a {
  color: #94a3b8 !important;
  margin-left: 18px !important;
  text-decoration: none !important;
}
.footer-legal a:hover {
  color: #f1f5f9 !important;
}

/* 3. Admissions & Careers Experience Sections */
.admissions-steps-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 20px !important;
}
.admissions-step-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 24px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}
.step-num {
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #0284c7 !important;
  line-height: 1 !important;
  margin-bottom: 12px !important;
}
body.site-template-heritage .step-num {
  color: #d97706 !important;
  font-family: Georgia, serif !important;
}
.admissions-step-card h3 {
  font-size: 17px !important;
  margin: 0 0 8px 0 !important;
  color: #0f172a !important;
}
.admissions-step-card p {
  font-size: 13px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.admissions-form-wrap {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 36px 40px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
.admissions-form-header {
  margin-bottom: 24px !important;
}
.admissions-form-header h2 {
  font-size: 28px !important;
  margin: 6px 0 !important;
  color: #0f172a !important;
}
.careers-perks-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 20px !important;
}
.career-perk-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 24px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
.perk-icon {
  font-size: 28px !important;
  display: inline-block !important;
  margin-bottom: 12px !important;
}
.career-perk-card h4 {
  font-size: 16px !important;
  margin: 0 0 8px 0 !important;
  color: #0f172a !important;
}
.career-perk-card p {
  font-size: 13px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .footer-grid-expanded {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 20px !important;
  }
  .footer-grid-expanded .footbrand {
    grid-column: 1 / -1 !important;
  }
  .footer-contact-column {
    grid-column: 1 / -1 !important;
  }
}


/* ==========================================================================
   HERO BANNER EXACT SCREEN FIT & LEFT COPY ALIGNMENT (v560)
   Fixes image stretching, removes distortion, and positions copy cleanly on the left
   ========================================================================== */
.home-slider,
.premium-hero,
.premium-hero-fallback {
  position: relative !important;
  width: 100% !important;
  height: clamp(520px, 44vw, 680px) !important;
  min-height: 500px !important;
  max-height: 700px !important;
  overflow: hidden !important;
  display: block !important;
}

.home-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

.home-slide-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  pointer-events: none !important;
  max-width: none !important;
}

/* Left-align slide copy so artwork on the right (students / building) remains unobstructed */
.slide-copy,
.premium-slide-copy,
body.site-template-modern .premium-slide-copy,
body.site-template-heritage .premium-slide-copy,
body.site-template-vibrant .premium-slide-copy,
body.site-template-royal .premium-slide-copy {
  max-width: 540px !important;
  width: 100% !important;
  margin-left: 0 !important;
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 40px 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.hero-shade {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(5, 17, 33, 0.65) 0%, rgba(5, 17, 33, 0.3) 50%, rgba(5, 17, 33, 0.05) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}


/* ==========================================================================
   FOOTER TEXT COLLISION & OVERLAP PREVENTION (v570)
   Prevents school name from bleeding into QUICK LINKS across all viewports
   ========================================================================== */
.footer-grid-expanded {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.4fr) minmax(130px, 0.9fr) minmax(130px, 0.9fr) minmax(130px, 0.9fr) minmax(230px, 1.3fr) !important;
  gap: 36px 28px !important;
  align-items: start !important;
}

.footer-grid-expanded .footbrand {
  min-width: 260px !important;
  max-width: 100% !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.footer-brand-lockup {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.footer-brand-copy {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

.footer-brand-copy b {
  white-space: normal !important;
  text-wrap: balance !important;
  font-size: clamp(16px, 1.2vw, 19px) !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em !important;
  display: block !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.footer-brand-copy small {
  white-space: normal !important;
  display: block !important;
  color: #94b7ca !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
  line-height: 1.35 !important;
}


/* --- ENTERPRISE UX FIX: DOCKED CHAT & TO-TOP HIERARCHY --- */
.assistant-launch {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 1000 !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.42), 0 2px 6px rgba(0,0,0,0.12) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
}
.assistant-launch:hover {
  transform: translateY(-3px) scale(1.04) !important;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.52), 0 4px 10px rgba(0,0,0,0.15) !important;
}
.assistant-launch svg {
  width: 26px !important;
  height: 26px !important;
  stroke: #ffffff !important;
  fill: none !important;
  display: block !important;
}

.to-top {
  position: fixed !important;
  right: 28px !important;
  bottom: 94px !important;
  z-index: 999 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #0369a1 !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease !important;
}
.to-top:hover {
  background: #f8fafc !important;
  color: #0284c7 !important;
  border-color: #94a3b8 !important;
  transform: translateY(-2px) !important;
}
.to-top svg {
  width: 22px !important;
  height: 22px !important;
  stroke: currentColor !important;
  fill: none !important;
  display: block !important;
}

/* --- ENTERPRISE FOOTER FIX: PREVENT BRAND NAME CUTOFF --- */
.footer-grid-expanded {
  display: grid !important;
  grid-template-columns: minmax(360px, 1.8fr) minmax(130px, 0.9fr) minmax(130px, 0.9fr) minmax(130px, 0.9fr) minmax(230px, 1.3fr) !important;
  gap: 36px 28px !important;
  align-items: start !important;
}
.footer-grid-expanded .footbrand {
  min-width: 340px !important;
  max-width: 100% !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
.footer-brand-lockup {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  max-width: 100% !important;
  overflow: visible !important;
}
.footer-brand-copy {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: visible !important;
}
.footer-brand-copy b {
  white-space: nowrap !important;
  font-size: clamp(17px, 1.3vw, 21px) !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  display: block !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.footer-brand-copy small {
  white-space: nowrap !important;
  display: block !important;
  color: #94b7ca !important;
  font-size: 11.5px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
  line-height: 1.3 !important;
  overflow: visible !important;
}
body.site-template-heritage .footer-brand-copy small {
  color: #fde68a !important;
}

@media (max-width: 1100px) {
  .footer-grid-expanded {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 20px !important;
  }
  .footer-grid-expanded .footbrand {
    grid-column: 1 / -1 !important;
    min-width: 100% !important;
  }
}
@media (max-width: 640px) {
  .footer-grid-expanded {
    grid-template-columns: 1fr !important;
  }
  .footer-brand-copy b {
    white-space: normal !important;
  }
  .footer-brand-copy small {
    white-space: normal !important;
  }
  .assistant-launch {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    right: 18px !important;
    width: 52px !important;
    height: 52px !important;
  }
  .to-top {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    right: 22px !important;
    width: 42px !important;
    height: 42px !important;
  }
}

/* Homepage hero alignment and unobtrusive carousel controls (v571). */
.home-slider .slide-copy,
body[class*="site-template-"] .home-slider .slide-copy,
body[class*="site-template-"] .home-slider .premium-slide-copy,
.premium-hero-fallback .premium-slide-copy {
  box-sizing: border-box !important;
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 44px clamp(24px, 4vw, 64px) !important;
  text-align: left !important;
  align-items: flex-start !important;
}

/* Keep the public school concierge clear of the sticky navigation. */
.assistant {
  top: calc(136px + env(safe-area-inset-top, 0px)) !important;
  bottom: 24px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 160px - env(safe-area-inset-top, 0px)) !important;
  z-index: 1100 !important;
}
@media (max-width: 600px) {
  .assistant {
    top: calc(92px + env(safe-area-inset-top, 0px)) !important;
    right: 10px !important;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    width: calc(100vw - 20px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 182px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1100 !important;
  }
}

.home-slider .slider-arrow {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .22s ease !important;
}
.home-slider:hover .slider-arrow,
.home-slider:focus-within .slider-arrow,
.home-slider .slider-arrow:focus-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
@media (hover: none), (pointer: coarse) {
  .home-slider .slider-arrow {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
@media (max-width: 640px) {
  .home-slider .slide-copy,
  body[class*="site-template-"] .home-slider .slide-copy,
  body[class*="site-template-"] .home-slider .premium-slide-copy,
  .premium-hero-fallback .premium-slide-copy {
    width: calc(100% - 32px) !important;
    padding: 32px 16px !important;
  }
  .home-slider .slider-arrow { width: 42px !important; height: 42px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .home-slider .slider-arrow { transition: none !important; }
}

/* v572 — Keep configurable school names inside the footer brand column. */
.institutional-footer .footer-grid-expanded {
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .85fr)) minmax(0, 1fr) !important;
  column-gap: clamp(18px, 1.8vw, 28px) !important;
}
.institutional-footer .footer-grid-expanded > *,
.institutional-footer .footer-grid-expanded .footbrand {
  min-width: 0 !important;
  max-width: 100% !important;
}
.institutional-footer .footer-grid-expanded .footbrand {
  overflow: hidden !important;
  padding-right: 0 !important;
}
.institutional-footer .footer-brand-lockup {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  align-items: flex-start !important;
  gap: 12px !important;
  overflow: hidden !important;
}
.institutional-footer .footer-brand-copy {
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 1 1 0% !important;
  overflow: hidden !important;
}
.institutional-footer .footer-brand-copy b {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-wrap: pretty !important;
  font-size: clamp(16px, 1.15vw, 19px) !important;
  line-height: 1.25 !important;
}
.institutional-footer .footer-brand-copy small {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.4 !important;
}
@media (max-width: 1100px) {
  .institutional-footer .footer-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 20px !important;
  }
  .institutional-footer .footer-grid-expanded .footbrand {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }
}
@media (max-width: 640px) {
  .institutional-footer .footer-grid-expanded {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .institutional-footer .footer-grid-expanded .footbrand {
    grid-column: auto !important;
  }
}
