
/* Markazul Abrar — premium homepage skin; safe presentation-only layer */
:root{--nx-ink:#eaf2f7;--nx-muted:#a9bacb;--nx-navy:#071522;--nx-navy2:#0b2133;--nx-panel:#102b3e;--nx-teal:#36d6c7;--nx-green:#16a477;--nx-gold:#e9bd69;--nx-line:rgba(185,218,226,.15);--nx-shadow:0 22px 65px rgba(0,0,0,.22)}
html{scroll-padding-top:90px}
body{background:#071522!important;color:var(--nx-ink)!important;font-family:"Noto Sans Bengali","Hind Siliguri",Arial,sans-serif!important;line-height:1.75}
a{transition:color .22s ease,background .22s ease,border-color .22s ease,transform .22s ease}
.site-header{position:sticky;top:0;z-index:1000;display:flex;justify-content:space-between;align-items:center;gap:22px;padding:12px max(20px,calc((100% - 1240px)/2));background:rgba(5,17,29,.91)!important;border-bottom:1px solid var(--nx-line);backdrop-filter:blur(18px);box-shadow:0 10px 32px #0003}
.brand-lockup{display:flex;align-items:center;gap:13px;color:#fff!important;line-height:1.35;min-width:0}
.brand-lockup>span:last-child{display:flex;flex-direction:column}
.brand-lockup small{font-size:11px;color:#8da9b8;letter-spacing:2px;font-weight:600}
.site-logo,.logo-fallback{width:54px;height:54px;object-fit:contain;border-radius:16px;background:#fff;padding:4px;flex:none}
.logo-fallback{display:grid;place-items:center;color:#092d39;font-size:30px}
#main-nav{display:flex;align-items:center;justify-content:flex-end;gap:4px}
#main-nav a{font-size:13px;color:#d2e1e8;padding:9px 11px;border-radius:10px;white-space:nowrap}
#main-nav a:hover,#main-nav a:focus-visible{color:#fff;background:#35d7d11b}
#main-nav a[href="admission.php"],#main-nav a[href="guardian/login.php"]{background:linear-gradient(135deg,#138c68,#16b68c);color:white;font-weight:800}
.menu-toggle{display:none;border:1px solid var(--nx-line);background:#102a3b;color:white;border-radius:10px;padding:10px 14px;font:inherit;font-weight:700}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:650px!important;padding:100px 22px!important;background:radial-gradient(ellipse at 15% 18%,#1ca78c38,transparent 34%),radial-gradient(ellipse at 88% 82%,#e8b85a20,transparent 30%),linear-gradient(120deg,#061321 0%,#0b2b3e 55%,#073d3d 100%)!important}
.hero:before,.hero:after{content:"";position:absolute;z-index:-1;border:1px solid #65e3d326;border-radius:50%;width:520px;height:520px;right:-160px;top:-240px;box-shadow:0 0 0 35px #65e3d30a,0 0 0 75px #65e3d307}
.hero:after{width:300px;height:300px;right:auto;left:-140px;top:auto;bottom:-190px;border-color:#e9bd6933}
.hero-inner{position:relative;z-index:2;max-width:940px}
.eyebrow{border:1px solid #e9bd6959!important;background:#e9bd6912;color:#f3d79c!important;padding:8px 17px!important;letter-spacing:1px;box-shadow:inset 0 0 20px #e9bd690c}
.hero h1{color:#fff;font-size:clamp(38px,6vw,70px)!important;line-height:1.24!important;letter-spacing:-1px;text-shadow:0 8px 35px #0007;margin:24px 0 15px!important}
.hero p{color:#c5d9e1!important;font-size:clamp(17px,2vw,21px)!important;max-width:760px}
.actions{gap:13px!important}
.btn{border-radius:13px!important;padding:14px 22px!important;box-shadow:0 10px 25px #0002;transition:transform .22s,box-shadow .22s}
.btn:hover{transform:translateY(-3px);box-shadow:0 15px 32px #0004}
.btn-gold{background:linear-gradient(135deg,#f0ce83,#dca94d)!important;color:#182331!important}
.btn-glass{border:1px solid #b9d9df60!important;background:#ffffff0d!important;color:#f2fbff!important;backdrop-filter:blur(10px)}
.wrap{max-width:1240px!important;padding:78px 24px!important}
.heading{margin-bottom:34px!important}
.heading span{color:var(--nx-teal)!important;letter-spacing:1.5px;font-size:13px}
.heading h2{color:#f2f7fa!important;font-size:clamp(27px,3.5vw,40px)!important;line-height:1.35}
.heading p{color:var(--nx-muted)!important}
.about,.panel,.tile,.teacher-card,.empty{background:linear-gradient(145deg,#102a3c,#0c2233)!important;border:1px solid var(--nx-line)!important;border-radius:20px!important;box-shadow:var(--nx-shadow)!important;color:#d7e4eb!important}
.about{padding:34px!important;line-height:2!important;font-size:16px}
.panel{padding:25px!important}
.panel h2,.panel h3,.caption h3,.teacher-info h3{color:#f1f7f9!important}
.quote{color:#c6d8e1!important}
.columns{gap:22px!important}
.notice{border-color:var(--nx-line)!important}
.notice strong{color:#eff8fa}
.notice small,.notice p{color:var(--nx-muted)!important}
.teacher-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}
.teacher-card{overflow:hidden;transition:transform .25s,border-color .25s}
.teacher-card:hover,.tile:hover,.feature-card:hover{transform:translateY(-5px);border-color:#36d6c766!important}
.teacher-card>img{width:100%;height:245px;object-fit:cover;display:block}
.teacher-placeholder{height:245px;display:grid;place-items:center;font-size:65px;background:linear-gradient(135deg,#173d4b,#0b2737)}
.teacher-info{padding:20px}
.teacher-info strong{color:var(--nx-gold)}
.teacher-info p{color:var(--nx-muted)}
.gallery{gap:20px!important}
.tile{overflow:hidden}
.tile img,.tile video{height:260px!important}
.tile .caption{padding:18px!important}
.caption p{color:var(--nx-muted)!important}
.results-panel{background:linear-gradient(145deg,#102b3e,#0b2030)!important}
.result-filters label{color:#d9e9ef}
.result-filters select{background:#071a29;color:#edf8fb;border:1px solid var(--nx-line);padding:12px;border-radius:10px;font:inherit}
.public-result-table{border:1px solid var(--nx-line);border-radius:14px}
.public-result-table table{min-width:900px}
.public-result-table th{background:#142b43;color:#65e0d8;border-bottom:1px solid var(--nx-line)}
.public-result-table td{color:#dce6f3;border-bottom:1px solid var(--nx-line)}
.grade-pill{background:#35d7d11c;color:#6ce9e1}
table{border-collapse:separate;border-spacing:0}
th,td{padding:13px 14px}
td{border-color:var(--nx-line)}
.mission-section{position:relative}
.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.feature-card{padding:25px 22px;border-radius:18px;background:linear-gradient(145deg,#102d40,#0b2030);border:1px solid var(--nx-line);box-shadow:var(--nx-shadow);transition:transform .25s,border-color .25s}
.feature-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#36d6c71a;color:var(--nx-teal);font-size:25px;margin-bottom:18px}
.feature-card h3{margin:0 0 9px;color:#f0f7f9;font-size:19px}
.feature-card p{margin:0;color:var(--nx-muted);font-size:14px;line-height:1.85}
.admission-banner{max-width:1192px;margin:10px auto 35px;padding:42px clamp(22px,5vw,55px);border-radius:24px;background:radial-gradient(circle at 90% 0,#e9bd6933,transparent 34%),linear-gradient(120deg,#0c765e,#0b3d46 75%);border:1px solid #8ce5d333;box-shadow:var(--nx-shadow);display:flex;align-items:center;justify-content:space-between;gap:25px}
.admission-banner h2{color:white;font-size:clamp(25px,3vw,36px);margin:12px 0 6px}
.admission-banner p{color:#d3eee6;max-width:720px;margin:0}
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:15px}
.contact-card{display:flex;align-items:center;gap:15px;padding:21px;border-radius:16px;background:#102b3e;border:1px solid var(--nx-line);color:#eff8fa}
.contact-card:hover{border-color:#36d6c766;transform:translateY(-3px)}
.contact-icon{width:44px;height:44px;display:grid;place-items:center;background:#36d6c71a;border-radius:13px;color:var(--nx-teal);font-size:22px;flex:none}
.contact-card strong{display:block}
.contact-card p{margin:3px 0 0;color:var(--nx-muted);font-size:14px}
footer{background:linear-gradient(135deg,#06101d,#0c2437)!important;border-top:1px solid var(--nx-line);padding:60px 20px!important}
footer h2{color:#fff!important}footer p,.copyright{color:#9fb0c4!important}
.social a{border-color:#35d7d14a!important;color:#6ce9e1!important;border-radius:12px!important}
.social a:hover{background:#35d7d115!important}
.floating-words{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.floating-word{position:absolute;display:block;white-space:nowrap;color:#5de5dc;opacity:0;filter:drop-shadow(0 0 12px #35d7d13a);font-size:clamp(12px,1.3vw,17px);font-weight:800;animation:nxFloat 17s ease-in-out infinite}
.floating-word:nth-child(3n){color:#ffc274}
@keyframes nxFloat{0%{opacity:0;transform:translate3d(0,25px,0) rotate(-5deg)}15%{opacity:.34}50%{opacity:.23;transform:translate3d(28px,-30px,0) rotate(4deg)}85%{opacity:.3}100%{opacity:0;transform:translate3d(-18px,-75px,0) rotate(-4deg)}}
@media(max-width:1050px){.site-header{flex-wrap:wrap}.menu-toggle{display:block}#main-nav{display:none;width:100%;padding:8px 0;flex-direction:column;align-items:stretch}#main-nav.active{display:flex}#main-nav a{padding:12px 14px}.hero{min-height:560px!important}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.site-header{padding:10px 14px}.site-logo,.logo-fallback{width:43px;height:43px}.brand-lockup{font-size:16px}.brand-lockup small{font-size:9px}.hero{min-height:530px!important;padding:75px 17px!important}.hero h1{font-size:clamp(32px,10vw,46px)!important}.hero p{font-size:16px!important}.actions{flex-direction:column;align-items:stretch;max-width:340px;margin:auto}.actions .btn{width:100%;text-align:center}.wrap{padding:52px 16px!important}.about,.panel{padding:19px!important}.heading{margin-bottom:24px}.tile img,.tile video{height:220px!important}.result-filters{align-items:stretch}.result-filters label{min-width:100%}.result-filters .btn{width:100%}.floating-word{font-size:12px}.public-result-table table{min-width:860px}.feature-grid{grid-template-columns:1fr 1fr}.admission-banner{margin:0 14px 20px;padding:27px 20px;flex-direction:column;align-items:flex-start}.admission-banner .btn{width:100%;text-align:center}.contact-grid{grid-template-columns:1fr}}
@media(max-width:420px){.feature-grid{grid-template-columns:1fr}.brand-lockup{max-width:78%}.brand-lockup small{letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Reference hero composition: left copy + four compact feature tiles */
.hero-reference{display:flex!important;align-items:center!important;justify-content:center!important;text-align:left!important;min-height:620px!important;padding:76px 24px!important}
.hero-reference .hero-layout{width:100%;max-width:1210px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:center;gap:54px}
.hero-reference .hero-copy{text-align:center}
.hero-reference .hero-bilingual{color:#49d8ce;font:700 12px/1.5 Arial,sans-serif;letter-spacing:3px;margin:22px 0 8px}
.hero-reference .hero-copy h1{font-size:clamp(34px,4.6vw,57px)!important;color:#5ce2d8!important;margin:8px 0!important}
.hero-reference .hero-copy p{margin:0 auto 18px;color:#e8d49f!important}
.hero-motto{display:flex;flex-direction:column;gap:2px;margin:12px auto 22px;color:#57dcd1;font:600 clamp(16px,2vw,22px)/1.4 Georgia,serif}
.hero-motto b{color:#e9bd69;font-weight:700}
.hero-reference .actions{justify-content:center}
.hero-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hero-feature{min-height:132px;padding:20px 16px;border:1px solid #47d7cd1f;border-radius:15px;background:linear-gradient(145deg,#0c2d3fdd,#071d2de8);box-shadow:0 14px 35px #0003;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;backdrop-filter:blur(8px)}
.hero-feature>span{font-size:27px;line-height:1;color:#48d8ce}
.hero-feature strong{color:#f2f7f7;font-size:16px}
.hero-feature small{font:600 9px Arial,sans-serif;letter-spacing:1.2px;color:#9bb7c3}
@media(max-width:850px){.hero-reference .hero-layout{grid-template-columns:1fr;gap:30px}.hero-reference{padding:65px 18px!important}.hero-features{max-width:540px;width:100%;margin:0 auto}.hero-reference .hero-copy h1{font-size:clamp(30px,8vw,45px)!important}}
@media(max-width:480px){.hero-features{gap:9px}.hero-feature{min-height:112px;padding:15px 9px}.hero-feature strong{font-size:14px}.hero-feature small{font-size:8px}.hero-motto{font-size:16px}}
/* Keep the exam timetable legible without changing its chronological data order */
#routine .tablewrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--nx-line);border-radius:12px}
#routine table{min-width:680px;width:100%;background:transparent}
#routine th{background:#142b43;color:#69e2d8;white-space:nowrap}
#routine td{color:#dce8ee;white-space:nowrap}
#routine tr:nth-child(even) td{background:#ffffff05}
