/*
Theme Name:   Elizabeth Moir School
Theme URI:    https://elizabethmoirschool.com/
Author:       Dhilan Peiris AKA UID
Author URI:   https://www.efuturesworld.com/
Description:  Custom WordPress theme by UID
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://elizabethmoirschool.com/
Text Domain:  uid-theme
Tags:         custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Import main stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+HK:wght@200..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
  --blue-deep:   #0a1f5c;
  --blue-mid:    #1042a8;
  --blue-bright: #1e6bff;
  --blue-light:  #d6e4ff;
  --blue-pale:   #eef4ff;
  --gold:        #f0b429;
  --text-dark:   #0d1b2a;
  --text-muted:  #5a6a82;
  --font-script: "Poppins", sans-serif;
  --font-serif:  "Noto Serif HK", serif;

  --blue-deep:   #0b2e36;   /* darkest teal — hero bg, dark sections   */
  --blue-mid:    #23a3c1;   /* brand teal — primary colour              */
  --blue-bright: #1bb8df;   /* lighter teal — links, highlights         */
  --blue-light:  #b8e8f3;   /* soft teal tint — borders, dividers       */
  --blue-pale:   #e8f7fb;   /* near-white teal — section backgrounds    */
  --gold:        #f0b429;   /* gold accent — unchanged                  */
  --text-dark:   #0b1f24;
  --text-muted:  #4a6b75;
  --ems-teal: #35899b;
  --ems-teal-dark: #2c7382;
  --ems-red: #c8102e;
  --ems-accent: #f5a623; /* active dash / orange */
}

html{ scroll-behavior: smooth; }

* { box-sizing: border-box; }
body { font-family: "Poppins", sans-serif; color: var(--text-dark); overflow-x: hidden; }
h1, h2, h3, h4 { font-family:"Noto Serif HK", serif; }
.top-bar { background: #207c92; color: #fff; font-size: .82rem; padding: 8px 0; }
.top-bar a { color: #ffffffcc; text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-bar .divider { color: #ffffff44; margin: 0 10px; }
.main-nav { background: #fff; box-shadow: 0 2px 20px rgba(16,66,168,.10); position: sticky; top: 0; z-index: 1040; }
.main-nav .navbar-brand img { height: 60px; }
.main-nav .nav-link { font-weight: 500; font-size: .8rem; color: var(--text-dark) !important; padding: .5rem .5rem !important; transition: color .2s; }
.main-nav .nav-link:hover { color:#23a3c1 !important; }
.main-nav .btn-admissions { background: #23a3c1; color: #fff !important; border-radius: 6px; padding: .45rem 1.2rem !important; font-weight: 600; transition: background .2s; }
.main-nav .btn-admissions:hover { background: #207c92; color: #fff !important; }
.main-nav .btn-contact { background: transparent; color: #23a3c1 !important; border: 2px solid #23a3c1; border-radius: 6px; padding: .4rem 1.1rem !important; font-weight: 600; transition: background .2s, color .2s; }
.main-nav .btn-contact:hover { background: #207c92; color: #fff !important; }

.para-image { width: 100%; border-radius: 14px;}

.dropdown-item.active, .dropdown-item:active { color: var(--text-dark) !important; background-color: #fff; padding: .5rem .5rem !important;}
/* buttons */
.btn-border-link { display: inline-flex; align-items: center; background: transparent; color: #23a3c1; border:2px solid #23a3c1; border-radius: 8px; padding: .65rem 1.6rem; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .15s; white-space: nowrap; }
.btn-border-link:hover { background: #207c92; border-color: #207c92; color: #fff; transform: translateY(-2px); }

.btn-blue-link { display: inline-flex; align-items: center; background: #23a3c1; color: #fff; border:2px solid #23a3c1; border-radius: 8px; padding: .65rem 1.6rem; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .15s; white-space: nowrap; }
.btn-blue-link:hover { background: transparent; border:2px solid #23a3c1; color: #23a3c1; transform: translateY(-2px); }


.btn-white-border-link { display: inline-flex; align-items: center; background: transparent; color: #fff; border:2px solid #fff; border-radius: 8px; padding: .65rem 1.6rem; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .15s; white-space: nowrap; }
.btn-white-border-link:hover { background: #fff; border-color: #fff; color: #207c92; transform: translateY(-2px); }

.img-thumb { width: 100%; border-radius: 18px;}

/* Hero banner */
.hero-wrap { padding: 32px 50px; padding-bottom: 0; }
.hero-section { min-height: 600px; display: flex; align-items: stretch; overflow: hidden; position: relative; padding: 0 20px; border-radius: 20px 20px;}
.hero-section::before {  position: absolute; inset: 0;  }
.hero-section > * { position: relative; z-index: 1; }
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero-left { width: 30%; padding: 72px 56px 72px 60px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 3; }
.hero-right { width: 100%; position: relative; z-index: 1; }
.hero-right .carousel, .hero-right .carousel-inner, .hero-right .carousel-item { height: 100%; }
.hero-right .carousel-item img { width: 100%; height: 100%; object-fit: 100%; object-position: center; }
.hero-slide-dots { display: flex; gap: 8px; margin-top: 36px; z-index: 99999; }
.hero-slide-dots button { width: 28px; height: 5px; border: none; border-radius: 3px; background: rgba(255,255,255,.25); cursor: pointer; transition: background .25s, width .25s; padding: 0; }
.hero-slide-dots button.active { background: var(--gold); width: 44px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 40px; margin-bottom: 22px; width: fit-content; }
.hero-badge span.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero-left h1 { font-size: clamp(1.9rem, 2.8vw, 3rem); color: #fff; line-height: 1.18; margin-bottom: 20px; }
.hero-left h1 em { color: var(--gold); font-style: normal; }
.hero-left p { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.75; margin-bottom: 32px; max-width: 440px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right .carousel-control-prev, .hero-right .carousel-control-next, .hero-right .carousel-indicators { display: none; }

.section-tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding:0; border-radius: 4px; margin-bottom: 14px; opacity: 0; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--blue-deep); line-height: 1.2; }
.section-title em { color:#207c92; font-style: normal; }
.divider-blue { width: 48px; height: 4px; background: #207c92; border-radius: 2px; margin: 14px 0 24px; }

/* Breadcrumb */
.breadcrumb { padding: 15px 0; font-size: 12px; color: #5a6a82;}
.breadcrumb a { text-decoration: none; color: #5a6a82;}

.why-moir-section { padding: 40px 80px 40px 80px; margin-top: 0; overflow: hidden; }
.why-moir-section .section-tag { color: #23a3c1; }
.why-moir-section .section-title { color: var(--blue-deep); }
.why-moir-section .section-title em { color: #23a3c1; }
.why-moir-section .text-muted { color: var(--text-muted) !important; }
.why-moir-section .divider-blue { background: #23a3c1; }
.wm-strip { display: flex; width: 100%; margin-top: 56px; }
.wm-card { position: relative; flex: 1 1 25%; height: 480px; overflow: hidden; cursor: pointer; }
.wm-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.wm-card:hover img { transform: scale(1.08); }
.wm-card-base { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,31,92,.85) 0%, rgba(10,31,92,.30) 50%, rgba(10,31,92,.10) 100%); z-index: 1; transition: background .35s; }
.wm-card:hover .wm-card-base { background: linear-gradient(to top, rgba(10,31,92,.10) 0%, rgba(10,31,92,.10) 100%); }
.wm-card-title { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 28px 30px 32px; font-family: 'Noto Serif HK', serif; font-size: 18px; font-weight: 600; color: #fff; background-color: #0068b3; transition: opacity .3s ease, transform .3s ease; }
.wm-card:hover .wm-card-title { opacity: 0; transform: translateY(10px); }
.wm-card-overlay { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 32px; opacity: 0; transform: translateY(20px); transition: opacity .38s ease, transform .38s ease; background:rgba(0,0,0,.72); }
.wm-card:hover .wm-card-overlay { opacity: 1; transform: translateY(0); }
.wm-card-overlay .ov-icon { width: 56px; height: 56px; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.wm-card-overlay .ov-icon i { font-size: 1.6rem; color: var(--gold); }
.wm-card-overlay h4 { font-size: 1.35rem; color: #fff; margin-bottom: 14px; line-height: 1.2; }
.wm-card-overlay p { font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.75; margin: 0; }
.wm-card-overlay .ov-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-weight: 700; font-size: .85rem; text-decoration: none; letter-spacing: .04em; transition: gap .2s; }
.wm-card-overlay .ov-link:hover { gap: 12px; }
@media (max-width: 767px) { .wm-strip { flex-direction: column; } .wm-card { flex: none; width: 100%; height: 320px; } }
.btn-read-bio { display: inline-flex; align-items: center; background: transparent; color: #23a3c1; border:2px solid #23a3c1; border-radius: 8px; padding: .65rem 1.6rem; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .15s; white-space: nowrap; }
.btn-read-bio:hover { background: #207c92; border-color: #207c92; color: #fff; transform: translateY(-2px); }

/* Principal Message */
.principal-section { background: #fff; padding: 80px 0; position: relative; overflow: hidden; background-image: url(img/m-bg.webp); background-size: 40%; background-repeat: no-repeat; background-position: right bottom; }
.principal-section::before { content: '"'; position: absolute; top: -40px; left: 5%; font-size: 20rem; color: rgba(16,66,168,.04); line-height: 1; pointer-events: none; }
.principal-img img { width: 280px; height: 340px; object-fit: cover; object-position: top; border-radius: 16px; box-shadow: 0 20px 60px rgba(16,66,168,.14); }
.principal-text { color: var(--text-dark); }
.principal-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; font-style: italic; }
.principal-text .signature { color: var(--blue-deep); font-weight: 700; font-size: 1.05rem; margin-top: 6px; }
.principal-text .role { color: #666666; font-size: .88rem; }

/* testimonials */
.testimonials-section { padding: 90px 0; position: relative; overflow: hidden; background: linear-gradient(135deg, #207c92 0%, #2b9bb8 50%, #15596a 100%);}
.testi-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .55; }
.testi-orb-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(30,107,255,.5) 0%, transparent 70%); top: -100px; left: -120px; animation: orbFloat1 9s ease-in-out infinite; }
.testi-orb-2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(240,180,41,.35) 0%, transparent 70%); bottom: -80px; right: -60px; animation: orbFloat2 11s ease-in-out infinite; }
.testi-orb-3 { width: 220px; height: 220px; background: radial-gradient(circle, rgba(100,160,255,.3) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: orbFloat3 7s ease-in-out infinite; }
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(40px,30px) scale(1.08)} 66%{transform:translate(-20px,50px) scale(.95)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0) scale(1)} 40%{transform:translate(-50px,-30px) scale(1.1)} 70%{transform:translate(20px,-50px) scale(.92)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.3)} }
.testimonials-section::before { content:''; position:absolute; inset:0; background-image:radial-gradient(circle,rgba(255,255,255,.08) 1px,transparent 1px); background-size:36px 36px; pointer-events:none; animation:gridDrift 20s linear infinite; }
@keyframes gridDrift { 0%{background-position:0 0} 100%{background-position:36px 36px} }
.testi-particle { position:absolute; width:4px; height:4px; border-radius:50%; background:rgba(255,255,255,.4); pointer-events:none; animation:particleDrift linear infinite; }
@keyframes particleDrift { 0%{transform:translateY(0) translateX(0);opacity:0} 10%{opacity:1} 90%{opacity:.6} 100%{transform:translateY(-120px) translateX(30px);opacity:0} }
.testimonials-section .container { position:relative; z-index:2; }
.testi-slider { position:relative; min-height:240px; margin-bottom:32px; overflow:hidden; }
.testi-slide { display:none; animation:tFadeIn .45s ease; }
.testi-slide.active { display:block; }
@keyframes tFadeIn { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
.testi-quote-icon { font-size:2.8rem; color:var(--gold); line-height:1; margin-bottom:10px; opacity:.8; }
.testi-text { font-size:1.05rem; color:rgba(255,255,255,.88); line-height:1.8; font-style:italic; margin-bottom:24px; }
.testi-author-row { display:flex; align-items:center; gap:14px; }
.testi-author-row img { width:54px; height:54px; border-radius:50%; object-fit:cover; border:3px solid rgba(255,255,255,.25); }
.testi-name { font-weight:700; font-size:.95rem; color:#fff; }
.testi-role { font-size:.82rem; color:rgba(255,255,255,.6); }
.testi-stars { color:var(--gold); font-size:.85rem; margin-top:2px; letter-spacing:.1em; }
.testimonials-section .section-tag { background:rgba(255,255,255,.1); color:rgba(255,255,255,.85); }
.testimonials-section .section-title { color:#fff; }
.testimonials-section .section-title em { color:#23a3c1; }
.testimonials-section .divider-blue { background:#23a3c1; }
.testi-controls { display:flex; align-items:center; gap:16px; }
.testi-prev, .testi-next { width:42px; height:42px; border-radius:50%; border:2px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08); color:#fff; font-size:1rem; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s,border-color .2s,transform .15s; flex-shrink:0; }
.testi-prev:hover, .testi-next:hover { background:var(--gold); border-color:var(--gold); color:var(--blue-deep); transform:scale(1.08); }
.testi-dots { display:flex; gap:8px; }
.testi-dots span { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.25); cursor:pointer; transition:background .2s,transform .2s; display:block; }
.testi-dots span.active { background:var(--gold); transform:scale(1.25); }
.testi-video-wrap { position:relative; border-radius:18px; overflow:hidden; background:var(--blue-deep); box-shadow:0 16px 56px rgba(16,66,168,.22); }
.testi-video-wrap iframe { width:100%; aspect-ratio:16/9; display:block; border:none; }
.testi-video-badge { position:absolute; top:16px; left:16px; background:var(--gold); color:var(--blue-deep); font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:5px 12px; border-radius:6px; z-index:5; }
.testi-video-caption { padding:14px 20px; background:#fff; font-size:.88rem; color:var(--text-muted); font-weight:500; display:flex; align-items:center; }

/* Uni Logos */
.alumni-section { padding:80px 0; background:#fff; }
.uni-carousel-outer { position:relative; display:flex; align-items:center; gap:12px; }
.uni-carousel-track-wrap { overflow:hidden; flex:1; position:relative; }
.uni-carousel-track { display:flex; align-items:center; gap:16px; transition:transform .45s cubic-bezier(.5,0,.2,1); will-change:transform; }
.uni-carousel-btn { flex-shrink:0; width:44px; height:44px; border-radius:50%; border:2px solid #f2f2f5; background:#fff; color:var(--blue-mid); font-size:1.1rem; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s,border-color .2s,color .2s,box-shadow .2s; box-shadow:0 2px 10px rgba(16,66,168,.08); }
.uni-carousel-btn:hover { background:#23a3c1; border-color:#23a3c1; color:#fff; box-shadow:0 4px 18px rgba(16,66,168,.18); }
.uni-logo-card { display:flex; flex: 0 0 25%; flex-direction:column; align-items:center; justify-content:center; flex-shrink:0; padding:22px 20px 18px; border-radius:14px; text-decoration:none; transition:transform .22s,box-shadow .22s,background .22s; text-align:center; gap:12px; }
.uni-logo-card:hover { background:#fff; }
.uni-logo-card img {  width:100%; max-width:140px; object-fit:contain; filter:grayscale(30%); transition:filter .22s; }
.uni-logo-card:hover img { filter:grayscale(0%); }
.uni-view-all-link { display:inline-flex; align-items:center; gap:6px; color:#000; font-weight:600; font-size:.95rem; text-decoration:none; border-bottom:2px solid transparent; padding-bottom:2px; transition:border-color .2s,gap .2s; }
.uni-view-all-link:hover { border-color:var(--blue-bright); color:var(--blue-bright); gap:10px; }

/* new and Events */
.news-section { padding:80px 0; background:#f2f2f5; }
.news-card { background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 4px 24px rgba(16,66,168,.07); height:100%; transition:transform .25s; }
.news-card:hover { transform:translateY(-5px); }
.news-card img { width:100%; height:210px; object-fit:cover; }
.news-card-body { padding:20px 22px 24px; }
.news-card-body .cat-badge { display:inline-block; background:rgba(35,163,193,.1); color:#23a3c1; font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:3px 10px; border-radius:4px; margin-bottom:10px; }
.news-card-body h6 { font-size:1rem; color:var(--blue-deep); line-height:1.4; margin-bottom:8px; }
.news-card-body h6 a { color:var(--blue-deep); text-decoration: none; }
.news-card-body p { color:var(--text-muted); font-size:.85rem; line-height:1.6; }
.news-card-body .read-more { color:#000; font-weight:600; font-size:.85rem; text-decoration:none; }
.news-card-body .read-more:hover { text-decoration:underline; }
.newsletter-section { background:#23A3C1; padding:60px 0; }
.newsletter-section h4 { color:#fff; font-size:1.6rem; }
.newsletter-section p { color:#ffffffbb; }
.newsletter-form { display:flex; gap:10px; max-width:480px; }
.newsletter-form input { flex:1; border:none; border-radius:8px; padding:.7rem 1.2rem; font-size:.9rem; outline:none; }
.newsletter-form button { background:var(--gold); color:var(--blue-deep); border:none; border-radius:8px; padding:.7rem 1.6rem; font-weight:700; font-size:.9rem; cursor:pointer; transition:opacity .2s; }
.newsletter-form button:hover { opacity:.9; }
.newsletter-form .wpcf7-submit { background:var(--gold); color:var(--blue-deep); border:none; border-radius:8px; padding:.7rem 1.6rem; font-weight:700; font-size:.9rem; cursor:pointer; transition:opacity .2s; }

/* Footer */
.main-footer { background:#0d1b2a; color:#ffffffbb; padding:64px 0 0; }
.main-footer .footer-brand p { font-size:.88rem; line-height:1.7; color:#ffffff88; margin-top:14px; }
.main-footer .footer-contact li { display:flex; align-items:flex-start; gap:10px; font-size:.88rem; margin-bottom:12px; }
.main-footer .footer-contact i { color:var(--gold); margin-top:2px; flex-shrink:0; }
.main-footer h6 { color:#fff; font-size:.95rem; font-weight:700; margin-bottom:18px; letter-spacing:.05em; text-transform:uppercase; }
.main-footer ul { list-style:none; padding:0; margin:0; }
.main-footer ul li { margin-bottom:10px; }
.main-footer ul a { color:#ffffff88; text-decoration:none; font-size:.88rem; transition:color .2s; }
.main-footer ul a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding:18px 0; margin-top:48px; font-size:.82rem; color:#ffffff55; }
.footer-bottom a { color:#ffffff77; text-decoration:none; }
.footer-bottom a:hover { color:#fff; }
.btn-view-all { border:2px solid #207c92; color:#207c92; border-radius:8px; padding:.6rem 1.8rem; font-weight:600; font-size:.9rem; text-decoration:none; transition:background .2s,color .2s; display:inline-block; }
.btn-view-all:hover { background:#207c92; color:#fff; }
.blue-01{background:#23A3C1} .blue-02{background:#1D8AA3} .blue-03{background:#177084} .blue-04{background:#115766}
.message-section__signature { font-family:var(--font-script); font-size:52px; color:#111111; line-height:1.1; display:block; margin-bottom:6px; }
.message-section__sig-line { width:260px; height:1px; background:#cccccc; margin-top:8px; }
.b1{background-color:#0068b3} .b2{background-color:#004f8a} .b3{background-color:#1a9e5c} .b4{background-color:#14834b} .b5{background-color:#f5a623}
.b1-c{color:#0068b3} .b2-c{color:#004f8a} .b3-c{color:#1a9e5c} .b4-c{color:#14834b} .b5-c{color:#f5a623}

/* UPs */
.ups-section { padding:32px 50px; padding-top:50px; overflow:hidden; }
.ups-section .section-tag { display:block; }
.ups-section .divider-blue { margin:0 auto; margin-bottom:50px; }
.ups-strip { display:flex; width:100%; }
.ups-card { position:relative; flex:1; height:360px; overflow:hidden; cursor:pointer; }
.ups-card img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.ups-card:hover img { transform:scale(1.08); }
.ups-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.75) 0%,rgba(0,0,0,.25) 60%,rgba(0,0,0,.05) 100%); z-index:1; }
.ups-title { position:absolute; left:0; right:0; bottom:0; padding:28px 24px; color:#fff; font-family:'Playfair Display',serif; font-size:1.15rem; text-align:center; z-index:2; transition:.35s ease; }
.ups-title.blue{background:#0068b3} .ups-title.green{background:#168a4b} .ups-title.gold{background:#f2aa1d}
.ups-hover { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:30px; color:#fff; opacity:0; transform:translateY(20px); transition:.35s ease; z-index:3; background:rgba(10,10,20,.80); }
.ups-card:hover .ups-hover { opacity:1; transform:translateY(0); }
.ups-card:hover .ups-title { opacity:0; transform:translateY(20px); }
.ups-icon { width:72px; height:72px; border-radius:50%; background:rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center; margin-bottom:22px; }
.ups-icon i { font-size:2rem; }
.ups-hover h4 { color:#fff; margin-bottom:15px; font-size:14px; }
.ups-hover p { color:rgba(255,255,255,.9); line-height:18px; font-size:14px; max-width:260px; }

/* Mobile carousel for ups-section */
.ups-carousel-wrap { display:none; position:relative; }
.ups-carousel-inner { display:flex; transition:transform .4s cubic-bezier(.4,0,.2,1); will-change:transform; }
.ups-carousel-inner .ups-card { flex:0 0 100%; height:400px; }
.ups-carousel-inner .ups-card .ups-hover { opacity:1; transform:translateY(0); background:rgba(10,10,20,.65); }
.ups-carousel-inner .ups-card .ups-title { display:none; }
.ups-carousel-controls { display:flex; align-items:center; justify-content:center; gap:16px; padding:16px 0 4px; }
.ups-carousel-btn { width:40px; height:40px; border-radius:50%; border:2px solid #23a3c1; background:#fff; color:#23a3c1; font-size:1rem; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s,color .2s; }
.ups-carousel-btn:hover { background:#23a3c1; color:#fff; }
.ups-carousel-dots { display:flex; gap:8px; }
.ups-carousel-dots span { width:9px; height:9px; border-radius:50%; background:rgba(35,163,193,.3); cursor:pointer; transition:background .2s,transform .2s; display:block; }
.ups-carousel-dots span.active { background:#23a3c1; transform:scale(1.25); }

/* Achievement section */
.achievement-strip { padding: 50px 50px 0; }
.ach-eight-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 20px; transition: filter .25s, box-shadow .25s; cursor: default; background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,.07); height: 100%; }
.ach-eight-card:hover { filter: brightness(1.07); }
.ach-eight-card .ach-stat-icon { width: 68px; height: 68px; flex-shrink: 0; border-radius: 50%; background: rgba(35,163,193,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ach-eight-card .ach-stat-icon i { color: #23a3c1; font-size: 2rem; }
.ach-eight-sub { font-size: 15px; color: var(--text-muted); line-height: 1.5; padding-top: 8px; }

@media (max-width:767px) {
  .ups-section { padding:32px 20px; padding-top:40px; }
  .ups-strip { display:none; }
  .ups-carousel-wrap { display:block; }
  .achievement-strip { padding: 10px 0px;}
  .ach-eight-sub  { font-size: 13px;}
  .principal-section { padding: 70px 15px 55px 15px;}
  .principal-img img { width: 100%;}
}
@media (max-width: 991px) {
  .hero-wrap { padding: 20px 20px; }
  .hero-section { flex-direction: column; min-height: auto; border-radius: 14px; }
  .hero-left { width: 100%; padding: 48px 28px 36px; }
  .hero-right { width: 100%; height: 300px; }
}

@media (max-width:768px) { 
  .newsletter-form { flex-direction:column; } 
}

/* button */
.btn-primary-blue { background: #d51e42; color: #fff; border: none; border-radius: 8px; padding: .72rem 2rem; font-weight: 600; font-size: .93rem; transition: background .2s, transform .15s; text-decoration: none; display: inline-block; }
.btn-primary-blue:hover { background: var(--blue-mid); transform: translateY(-2px); color: #fff; }
.btn-outline-white { color: #fff; border: 2px solid rgba(255,255,255,.4); border-radius: 8px; padding: .7rem 1.8rem; font-weight: 600; font-size: .93rem; text-decoration: none; display: inline-block; transition: border-color .2s, background .2s; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* Inner Page--------------------------------------------- */
/* Academic--------- */
/* .page-hero { background: linear-gradient(135deg, #0b2e36 0%, #23a3c1 100%); padding: 80px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-hero .eyebrow { display: inline-block; background: rgba(240,180,41,.18); color: var(--gold); font-size: 0.72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 0.3rem 0.85rem; border-radius: 2rem; margin-bottom: 1rem; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.1rem; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.75; max-width: 600px; }
.hero-stat-pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 2rem; padding: .45rem 1.1rem; color: #fff; font-size: .82rem; margin-top: 1.5rem; margin-right: .5rem; }
.hero-stat-pill strong { color: var(--gold); font-size: 1rem; } */

/* Hero image */
/* .hero-img-col { display: flex; align-items: center; justify-content: flex-end; }
.hero-img-frame { position: relative; width: 100%; max-width: 440px; }
.hero-img-frame img { width: 100%; height: 380px; object-fit: cover; border-radius: 18px; display: block; position: relative; z-index: 1; box-shadow: 0 24px 60px rgba(0,0,0,.35); } */

/* gold border accent behind the image */
/* .hero-img-frame::before { content: ""; position: absolute; inset: -10px -10px 10px 10px; border: 2px solid rgba(240,180,41,.45); border-radius: 22px; z-index: 0; } */

/* @media (max-width: 991.98px) { 
  .hero-img-col { display: none; } 
} */

/* ── Section Labels  */
.section-eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: .6rem; }
.section-title { font-size: clamp(1.55rem, 2.5vw, 2.1rem); font-weight: 700; line-height: 1.25; margin-bottom: .75rem; }
.section-lead { color: var(--text-muted); font-size: 1rem; line-height: 1.8; max-width: auto; }

/* Gold underline accent */
.title-accent { display: block; width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: .75rem 0 1.5rem; }

/* ── Philosophy*/
.philosophy-section { padding: 90px 0; background: #fff; }
.philosophy-img-wrap { border-radius: 18px; overflow: hidden; height: 100%; position: relative; }
.philosophy-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* .philosophy-img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,46,54,.18) 0%, rgba(11,46,54,.04) 100%); border-radius: 18px; } */
.philosophy-text p { color: var(--text-muted); font-size: .97rem; line-height: 1.88; margin-bottom: 1.1rem; }
.philosophy-text p:last-child { margin-bottom: 0; }

/* ── Curriculum Tabs */
.curriculum-section { padding: 90px 0; background: var(--blue-pale); }

.moir-tabs { border-bottom: 2px solid var(--blue-light); flex-wrap: nowrap; overflow-x: auto; gap: 0; scrollbar-width: none; }
.moir-tabs::-webkit-scrollbar { display: none; }

.moir-tabs .nav-link { font-family: var(--font-script); font-size: .82rem; font-weight: 600; color: var(--text-muted); padding: .7rem 1.3rem; border: none; border-bottom: 2px solid transparent; border-radius: 0; margin-bottom: -2px; white-space: nowrap; background: none; transition: color .2s, border-color .2s; }
.moir-tabs .nav-link:hover { color: var(--blue-mid); }
.moir-tabs .nav-link.active { border-bottom: 10px solid #23a3c1;background: none; }

.tab-pane-inner { padding: 2.5rem 0 0; }
.curriculum-detail h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: .5rem; }
.curriculum-detail p { color: var(--text-muted); font-size: .95rem; line-height: 1.82; }

/* Subject badges */
.subject-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.subject-badge { background: #fff; border: 1.5px solid var(--blue-light); border-radius: 2rem; padding: .28rem .85rem; font-size: .78rem; font-weight: 500; color: var(--blue-mid); }
.subject-badge.core { background: var(--blue-mid); border-color: var(--blue-mid); color: #fff; }

.curriculum-img { border-radius: 16px; overflow: hidden; height: 340px; background: linear-gradient(160deg, var(--blue-mid) 0%, var(--blue-deep) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 2rem; position: relative; }
.curriculum-img .big-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .85; }
.curriculum-img h4 { color: #fff; font-size: 1.1rem; margin-bottom: .35rem; }
.curriculum-img p { color: rgba(255,255,255,.65); font-size: .82rem; margin: 0; }

/* ── Results Banner */
.results-section { padding: 90px 0; background: var(--blue-deep); position: relative; overflow: hidden; }
.results-section::before { content: ""; position: absolute; top: -60px; right: -60px; width: 380px; height: 380px; border-radius: 50%; background: rgba(27,184,223,.12); }
.results-section::after { content: ""; position: absolute; bottom: -80px; left: -40px; width: 260px; height: 260px; border-radius: 50%; background: rgba(240,180,41,.07); }

.results-section .section-eyebrow { color: var(--gold); }
.results-section .section-title { color: #fff; }
.results-section .section-lead { color: rgba(255,255,255,.65); max-width: 100%; }

.stat-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 1.8rem 1.4rem; text-align: center; }
.stat-card .stat-num { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1; display: block; margin-bottom: .3rem; }
.stat-card .stat-label { font-size: .8rem; color: rgba(255,255,255,.65); line-height: 1.4; }

.result-highlight { border-left: 3px solid var(--gold); padding-left: 1.1rem; margin-bottom: 1.1rem; }
.result-highlight p { color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.7; margin: 0; }
.result-highlight strong { color: #fff; }

.results-body { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.85; margin-bottom: 1.1rem; }
.results-body strong { color: #fff; }
.results-body em { color: rgba(255,255,255,.9); font-style: italic; }

.results-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold); font-size: .85rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(240,180,41,.35); padding-bottom: 2px; transition: border-color .2s, opacity .2s; }
.results-link:hover { opacity: .8; border-color: var(--gold); color: var(--gold); }

.stat-card--wide { text-align: left; }

.results-badge-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.results-badge { display: inline-flex; align-items: center; background: rgba(240,180,41,.12); border: 1px solid rgba(240,180,41,.28); color: var(--gold); border-radius: 2rem; padding: .32rem .9rem; font-size: .75rem; font-weight: 600; }

/* ── Beyond Curriculum */
.beyond-section { padding: 90px 0; background: #fff; }
.beyond-img-wrap { border-radius: 18px; overflow: hidden; height: 100%; position: relative; }
.beyond-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* .beyond-img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,46,54,.15) 0%, rgba(11,46,54,.04) 100%); border-radius: 18px; } */

.beyond-text p { color: var(--text-muted); font-size: .97rem; line-height: 1.88; margin-bottom: 1.1rem; }
.beyond-text p:last-child { margin-bottom: 0; }

/* ── University Section */
.university-section { padding: 90px 0; background: var(--blue-pale); }

.uni-feature { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.uni-feature .uf-icon { flex-shrink: 0; width: 42px; height: 42px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--blue-mid); font-size: 1.1rem; }

.uni-feature h6 { font-size: .9rem; font-weight: 700; margin-bottom: .25rem; }
.uni-feature p { font-size: .84rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

.uni-quote { background: var(--blue-deep); border-radius: 16px; padding: 2.5rem; color: #fff; position: relative; }
.uni-quote::before { content: "\201C"; position: absolute; top: .8rem; left: 1.5rem; font-size: 5rem; font-family: var(--font-serif); color: var(--gold); line-height: 1; opacity: .45; }

.uni-quote blockquote { font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,.88); margin: 0 0 1rem; }
.uni-quote cite { font-size: .78rem; color: rgba(255,255,255,.5); font-style: normal; }

.uni-dest-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.uni-dest { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1.5px solid var(--blue-light); border-radius: 2rem; padding: .32rem .9rem; font-size: .78rem; font-weight: 600; color: var(--blue-deep); }
.uni-dest .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── Student Progress  */
.progress-section { padding: 90px 0; background: #fff; }
.progress-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.progress-item .pi-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-pale); border: 2px solid var(--blue-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: .85rem; color: var(--blue-mid); }
.progress-item h6 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.progress-item p { font-size: .84rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

.ratio-visual { background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep)); border-radius: 20px; padding: 2.5rem; text-align: center; color: #fff; }
.ratio-visual .ratio-num { font-family: var(--font-serif); font-size: 4.5rem; font-weight: 900; color: var(--gold); line-height: 1; display: block; }
.ratio-visual .ratio-label { font-size: .9rem; color: rgba(255,255,255,.72); margin-top: .5rem; }
.ratio-visual .ratio-sub { margin-top: 1.5rem; font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ── Trips Section */

.trips-section { padding: 90px 0; background: var(--blue-pale); }
.trips-img-wrap { border-radius: 18px; overflow: hidden; height: 100%; position: relative; }
.trips-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* .trips-img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,46,54,.15) 0%, rgba(11,46,54,.04) 100%); border-radius: 18px; } */

.trips-text p { color: var(--text-muted); font-size: .97rem; line-height: 1.88; margin-bottom: 1.1rem; }
.trips-text p:last-child { margin-bottom: 0; }

/* ── Learning Support  */
.support-section { padding: 80px 0; background: var(--blue-deep); }
.support-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 2rem; height: 100%; }
.support-card .sc-icon { font-size: 1.7rem; color: var(--gold); margin-bottom: .85rem; }
.support-card h5 { color: #fff; font-size: 1rem; margin-bottom: .5rem; }
.support-card p { color: rgba(255,255,255,.62); font-size: .87rem; line-height: 1.72; margin: 0; }

/* ── CTA  */
.cta-section { padding: 80px 0; background: #fff; text-align: center; }

.btn-moir-primary { background: var(--blue-bright); color: #fff; border: none; border-radius: 2rem; padding: .75rem 2rem; font-size: .9rem; font-weight: 600; text-decoration: none; display: inline-block; transition: background .2s, transform .2s; }
.btn-moir-primary:hover { background: var(--blue-mid); color: #fff; transform: translateY(-2px); }

.btn-moir-outline { background: transparent; color: var(--blue-bright); border: 2px solid var(--blue-bright); border-radius: 2rem; padding: .72rem 2rem; font-size: .9rem; font-weight: 600; text-decoration: none; display: inline-block; margin-left: .75rem; transition: all .2s; }
.btn-moir-outline:hover { background: var(--blue-bright); color: #fff; transform: translateY(-2px); }

/* ── Utilities */
.divider-gold { border: none; border-top: 2px solid var(--blue-light); margin: 0; }



/* Facilities ----------------------------- */

/* ── Section Labels ── */
.section-eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: .6rem; }
.section-title { font-size: clamp(1.55rem, 2.5vw, 2.1rem); font-weight: 700; line-height: 1.25; margin-bottom: .75rem; }
.section-lead { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.title-accent { display: block; width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: .75rem 0 1.5rem; }

 /* ── Shared image wrap ── */
/* .img-wrap { border-radius: 18px; overflow: hidden; height: 100%; position: relative; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; } */
/* .img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,46,54,.15) 0%, rgba(11,46,54,.04) 100%); border-radius: 18px; } */

.body-text p { color: var(--text-muted); font-size: .97rem; line-height: 1.88; margin-bottom: 1.1rem; }
.body-text p:last-child { margin-bottom: 0; }
.content-section { padding: 90px 0; }
.content-section.bg-white { background: #fff; }
.content-section.bg-pale { background: var(--blue-pale); }
.dual-section { padding: 0; background: #fff; }
.dual-panel { padding: 80px 60px; position: relative; }
.dual-panel.panel-left { background: var(--blue-pale); }
.dual-panel.panel-right { background: #fff; }
.dual-panel-img { border-radius: 14px; overflow: hidden; height: 280px; margin-bottom: 2rem; }
.dual-panel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dual-panel .section-title { font-size: 1.45rem; }
.dual-panel .body-text p { font-size: .92rem; }

@media (max-width: 767.98px) { 
  .dual-panel { padding: 50px 24px; } 
}
.cta-section { padding: 80px 0; background: #fff; text-align: center; }
.btn-moir-primary { background: var(--blue-bright); color: #fff; border: none; border-radius: 2rem; padding: .75rem 2rem; font-size: .9rem; font-weight: 600; text-decoration: none; display: inline-block; transition: background .2s, transform .2s; }
.btn-moir-primary:hover { background: var(--blue-mid); color: #fff; transform: translateY(-2px); }
.btn-moir-outline { background: transparent; color: var(--blue-bright); border: 2px solid var(--blue-bright); border-radius: 2rem; padding: .72rem 2rem; font-size: .9rem; font-weight: 600; text-decoration: none; display: inline-block; margin-left: .75rem; transition: all .2s; }
.btn-moir-outline:hover { background: var(--blue-bright); color: #fff; transform: translateY(-2px); }
.divider-soft { border: none; border-top: 1.5px solid var(--blue-light); margin: 0; }


/* Addmisions------------------------------------------------ */


.section-eyebrow{display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--blue-bright);margin-bottom:.6rem;}
.section-title{font-size:clamp(1.55rem,2.5vw,2.1rem);font-weight:700;line-height:1.25;margin-bottom:.75rem;}
.title-accent{display:block;width:48px;height:3px;background:var(--gold);border-radius:2px;margin:.75rem 0 1.5rem;}
.body-text p{color:var(--text-muted);font-size:.97rem;line-height:1.88;margin-bottom:1.1rem;}
.body-text p:last-child{margin-bottom:0;}
.img-wrap{border-radius:18px;overflow:hidden;height:100%; position:relative;}
.img-wrap img{width:100%;height:100%;object-fit:cover;display:block;}
/* .img-wrap::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(11,46,54,.15) 0%,rgba(11,46,54,.04) 100%);border-radius:18px;} */
.white-section{padding:90px 0;background:#fff;}
.pale-section{padding:90px 0;background:var(--blue-pale);}
.dark-section{padding:90px 0;background:var(--blue-deep);position:relative;overflow:hidden;}
.dark-section::before{content:"";position:absolute;top:-60px;right:-60px;width:340px;height:340px;border-radius:50%;background:rgba(27,184,223,.1);}
.dark-section::after{content:"";position:absolute;bottom:-80px;left:-40px;width:240px;height:240px;border-radius:50%;background:rgba(240,180,41,.06);}
.dark-section .section-eyebrow{color:var(--gold);}
.dark-section .section-title{color:#fff;}
.process-step{display:flex;gap:1.4rem;align-items:flex-start;position:relative;}
.process-step:not(:last-child)::after{content:"";position:absolute;left:20px;top:44px;bottom:-24px;width:2px;background:var(--blue-light);}
.step-num{flex-shrink:0;width:42px;height:42px;border-radius:50%;background:var(--blue-mid);color:#fff;font-family:var(--font-serif);font-weight:700;font-size:.9rem;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;}
.step-body{padding-bottom:2rem;}
.step-body h5{font-size:.95rem;font-weight:700;margin-bottom:.35rem;}
.step-body p{font-size:.87rem;color:var(--text-muted);line-height:1.7;margin:0;}
.step-body ul{margin:.5rem 0 0;padding-left:1.1rem;font-size:.87rem;color:var(--text-muted);line-height:1.8;}
.info-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:1.8rem;height:100%;}
.info-card .ic-icon{font-size:1.6rem;color:var(--gold);margin-bottom:.85rem;}
.info-card h5{color:#fff;font-size:.95rem;font-weight:700;margin-bottom:.5rem;}
.info-card p{color:rgba(255,255,255,.62);font-size:.86rem;line-height:1.75;margin:0;}
.gold-callout{background:rgba(240,180,41,.09);border-left:3px solid var(--gold);border-radius:0 10px 10px 0;padding:1rem 1.25rem;margin-top:1.25rem;}
.gold-callout p{font-size:.85rem;color:var(--text-dark);margin:0;line-height:1.65;}
.faq-accordion .accordion-item{border:none;border-bottom:1px solid var(--blue-light);border-radius:0!important;background:transparent;}
.faq-accordion .accordion-item:first-child{border-top:1px solid var(--blue-light);}
.faq-accordion .accordion-button{font-family:var(--font-script);font-size:.93rem;font-weight:600;color:var(--blue-deep);background:transparent;padding:1.1rem 0;box-shadow:none;border-radius:0!important;}
.faq-accordion .accordion-button:not(.collapsed){color:var(--blue-mid);background:transparent;box-shadow:none;}
.faq-accordion .accordion-button::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2323a3c1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");}
.faq-accordion .accordion-button:not(.collapsed)::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2323a3c1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");}
.faq-accordion .accordion-body{font-size:.9rem;color:var(--text-muted);line-height:1.82;padding:0 0 1.1rem;}

.faq-accordion .accordion-body strong{color:var(--blue-deep);}
.schol-type{display:flex;gap:1rem;align-items:flex-start;padding:1.2rem;background:var(--blue-pale);border-radius:12px;border-left:3px solid var(--blue-mid);margin-bottom:.85rem;}
.schol-type .st-icon{flex-shrink:0;width:38px;height:38px;border-radius:9px;background:var(--blue-light);display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--blue-mid);}
.schol-type h6{font-size:.88rem;font-weight:700;margin-bottom:.2rem;}
.schol-type p{font-size:.82rem;color:var(--text-muted);margin:0;line-height:1.55;}
.contact-card{background:var(--blue-deep);border-radius:16px;padding:2rem;position:sticky;top:100px;}
.contact-card h5{color:#fff;font-size:1rem;margin-bottom:1.25rem;}
.contact-row{display:flex;gap:.8rem;align-items:flex-start;margin-bottom:1.1rem;}
.contact-row .cr-icon{flex-shrink:0;width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:.95rem;}
.contact-row p{color:rgba(255,255,255,.65);font-size:.82rem;line-height:1.55;margin:0;}
.contact-row a{color:rgba(255,255,255,.85);text-decoration:none;}
.contact-row a:hover{color:var(--gold);}
.btn-apply{display:block;text-align:center;background:var(--gold);color:var(--blue-deep);font-weight:700;font-size:.88rem;border-radius:2rem;padding:.75rem 1.5rem;text-decoration:none;margin-top:1.5rem;transition:opacity .2s,transform .2s;}
.btn-apply:hover{opacity:.88;transform:translateY(-2px);color:var(--blue-deep);}
.cta-section{padding:80px 0;background:#fff;text-align:center;}
.btn-moir-primary{background:var(--blue-bright);color:#fff;border:none;border-radius:2rem;padding:.75rem 2rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-block;transition:background .2s,transform .2s;}
.btn-moir-primary:hover{background:var(--blue-mid);color:#fff;transform:translateY(-2px);}
.btn-moir-outline{background:transparent;color:var(--blue-bright);border:2px solid var(--blue-bright);border-radius:2rem;padding:.72rem 2rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-block;margin-left:.75rem;transition:all .2s;}
.btn-moir-outline:hover{background:var(--blue-bright);color:#fff;transform:translateY(-2px);}
.divider-soft{border:none;border-top:1.5px solid var(--blue-light);margin:0;}



/* Inenr Hero Banner ----------------------------- */
.page-hero{position:relative;overflow:hidden;min-height:400px;display:flex; padding: 0; margin: 0; top: 0px;}
.hero-content-side{background:linear-gradient(135deg,#0b2e36 0%,#23a3c1 100%);flex:0 0 35%;position:relative;z-index:1;display:flex;align-items:center;}
.hero-content-side::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");}
/*.hero-content-side::after{content:"";position:absolute;top:0;right:-56px;bottom:0;width:110px;background:linear-gradient(135deg,#0b2e36 0%,#23a3c1 100%);clip-path:polygon(0 0,42% 0,100% 100%,0 100%);z-index:2;} */

.hero-content-inner{position:relative;z-index:3;padding:50px 40px 50px calc((100vw - 1320px) / 2 + 12px);width:100%;}
.hero-img-side{flex:0 0 65%;position:relative;overflow:hidden;}
.hero-img-side img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;display:block;}
.page-hero .eyebrow{display:inline-block;background:rgba(240,180,41,.18);color:var(--gold);font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;padding:.3rem .85rem;border-radius:2rem;margin-bottom:1rem;}
.page-hero h1{color:#fff;font-size:clamp(2rem,3.5vw,2.5rem);font-weight:900;line-height:1.15;margin-bottom:1.1rem;}
.page-hero h1 em{font-style:normal;color:var(--gold);}
.page-hero p{color:rgba(255,255,255,.78);font-size:1.05rem;line-height:1.75;max-width:500px;}
.hero-stat-pill{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:2rem;padding:.45rem 1.1rem;color:#fff;font-size:.82rem;margin-top:1.5rem;margin-right:.5rem;}
.hero-stat-pill strong{color:var(--gold);font-size:1rem;}
.hero-content-inner .breadcrumb { font-size: 13px; color: #fff!important;}
.page-hero span { font-size: 13px; color: #fff!important;}
.page-hero span a {  color: #fff!important; text-decoration: none; }
@media (max-width:991.98px){
  .page-hero{flex-direction:column;min-height:auto;}
  .hero-content-side{flex:none;width:100%;}
  .hero-content-side::after{display:none;}
  .hero-content-inner{padding:70px 24px;}
  .hero-img-side{flex:none;width:100%;height:280px;}
}

@media (min-width:992px) and (max-width:1320px){
  .hero-content-inner{padding-left:24px;}
}

/* About Us------------------------------------------------ */

.section-padding { padding: 80px 0;}
/* ── SCHOOL INTRO ── */
.about-heading { font-family: "Noto Serif HK", serif; font-size: 1.9rem; font-weight: 400; line-height: 1.3; color: var(--ink); position: sticky; top: 40px; }
.about-body p { color: var(--muted);  font-size: 15px; line-height: 1.85;}
.about-body p + p { margin-top: 16px; }

/* ── STATS STRIP ── */
.stats { background:rgb(43, 155, 184); color: #fff;  padding: 60px 0; }
.stats-grid {  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #68a5b4;}
.stat-item { background: rgb(43, 155, 184); padding: 32px 28px; text-align: center; }
.stat-num { font-family: "Noto Serif HK", serif; font-size: 2.6rem; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 300; letter-spacing: 0.02em;}

/* ── HEAD'S MESSAGE ── */
.message-layout { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start;}
.founder-card { background: #fff;  padding:0;}
.founder-card .found-image { width: 100%; border-radius: 16px;}
.intro-label { margin-bottom:15px;}
.founder-initials { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-light); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--teal-dark); margin-bottom: 20px; }

.founder-name { font-family: "Noto Serif HK", serif; font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 4px;}
.founder-title { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--rule);}
.founder-credentials { font-size: 16px; margin-top: 10px;}
.credential-row { display: flex;  gap: 8px; align-items: baseline; margin-bottom: 6px; }
.credential-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--teal-mid); flex-shrink: 0; margin-top: 7px; }
.award-badge { display: inline-block;  color: #23A3C1; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 0px 10px; margin-top: 0px;  }

.message-body .stat-label {   }
.message-body blockquote { font-family: "Noto Serif HK", serif; font-size: 1.55rem; font-style: italic; color: var(--teal-dark); line-height: 1.45; border-left: 3px solid var(--teal-mid); padding-left: 0; margin-bottom: 32px; margin-top:15px; }
.message-body p { color: var(--muted); font-size: 15px; line-height: 1.85; margin-bottom: 16px; }

.legacy-section{background:#f2f2f5;}
.legacy-img-wrap{position:relative;}
.legacy-img{width:100%;display:block;aspect-ratio:4/3;object-fit:cover;}
.legacy-img-caption{position:absolute;bottom:0;left:0;right:0;background:rgba(8,80,65,.82);color:rgba(255,255,255,.75);font-size:11px;letter-spacing:.08em;padding:8px 14px;font-weight:300;}
.legacy-heading{font-family:"Noto Serif HK",serif;font-size:1.75rem;font-weight:400;line-height:1.3;color:var(--ink);margin-bottom:20px;}
.legacy-body{color:var(--muted);font-size:15px;line-height:1.85;margin-bottom:16px;}
.legacy-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;}
.legacy-badge{font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--teal-dark);background:var(--teal-light);padding:6px 14px;border:1px solid rgba(15,110,86,.2);}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 72px 20px 60px; }
  .about-heading { position: static; margin-bottom: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .message-layout { grid-template-columns: 1fr; gap: 40px; }
  .honours-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .campus-inner { grid-template-columns: 1fr; gap: 40px; }
  .campus-callout::after { display: none; }
  .campus-facts { grid-template-columns: repeat(2, 1fr); }
}


/* Arts -------------------------------------------------- */
.art-white{padding:90px 0;background:#fff;}
.art-pale{padding:90px 0;background:var(--blue-pale);}
.art-dark{padding:90px 0;background:var(--blue-deep);position:relative;overflow:hidden;}
.art-dark::before{content:"";position:absolute;top:-60px;right:-60px;width:320px;height:320px;border-radius:50%;background:rgba(27,184,223,.1);}
.art-dark::after{content:"";position:absolute;bottom:-80px;left:-40px;width:220px;height:220px;border-radius:50%;background:rgba(240,180,41,.06);}
.art-label{display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--blue-bright);margin-bottom:.6rem;}
.art-dark .art-label{color:var(--gold);}
.art-title{font-size:clamp(1.55rem,2.5vw,2.1rem);font-weight:700;line-height:1.25;margin-bottom:.75rem;}
.art-dark .art-title{color:#fff;}
.art-accent{display:block;width:48px;height:3px;background:var(--gold);border-radius:2px;margin:.75rem 0 1.5rem;}
.art-img-wrap{border-radius:18px;overflow:hidden;height:100%; position:relative;}
.art-img-wrap img{width:100%;height:100%;object-fit:cover;display:block;}
/* .art-img-wrap::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(11,46,54,.15) 0%,rgba(11,46,54,.04) 100%);border-radius:18px;} */
.art-text p{color:var(--text-muted);font-size:.97rem;line-height:1.88;margin-bottom:1.1rem;}
.art-text p:last-child{margin-bottom:0;}
.art-dark .art-text p{color:rgba(255,255,255,.68);}
.art-sub-heading{font-size:1rem;font-weight:700;color:var(--blue-deep);padding-bottom:.55rem;border-bottom:2px solid var(--blue-light);margin-bottom:.9rem;}
.art-sub-heading i{color:var(--blue-mid);margin-right:.45rem;}
.art-callout{background:rgba(240,180,41,.09);border-left:3px solid var(--gold);border-radius:0 10px 10px 0;padding:1rem 1.25rem;margin:1.25rem 0;}
.art-callout p{font-size:.86rem;color:var(--text-dark);margin:0;line-height:1.68;}
.art-callout strong{color:var(--blue-deep);}
.art-dark-text p{color:rgba(255,255,255,.68);font-size:.97rem;line-height:1.88;margin-bottom:1.1rem;}
.art-dark-text p:last-child{margin-bottom:0;}
.art-col-head{font-size:.92rem;font-weight:700;color:var(--blue-deep);border-bottom:2px solid var(--blue-light);padding-bottom:.5rem;margin-bottom:.85rem;}
.art-dual{padding:0;}
.art-panel-left{background:var(--blue-pale);}
.art-panel-right{background:#fff;}
.art-panel-inner{max-width:560px;margin:0 auto;padding:80px 40px;}
.art-panel-img{border-radius:14px;overflow:hidden;height:260px;margin-bottom:2rem;}
.art-panel-img img{width:100%; object-fit:cover;display:block;}
.art-panel-left .art-title,.art-panel-right .art-title{font-size:1.45rem;}
.art-panel-left .art-text p,.art-panel-right .art-text p{font-size:.92rem;}

@media (max-width:767.98px){
  .art-panel-inner{padding:50px 24px;}
}
.art-quote{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:2rem;position:relative;}
.art-quote::before{content:"\201C";position:absolute;top:.5rem;left:1.2rem;font-size:5rem;font-family:var(--font-serif);color:var(--gold);line-height:1;opacity:.35;}
.art-quote blockquote{font-family:var(--font-serif);font-size:1rem;line-height:1.78;color:rgba(255,255,255,.85);margin:0 0 .65rem;}
.art-quote cite{font-size:.75rem;color:rgba(255,255,255,.45);font-style:normal;}
.art-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem;}
.art-tag{display:inline-flex;align-items:center;gap:.4rem;background:var(--blue-pale);border:1.5px solid var(--blue-light);border-radius:2rem;padding:.28rem .85rem;font-size:.78rem;font-weight:500;color:var(--blue-mid);}
.art-tag.art-tag-gold{background:rgba(240,180,41,.12);border-color:rgba(240,180,41,.3);color:#b07a00;}
.art-cta{padding:80px 0;background:var(--blue-pale);text-align:center;}
.art-btn-primary{background:var(--blue-bright);color:#fff;border:none;border-radius:2rem;padding:.75rem 2rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-block;transition:background .2s,transform .2s;}
.art-btn-primary:hover{background:var(--blue-mid);color:#fff;transform:translateY(-2px);}
.art-btn-outline{background:transparent;color:var(--blue-bright);border:2px solid var(--blue-bright);border-radius:2rem;padding:.72rem 2rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-block;margin-left:.75rem;transition:all .2s;}
.art-btn-outline:hover{background:var(--blue-bright);color:#fff;transform:translateY(-2px);}
.art-divider{border:none;border-top:1.5px solid var(--blue-light);margin:0;}



/* Community -------------------------------------------- */
.community-white{padding:90px 0;background:#fff;}
.community-pale{padding:90px 0;background:var(--blue-pale);}
.community-dark{padding:90px 0;background:var(--blue-deep);position:relative;overflow:hidden;}
.community-dark::before{content:"";position:absolute;top:-60px;right:-60px;width:320px;height:320px;border-radius:50%;background:rgba(27,184,223,.1);}
.community-dark::after{content:"";position:absolute;bottom:-80px;left:-40px;width:220px;height:220px;border-radius:50%;background:rgba(240,180,41,.06);}
.community-label{display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--blue-bright);margin-bottom:.6rem;}
.community-dark .community-label{color:var(--gold);}
.community-title{font-size:clamp(1.55rem,2.5vw,2.1rem);font-weight:700;line-height:1.25;margin-bottom:.75rem;}
.community-dark .community-title{color:#fff;}
.community-accent{display:block;width:48px;height:3px;background:var(--gold);border-radius:2px;margin:.75rem 0 1.5rem;}
.community-img-wrap{border-radius:18px;overflow:hidden;height:100%; position:relative;}
.community-img-wrap img{width:100%;height:100%;object-fit:cover;display:block;}
/* .community-img-wrap::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(11,46,54,.15) 0%,rgba(11,46,54,.04) 100%);border-radius:18px;} */
.community-text p{color:var(--text-muted);font-size:.97rem;line-height:1.88;margin-bottom:1.1rem;}
.community-text p:last-child{margin-bottom:0;}
.community-dark-text p{color:rgba(255,255,255,.68);font-size:.97rem;line-height:1.88;margin-bottom:1.1rem;}
.community-dark-text p:last-child{margin-bottom:0;}
.community-sub-heading{font-size:.95rem;font-weight:700;color:var(--blue-deep);border-bottom:2px solid var(--blue-light);padding-bottom:.5rem;margin-bottom:.85rem;}
.community-sub-heading i{color:var(--blue-mid);margin-right:.4rem;}
.community-callout{background:rgba(240,180,41,.09);border-left:3px solid var(--gold);border-radius:0 10px 10px 0;padding:1rem 1.25rem;margin:1.25rem 0;}
.community-callout p{font-size:.86rem;color:var(--text-dark);margin:0;line-height:1.68;}
.community-callout strong{color:var(--blue-deep);}
.community-quote{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:2rem;position:relative;margin-top:1.5rem;}
.community-quote::before{content:"\201C";position:absolute;top:.5rem;left:1.2rem;font-size:5rem;font-family:var(--font-serif);color:var(--gold);line-height:1;opacity:.35;}
.community-quote blockquote{font-family:var(--font-serif);font-size:1rem;line-height:1.78;color:rgba(255,255,255,.85);margin:0 0 .65rem;}
.community-quote cite{font-size:.75rem;color:rgba(255,255,255,.45);font-style:normal;}
.community-house-card{border-radius:14px;padding:1.8rem 1.5rem;height:100%;text-align:center;border:2px solid var(--blue-light);transition:box-shadow .2s,border-color .2s,transform .2s;}
.community-house-card:hover{box-shadow:0 8px 28px rgba(35,163,193,.14);border-color:var(--blue-mid);transform:translateY(-3px);}
.community-house-card .community-house-icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:1.4rem;color:#fff;}
.community-house-card h5{font-size:1rem;font-weight:700;margin-bottom:.3rem;}
.community-house-card p{font-size:.82rem;color:var(--text-muted);margin:0;line-height:1.55;}
.house-armstrong .community-house-icon{background:#c0392b;}
.house-columbus .community-house-icon{background:#2980b9;}
.house-fleming .community-house-icon{background:#27ae60;}
.house-hillary .community-house-icon{background:#8e44ad;}
.community-map-frame{border-radius:16px;overflow:hidden;border:2px solid var(--blue-light);height:380px;}
.community-map-frame iframe{width:100%;height:100%;border:none;display:block;}
.community-dual{padding:0;}
.community-panel-left{background:var(--blue-pale);}
.community-panel-right{background:#fff;}
.community-panel-inner{max-width:560px;margin:0 auto;padding:80px 40px;}
.community-panel-img{border-radius:14px;overflow:hidden;height:260px;margin-bottom:2rem;}
.community-panel-img img{width:100%;height:100%;object-fit:cover;display:block;}
.community-panel-left .community-title,.community-panel-right .community-title{font-size:1.45rem;}
.community-panel-left .community-text p,.community-panel-right .community-text p{font-size:.92rem;}

@media (max-width:767.98px){
  .community-panel-inner{padding:50px 24px;}
}
.community-cta{padding:80px 0;background:var(--blue-pale);text-align:center;}
.community-btn-primary{background:var(--blue-bright);color:#fff;border:none;border-radius:2rem;padding:.75rem 2rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-block;transition:background .2s,transform .2s;}
.community-btn-primary:hover{background:var(--blue-mid);color:#fff;transform:translateY(-2px);}
.community-btn-outline{background:transparent;color:var(--blue-bright);border:2px solid var(--blue-bright);border-radius:2rem;padding:.72rem 2rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-block;margin-left:.75rem;transition:all .2s;}
.community-btn-outline:hover{background:var(--blue-bright);color:#fff;transform:translateY(-2px);}
.community-divider{border:none;border-top:1.5px solid var(--blue-light);margin:0;}


/* Contact Us -------------------------------------------- */

.contact-white{padding:90px 0;background:#fff;}
.contact-pale{padding:90px 0;background:var(--blue-pale);}
.contact-label{display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--blue-bright);margin-bottom:.6rem;}
.contact-title{font-size:clamp(1.55rem,2.5vw,2.1rem);font-weight:700;line-height:1.25;margin-bottom:.75rem;}
.contact-accent{display:block;width:48px;height:3px;background:var(--gold);border-radius:2px;margin:.75rem 0 1.75rem;}
.contact-school-card{background:var(--blue-deep);border-radius:18px;padding:2.2rem;height:100%;position:relative;overflow:hidden;}
.contact-school-card::before{content:"";position:absolute;top:-40px;right:-40px;width:180px;height:180px;border-radius:50%;background:rgba(27,184,223,.1);}
.contact-school-card .contact-card-tag{display:inline-block;background:rgba(240,180,41,.18);color:var(--gold);font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:.22rem .7rem;border-radius:2rem;margin-bottom:1.1rem;}
.contact-school-card h4{color:#fff;font-size:1.1rem;font-weight:700;margin-bottom:1.5rem;}
.contact-detail-row{display:flex;gap:.85rem;align-items:flex-start;margin-bottom:1.1rem;}
.contact-detail-row:last-child{margin-bottom:0;}
.contact-detail-row .contact-detail-icon{flex-shrink:0;width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:.95rem;}
.contact-detail-row .contact-detail-info{flex:1;}
.contact-detail-row .contact-detail-info span{display:block;font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.4);margin-bottom:.2rem;}
.contact-detail-row .contact-detail-info p{margin:0;color:rgba(255,255,255,.85);font-size:.88rem;line-height:1.6;}
.contact-detail-row .contact-detail-info a{color:rgba(255,255,255,.85);text-decoration:none;transition:color .2s;}
.contact-detail-row .contact-detail-info a:hover{color:var(--gold);}
.contact-form-wrap{background:#fff;border-radius:18px;padding:2.5rem;border:1.5px solid var(--blue-light);}
.contact-form-title{font-size:1.25rem;font-weight:700;margin-bottom:.35rem;}
.contact-form-sub{font-size:.88rem;color:var(--text-muted);margin-bottom:1.75rem;}
.contact-field-group{margin-bottom:1.2rem;}
.contact-field-group label{display:block;font-size:.78rem;font-weight:600;color:var(--blue-deep);margin-bottom:.4rem;letter-spacing:.02em;}
.contact-field-group input,.contact-field-group select,.contact-field-group textarea{width:100%;border:1.5px solid var(--blue-light);border-radius:10px;padding:.7rem 1rem;font-family:var(--font-script);font-size:.88rem;color:var(--text-dark);background:#fff;outline:none;transition:border-color .2s,box-shadow .2s;appearance:none;}
.contact-field-group input:focus,.contact-field-group select:focus,.contact-field-group textarea:focus{border-color:var(--blue-mid);box-shadow:0 0 0 3px rgba(35,163,193,.12);}
.contact-field-group textarea{resize:vertical;min-height:130px;}
.contact-field-group select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234a6b75' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 1rem center;background-size:14px;padding-right:2.5rem;}
.contact-submit-btn{display:inline-flex;align-items:center;gap:.55rem;background:var(--blue-mid);color:#fff;border:none;border-radius:2rem;padding:.78rem 2rem;font-family:var(--font-script);font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s,transform .2s;width:100%;justify-content:center;margin-top:.5rem;}
.contact-submit-btn:hover{background:var(--blue-deep);transform:translateY(-2px);}
.contact-map-section{padding:0;}
.contact-map-frame{width:100%;height:480px;border:none;display:block;}
.contact-quick-bar{background:var(--blue-deep);padding:28px 0;}
.contact-quick-item{display:flex;align-items:center;gap:.85rem;padding:.4rem 0;}
.contact-quick-item .contact-quick-icon{flex-shrink:0;width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:1rem;}
.contact-quick-item p{margin:0;font-size:.82rem;color:rgba(255,255,255,.5);line-height:1.3;}
.contact-quick-item a{display:block;font-size:.9rem;font-weight:600;color:#fff;text-decoration:none;transition:color .2s;}
.contact-quick-item a:hover{color:var(--gold);}
.contact-quick-divider{width:1px;height:40px;background:rgba(255,255,255,.12);margin:0 10px;}
@media (max-width:767.98px){
.contact-quick-divider{display:none;}
.contact-quick-item{margin-bottom:.75rem;}
}
.contact-divider{border:none;border-top:1.5px solid var(--blue-light);margin:0;}


/* Results ------------------- */
.sr-section{padding:20px 0 100px;background:linear-gradient(180deg,#fff 0%,var(--blue-pale)100%)}
.sr-eyebrow{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:600;letter-spacing:3px;text-transform:uppercase;color:var(--blue-mid);margin-bottom:14px}
.sr-eyebrow::before,
.sr-eyebrow::after{content:"";width:34px;height:2px;background:var(--gold)}
.sr-title{font-family:var(--font-serif);font-size:clamp(32px,4vw,46px);font-weight:700;color:var(--blue-deep);margin-bottom:12px}
.sr-sub{color:var(--text-muted);font-size:16px;max-width:640px;margin:0 auto 46px}
.sr-jump{display:inline-flex;background:#fff;border:1px solid var(--blue-light);border-radius:60px;padding:6px;box-shadow:0 10px 30px rgba(11,46,54,.08);margin-bottom:66px;flex-wrap:wrap;justify-content:center;gap:2px}
.sr-jump a{font-family:var(--font-script);font-size:14px;font-weight:600;color:var(--blue-deep);text-decoration:none;border-radius:50px;padding:11px 24px;transition:all .3s ease;white-space:nowrap}
.sr-jump a:hover{background:linear-gradient(135deg,var(--blue-mid),var(--blue-bright));color:#fff;box-shadow:0 8px 20px rgba(35,163,193,.35)}
.sr-block{background:#fff;border:1px solid var(--blue-light);border-radius:18px;overflow:hidden;margin-bottom:44px;box-shadow:0 16px 40px rgba(11,46,54,.07);scroll-margin-top:30px}
.sr-block-head{background:var(--blue-deep);padding:26px 34px;display:flex;align-items:center;gap:18px;position:relative;overflow:hidden}
.sr-block-head::after{content:"";position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:50%;background:radial-gradient(circle,rgba(27,184,223,.25),transparent 70%)}
.sr-block-badge{width:52px;height:52px;flex:0 0 auto;border-radius:14px;background:linear-gradient(135deg,var(--blue-mid),var(--blue-bright));display:flex;align-items:center;justify-content:center;color:#fff}
.sr-block-badge svg{width:26px;height:26px}
.sr-block-head h3{font-family:var(--font-serif);font-size:24px;font-weight:700;color:#fff;margin:0}
.sr-block-head span{display:block;font-family:var(--font-script);font-size:12px;font-weight:500;letter-spacing:2.5px;text-transform:uppercase;color:var(--gold);margin-top:4px}
.sr-highlight{display:flex;align-items:flex-start;gap:14px;padding:20px 34px;background:var(--blue-pale);border-bottom:1px solid var(--blue-light);font-size:15px;font-weight:500;color:var(--text-dark);line-height:1.7}
.sr-highlight svg{width:18px;height:18px;flex:0 0 auto;margin-top:3px;color:var(--gold)}
.sr-highlight b{color:var(--blue-deep);font-weight:700}
.sr-table-wrap{padding:10px 0 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.sr-table{width:100%;border-collapse:collapse;min-width:620px}
.sr-table th,.sr-table td{padding:15px 20px;font-size:14px;border-bottom:1px dashed var(--blue-light)}
.sr-table thead th{font-family:var(--font-script);font-size:12px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--blue-mid);background:var(--blue-pale);border-bottom:2px solid var(--blue-light);text-align:center;white-space:nowrap}
.sr-table thead th:first-child{text-align:left;padding-left:34px}
.sr-table tbody th{font-weight:600;color:var(--text-dark);text-align:left;padding-left:34px;white-space:nowrap}
.sr-table tbody td{font-weight:500;color:var(--text-dark);text-align:center}
.sr-table tbody tr{transition:background .25s ease}
.sr-table tbody tr:hover{background:var(--blue-pale)}
.sr-table tbody tr:last-child th,.sr-table tbody tr:last-child td{border-bottom:0}
.sr-table .sr-total th,.sr-table .sr-total td{background:var(--blue-deep);color:#fff;font-weight:700;border-bottom:0}
.sr-table .sr-total th{color:var(--gold);letter-spacing:1px;text-transform:uppercase;font-size:13px}
.sr-table tbody tr.sr-total:hover{background:var(--blue-deep)}
.sr-archive{display:flex;flex-wrap:wrap;gap:12px;padding:26px 34px 34px}
.sr-archive a{font-family:var(--font-script);font-size:14px;font-weight:600;color:var(--blue-deep);text-decoration:none;background:#fff;border:1px solid var(--blue-light);border-radius:50px;padding:10px 24px;transition:all .3s ease;white-space:nowrap}
.sr-archive a:hover{background:linear-gradient(135deg,var(--blue-mid),var(--blue-bright));border-color:transparent;color:#fff;box-shadow:0 8px 20px rgba(35,163,193,.35)}
.sr-archive a.sr-current{background:var(--blue-deep);border-color:var(--blue-deep);color:var(--gold)}

@media (max-width:767.98px){
  .sr-section{padding:60px 0 70px}
  .sr-jump{border-radius:24px}
  .sr-jump a{padding:10px 18px;font-size:13px}
  .sr-block-head{padding:20px 22px}
  .sr-block-head h3{font-size:20px}
  .sr-highlight{padding:16px 22px}
  .sr-table th,.sr-table td{padding:13px 14px;font-size:13px}
  .sr-table thead th:first-child,.sr-table tbody th{padding-left:22px}
  .sr-archive{padding:20px 22px 26px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
}


/* Desktop only */
.dropdown-item { font-size: 12px; }
@media (min-width: 992px) {

  .navbar .dropdown:hover > .dropdown-menu {
      display: block;
      margin-top: 0;
      opacity: 1;
      visibility: visible;
  }

  .navbar .dropdown-menu {
      display: block;
      opacity: 0;
      visibility: hidden;
      transition: opacity .25s ease, visibility .25s ease;
  }

  .navbar .dropdown-toggle::after {
      transition: transform .25s ease;
  }

  .navbar .dropdown:hover > .dropdown-toggle::after {
      transform: rotate(180deg);
  }

}


/* ---------- Main nav ---------- */ 
.navbar-brand-text { background: var(--ems-red); color: #fff; font-weight: 700; letter-spacing: 0.06em; padding: 0.45rem 0.9rem; font-size: 1rem; border-radius: 2px; } 
.main-nav .nav-link { color: #1c1c1c; font-weight: 600; padding: 0.5rem 0.9rem; } 
.main-nav .nav-link:hover { color: var(--ems-teal); } 
.btn-admissions { color: var(--ems-teal); border: 2px solid var(--ems-teal); font-weight: 700; border-radius: 6px; } 
.btn-admissions:hover { background: var(--ems-teal); color: #fff; } 
.btn-contact { background: var(--ems-teal); color: #fff; font-weight: 700; border-radius: 6px; } 
.btn-contact:hover { background: var(--ems-teal-dark); color: #fff; } 

/* =================================================== HERO CAROUSEL =================================================== */ 
.hero-carousel { position: relative; height: 600px; overflow: hidden; } 
.hero-carousel, .hero-carousel .carousel-inner, .hero-carousel .carousel-item { height: 600px; width: 100%; } 
.hero-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; } 
/* Gradient so the caption stays legible */ 
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.25) 100%); pointer-events: none; } 
/* Caption — bottom left, large serif */ 
.hero-caption { position: absolute; left: 0; bottom: 0%; z-index: 3; max-width: 70%; } 
.hero-caption h1 { font-family: Georgia, "Times New Roman", serif; color: #fff; text-transform: uppercase; font-weight: 400; line-height: 1.02; font-size: clamp(2.5rem, 7vw, 6rem); margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); } 
/* ---------- Circular prev / next arrows ---------- */ 
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: auto; opacity: 1; z-index: 4; top: 50%; transform: translateY(-50%); bottom: auto; } 
.hero-carousel .carousel-control-prev { left: 3.5%; } 
.hero-carousel .carousel-control-next { right: 3.5%; } 
.hero-arrow { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; font-size: 1.6rem; transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease; } 
/* left arrow: subtle translucent fill */ 
.hero-arrow--prev { background: rgba(255, 255, 255, 0.12); border: 1.5px solid rgba(255, 255, 255, 0.75); }
/* right arrow: crisp white ring */ 
.hero-arrow--next { background: transparent; border: 2px solid #ffffff; } 
.hero-arrow:hover { background: #fff; color: #1c1c1c; transform: scale(1.06); } 
/* ---------- Dash indicators (bottom-right) ---------- */ 
.hero-carousel .carousel-indicators { justify-content: flex-end; align-items: center; right: 40px; left: auto; bottom: 28px; margin: 0; gap: 10px; z-index: 4; } 
.hero-carousel .carousel-indicators [data-bs-target] { width: 32px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.45); border: 0; opacity: 1; margin: 0; transition: background 0.3s ease, width 0.3s ease; } 
.hero-carousel .carousel-indicators .active { background: var(--ems-accent); width: 48px; } 
/* ---------- Responsive ---------- */ @media (max-width: 767.98px) { 
.hero-arrow { width: 46px; height: 46px; font-size: 1.15rem; } 
.hero-caption { max-width: 90%; bottom: 14%; } 
.hero-carousel .carousel-indicators { right: 20px; bottom: 18px; } 
.hero-carousel .carousel-indicators [data-bs-target] { width: 28px; } 
.hero-carousel .carousel-indicators .active { width: 34px; } } 
/* Respect reduced-motion preferences */ 
@media (prefers-reduced-motion: reduce) { 
  .hero-carousel .carousel-item { transition: none; } 
}

/* Home BIo Read More */
.text-content{ max-height:0px; overflow:hidden; transition:max-height .4s ease; }
.text-content.expanded{ max-height:500px; }
/* Pagination */
.active>.page-link, .page-link.active { background-color: #23a3c1; border-color: #23a3c1;}
.page-link { color: #23a3c1;}

/* ---------- University logo carousel ---------- */
.uni-carousel-outer{ display: flex; align-items: center; gap: 12px;}
.uni-carousel-track-wrap{ flex: 1 1 auto; min-width: 0; /* REQUIRED: lets the flex child actually shrink */ overflow: hidden;}
.uni-carousel-track{ display: flex; gap: 16px; transition: transform .45s cubic-bezier(.22,.61,.36,1); will-change: transform; }
/* Fixed flex-basis = predictable card width = predictable translate.
   4 up on desktop, 3 on tablet, 2 on mobile, 1 on small phones. */
.uni-logo-card{ flex: 0 0 calc((100% - 3 * 16px) / 4); display: flex; align-items: center; justify-content: center;  aspect-ratio: 350 / 250;   padding: 38px; background: #fff; border-radius: 14px; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.uni-logo-card:hover,
.uni-logo-card:focus-visible{ transform: translateY(-3px); }
.uni-logo-card:focus-visible{ outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.uni-logo-card img{   max-width: 100%;   max-height: 100%;   width: auto;   height: auto;   object-fit: contain;   display: block; }
.uni-carousel-btn{ flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--blue-light); background: #fff; color: var(--blue-mid); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s ease, color .25s ease, opacity .25s ease; }
.uni-carousel-btn:hover:not(:disabled){ background: var(--blue-mid); color: #fff; }
.uni-carousel-btn:disabled{ cursor: default; }

@media (max-width: 1199px){ .uni-logo-card{ flex-basis: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 767px){  .uni-logo-card{ flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 420px){  .uni-logo-card{ flex-basis: 100%; } }

@media (prefers-reduced-motion: reduce){
  .uni-carousel-track{ transition: none; }
  .uni-logo-card{ transition: none; }
  .uni-logo-card:hover{ transform: none; }
}

.mobile-only{ display: none;}
/* General Mobile */
@media (max-width: 768px) {
.hero-section { padding: 0!important;}
.hero-carousel, .hero-carousel .carousel-inner, .hero-carousel .carousel-item { height:260px!important;}
.hero-caption h1 { font-size: clamp(1rem, 7vw, 6rem)!important;}
.newsletter-section .container .row { margin-right:auto; margin-left:auto; }

.btn-contact {  padding: 25px !important; margin-left: 0 !important; }
.main-nav .btn-admissions { margin-left: 0rem !important; margin-top: 10px!important; padding: 25px !important;}
.m-footer { margin-top: 15px;}

/* mobile Margin */
.m-m-t-zero { margin-top: 0!important;}

/* mobile Padding */
.m-p-t-zero { padding-top: 0!important;}

html { overflow-x: hidden; width: 100%; }
.mobile-bg-light-b { background: var(--blue-pale); }
.mobile-bg-white { background: #fff; }

#Cricket p {     font-size: .92rem;     color: var(--text-muted); font-size: .97rem; line-height: 1.88; margin-bottom: 1.1rem;}
#Swimming h2 { margin-top: 35px!important;}


.contact-quick-item { flex: fit-content;}
.contact-white { padding-bottom: 0;}

.mobile-hide { display: none;}
.mobile-only{ display: block;}
/* image gallery */
.sg-grid { column-count: 2!important; }

}


