:root{--navy:#10294d;--navy2:#0b1d38;--gold:#c8902e;--gold2:#e2b052;--ink:#1d2736;--muted:#5b6678;--soft:#f5f1e8;--line:#e6e1d4;--radius:14px;--shadow:0 10px 30px rgba(16,41,77,.12)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Poppins','Noto Sans Kannada',system-ui,sans-serif;color:var(--ink);line-height:1.65;background:#fff;overflow-x:hidden}
body.lang-kn{font-family:'Noto Sans Kannada','Poppins',system-ui,sans-serif;line-height:1.85}
h1,h2,h3{font-family:'Playfair Display','Noto Sans Kannada',serif;color:var(--navy);line-height:1.25}
body.lang-kn h1,body.lang-kn h2,body.lang-kn h3{font-family:'Noto Sans Kannada',serif;font-weight:700}
img{max-width:100%;height:auto}
a{color:var(--navy)}
.skip-link{position:absolute;left:-999px;top:0;background:#fff;padding:.5rem 1rem;z-index:2000}.skip-link:focus{left:0}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

.topbar{background:var(--navy2);color:#dfe6f2;font-size:.82rem;padding:.4rem 0}
.topbar a{color:#dfe6f2;text-decoration:none;margin-right:1rem}.topbar a:hover{color:var(--gold2)}
.topbar i{color:var(--gold2);margin-right:.3rem}
.social .soc{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);color:#fff!important;margin:0;transition:.25s;text-decoration:none}
.social .soc:hover{transform:translateY(-3px)}
.soc-instagram:hover{background:#d62976}.soc-facebook:hover{background:#1877f2}.soc-whatsapp:hover{background:#25d366}.soc-linkedin:hover{background:#0a66c2}
.soc-disabled{opacity:.45;cursor:not-allowed}
.lang-toggle{display:inline-flex;border:1px solid rgba(255,255,255,.35);border-radius:999px;overflow:hidden}
.lang-toggle a{margin:0;padding:.2rem .8rem;font-weight:600}
.lang-toggle a.active{background:var(--gold);color:#fff}
.lang-toggle a:not(.active):hover{background:rgba(255,255,255,.15)}

.site-header{position:sticky;top:0;z-index:1030;background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.08)}
.brand-wrap{padding:.35rem 0}
.brand-logo{height:64px;width:auto;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(16,41,77,.15))}
.brand-fallback{width:64px;height:64px;border-radius:50%;background:var(--navy);color:var(--gold2);display:grid;place-items:center;font-weight:700}
.brand-text{display:flex;flex-direction:column;line-height:1.1;max-width:360px}
.brand-title{display:flex;flex-direction:column;color:var(--navy);font-family:'Playfair Display','Noto Sans Kannada',serif;font-size:1.05rem;letter-spacing:.01em}
.brand-line{display:block}
.brand-motto{color:var(--gold);font-size:.72rem;font-weight:600;letter-spacing:.08em;margin-top:.2rem}
.navbar{padding:.35rem 0}
.navbar .nav-link{font-weight:600;color:var(--ink);padding:.85rem .75rem;position:relative;font-size:.9rem;border-radius:10px;transition:color .25s,background .25s}
.navbar .nav-link::after{content:"";position:absolute;left:.75rem;right:.75rem;bottom:.35rem;height:2px;background:linear-gradient(90deg,var(--gold),var(--gold2));transform:scaleX(0);transform-origin:left;transition:.25s}
.navbar .nav-link:hover{color:var(--navy);background:rgba(16,41,77,.04)}
.navbar .nav-link:hover::after,.navbar .nav-link.active::after,.navbar .dropdown-toggle.show::after{transform:scaleX(1)}
.navbar .nav-link.active{color:var(--navy)}
.dropdown-menu{border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:.4rem}
.dropdown-item{border-radius:10px;font-weight:500;padding:.55rem .85rem}
.dropdown-item.active,.dropdown-item:active{background:var(--navy);color:#fff}
.dropdown-item:hover{background:rgba(16,41,77,.06)}
.site-header.scrolled{backdrop-filter:saturate(140%) blur(8px);background:rgba(255,255,255,.92)}

.btn{border-radius:999px;font-weight:600;padding-inline:1.3rem}
.btn-primary{background:var(--navy);border-color:var(--navy)}.btn-primary:hover{background:var(--navy2);border-color:var(--navy2)}
.btn-outline-primary{color:var(--navy);border-color:var(--navy)}.btn-outline-primary:hover{background:var(--navy);border-color:var(--navy)}
.btn-accent{background:var(--gold);color:#fff;border-color:var(--gold)}.btn-accent:hover{background:#a97620;color:#fff}

.hero{position:relative;min-height:78vh;display:flex;align-items:center;color:#fff;background:linear-gradient(120deg,var(--navy2),var(--navy));overflow:hidden}
.hero-slides,.hero-slide,.hero-overlay{position:absolute;inset:0}
.hero-slide{background-size:cover;background-position:center;opacity:0;transition:opacity 1.4s ease;transform:scale(1.04)}
.hero-slide.active{opacity:1;animation:kb 9s ease-out forwards}
@keyframes kb{to{transform:scale(1.12)}}
.hero-overlay{background:linear-gradient(90deg,rgba(11,29,56,.92) 0%,rgba(11,29,56,.65) 55%,rgba(11,29,56,.35) 100%)}
.hero-content{position:relative;padding:4rem 0}
.hero h1{color:#fff;font-size:clamp(2rem,5vw,3.6rem);max-width:760px}
.hero .lead{max-width:640px;opacity:.92}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:600;color:var(--gold2);margin-bottom:.4rem}
.eyebrow.dark{color:var(--gold)}
body.lang-kn .eyebrow{text-transform:none;letter-spacing:.02em}

.stats{background:var(--navy);color:#fff;padding:1.6rem 0}
.stat{font-size:2rem;font-weight:700;color:var(--gold2);font-family:'Playfair Display',serif}
.stat small{display:block;font-size:.8rem;color:#cfd8e8;font-weight:400;font-family:'Poppins','Noto Sans Kannada',sans-serif}
.section{padding:4.5rem 0}.bg-soft{background:var(--soft)}
.section-head{text-align:center;max-width:720px;margin:0 auto 2.2rem}
.empty{text-align:center;color:var(--muted);padding:2rem}

.vm-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow);margin-bottom:1rem}
.vm-card i{color:var(--gold);font-size:1.4rem}.vm-card ul{padding-left:1.1rem;margin:0}
.pillar{border-left:4px solid var(--gold);background:var(--soft);padding:1.1rem 1.3rem;border-radius:8px;height:100%}
.principal{display:grid;grid-template-columns:300px 1fr;gap:2.8rem;align-items:center}
.principal-photo{position:relative}
.principal-photo::before{content:"";position:absolute;inset:-10px -10px 10px 10px;border-radius:22px;background:linear-gradient(135deg,rgba(200,144,46,.25),rgba(16,41,77,.08));z-index:0}
.principal-photo img{position:relative;z-index:1;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:18px;box-shadow:0 18px 40px rgba(16,41,77,.22);background:#e9e3d3;border:4px solid #fff}
blockquote{border-left:4px solid var(--gold);padding-left:1.2rem;font-style:italic;color:var(--muted)}
.history p{max-width:860px}

.card-x{display:block;background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);transition:transform .35s ease,box-shadow .35s ease;text-decoration:none;color:inherit;border:1px solid rgba(230,225,212,.9)}
.card-x:hover{transform:translateY(-8px);box-shadow:0 22px 48px rgba(16,41,77,.18)}
.card-x-img{position:relative;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#e9e3d3,#f8f5ee)}
.card-x-img::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(11,29,56,.18),transparent 45%);opacity:0;transition:.35s;pointer-events:none}
.card-x:hover .card-x-img::after{opacity:1}
.card-x-img img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.card-x:hover .card-x-img img{transform:scale(1.08)}
.card-x-body{padding:1.25rem 1.25rem 1.35rem}
.tags{display:flex;flex-wrap:wrap;gap:.4rem}.tags span,.chip{background:var(--soft);color:var(--navy);border-radius:999px;font-size:.75rem;padding:.15rem .7rem;font-weight:500}
.badge-status{position:absolute;top:.8rem;left:.8rem;padding:.2rem .8rem;border-radius:999px;font-size:.75rem;color:#fff;font-weight:600}
.s-upcoming{background:#2e8b57}.s-ongoing{background:var(--gold)}.s-completed{background:#6b7280}
.dept-row{display:grid;grid-template-columns:1fr 1.2fr;gap:2.5rem;align-items:center;margin-bottom:3.5rem}
.dept-row.rev .dept-img{order:2}.dept-img img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow);aspect-ratio:16/10;object-fit:cover;background:#e9e3d3}

.events-band{background:linear-gradient(135deg,var(--navy2),var(--navy));color:#fff}
.events-band h2{color:#fff}
.event-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:var(--radius);padding:1.3rem;backdrop-filter:blur(4px);transition:.3s}
.event-card:hover{background:rgba(255,255,255,.14);transform:translateY(-4px)}
.event-card h3{color:#fff}
.event-date{display:inline-flex;flex-direction:column;align-items:center;background:var(--gold);color:#fff;border-radius:10px;padding:.4rem .9rem;margin-bottom:.7rem;line-height:1.1}
.event-date strong{font-size:1.5rem}.event-date span{font-size:.72rem;text-transform:uppercase}

.gallery-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem}
.gp-item{display:block;overflow:hidden;border-radius:10px;aspect-ratio:4/3}
.gp-item img{width:100%;height:100%;object-fit:cover;transition:.5s}.gp-item:hover img{transform:scale(1.1)}
.page-hero{background:linear-gradient(135deg,var(--navy2),var(--navy));color:#fff;padding:3.5rem 0}
.page-hero h1{color:#fff}.page-hero p{max-width:720px;opacity:.9}

.filter-bar{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.8rem;margin-bottom:1.2rem;scrollbar-width:thin}
.filter{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:.35rem 1rem;font-weight:500;font-size:.88rem;transition:.2s}
.filter small{opacity:.6}.filter:hover{border-color:var(--gold)}
.filter.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.gallery-grid{column-count:3;column-gap:1rem}
.g-item{break-inside:avoid;margin:0 0 1rem;border-radius:12px;overflow:hidden;position:relative;box-shadow:var(--shadow)}
.g-item a{display:block;position:relative}.g-item img{width:100%;display:block;transition:.5s}
.g-item:hover img{transform:scale(1.05)}
.g-item figcaption{position:absolute;inset:auto 0 0 0;padding:.8rem;color:#fff;font-size:.82rem;background:linear-gradient(transparent,rgba(0,0,0,.75));opacity:0;transition:.3s}
.g-item:hover figcaption{opacity:1}
.g-item[hidden]{display:none}
.lightbox{position:fixed;inset:0;background:rgba(5,10,20,.94);z-index:3000;display:flex;align-items:center;justify-content:center;padding:2rem}
.lightbox[hidden]{display:none}
.lightbox figure{margin:0;max-width:92vw;text-align:center}.lightbox img{max-width:92vw;max-height:80vh;border-radius:8px}
.lightbox figcaption{color:#fff;margin-top:.8rem}
.lb-btn{position:absolute;background:rgba(255,255,255,.14);color:#fff;border:0;width:48px;height:48px;border-radius:50%;font-size:1.6rem;line-height:1}
.lb-btn:hover{background:var(--gold)}.lb-close{top:1rem;right:1rem}.lb-prev{left:1rem}.lb-next{right:1rem}

.site-footer{background:var(--navy2);color:#cfd8e8;padding:3.5rem 0 1.5rem}
.site-footer a{color:#cfd8e8;text-decoration:none}.site-footer a:hover{color:var(--gold2)}
.site-footer strong{color:#fff}.footer-h{color:var(--gold2);text-transform:uppercase;letter-spacing:.1em}
.site-footer i{color:var(--gold2);width:1.2rem}.site-footer hr{border-color:rgba(255,255,255,.15)}
.reveal{opacity:0;transform:translateY(24px);transition:.8s}.reveal.in{opacity:1;transform:none}
@media (max-width:991px){.principal,.dept-row{grid-template-columns:1fr}.dept-row.rev .dept-img{order:0}.gallery-preview{grid-template-columns:repeat(2,1fr)}.gallery-grid{column-count:2}.principal-photo{max-width:260px}}
@media (max-width:575px){.gallery-grid{column-count:1}.section{padding:3rem 0}.brand-text{max-width:190px}.topbar-info a{display:block;margin:0}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.hero-slide{transform:none}}

/* ===== Phase 2 ===== */
.card-x-img.portrait{aspect-ratio:4/5}
.person-card .card-x-img img{object-position:center top}
.person-col[hidden]{display:none}
.profile-panel{position:fixed;inset:0;z-index:3000;background:rgba(8,18,36,.8);display:flex;align-items:center;justify-content:center;padding:1rem;opacity:0;transition:opacity .22s}
.profile-panel[hidden]{display:none}.profile-panel.show{opacity:1}
.pp-card{position:relative;background:#fff;border-radius:18px;max-width:980px;width:100%;max-height:92vh;overflow:auto;display:grid;grid-template-columns:minmax(260px,38%) 1fr;transform:translateY(20px) scale(.98);transition:transform .25s}
.profile-panel.show .pp-card{transform:none}
.pp-photo{background:#e9e3d3}.pp-photo img{width:100%;height:100%;min-height:340px;object-fit:cover;object-position:center top;display:block}
.pp-info{padding:2rem}.pp-role{color:var(--gold);font-weight:600}
.pp-fields{display:grid;grid-template-columns:max-content 1fr;gap:.35rem 1.2rem;margin:1rem 0}
.pp-fields dt{font-weight:600;color:var(--navy)}.pp-fields dd{margin:0}
.pp-close{position:absolute;top:.7rem;right:.7rem;width:38px;height:38px;border-radius:50%;border:0;background:rgba(16,41,77,.9);color:#fff;z-index:2}
.pp-close:hover{background:var(--gold)}
@media (max-width:767px){.pp-card{grid-template-columns:1fr}.pp-photo img{min-height:0;max-height:300px}.pp-info{padding:1.2rem}.pp-fields{grid-template-columns:1fr}.pp-fields dd{margin-bottom:.4rem}}
.doc-list{display:grid;gap:.8rem}.doc-item{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid var(--line);border-radius:12px;padding:1rem 1.2rem;box-shadow:var(--shadow)}
.doc-item[hidden]{display:none}.doc-ico{font-size:1.8rem;color:#b3261e}
.contact-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow)}
.map-wrap{margin-top:1rem;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.map-wrap iframe{width:100%;height:300px;border:0;display:block}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* ===== Phase 4: advanced features ===== */
:root{--card:#fff}
.ticker{background:var(--gold);color:#0b1d38;font-size:.85rem}
.ticker .container{padding-block:.3rem}
.ticker-label{font-weight:700;white-space:nowrap}
.ticker-track{overflow:hidden;flex:1;min-width:0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.ticker-move{display:flex;width:max-content;animation:tick 45s linear infinite}
.ticker-move>*{margin-right:3rem;white-space:nowrap}
.ticker a{color:#0b1d38;font-weight:600;text-decoration:underline}
.ticker-track:hover .ticker-move,.ticker-track:focus-within .ticker-move,.ticker.paused .ticker-move{animation-play-state:paused}
.ticker-pause{border:0;background:rgba(0,0,0,.12);color:#0b1d38;width:26px;height:26px;border-radius:50%;line-height:1;font-size:.7rem}
@keyframes tick{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ticker-track{overflow-x:auto}.ticker-move{width:auto;flex-wrap:wrap}.ticker-move [aria-hidden=true]{display:none}}

.topbar .icon-btn{margin:0;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);color:#fff;border:0;padding:0;text-decoration:none}
.topbar .icon-btn:hover{background:var(--gold);color:#fff}
.topbar i.fa-moon,.topbar i.fa-sun,.topbar i.fa-magnifying-glass{margin:0;color:inherit}
.site-header .brand-logo{transition:height .25s}.site-header.scrolled .brand-logo{height:42px}
@media (min-width:1200px){.navbar .nav-link{padding-inline:.5rem;font-size:.85rem}.navbar .nav-link::after{left:.5rem;right:.5rem}}

.hero-content>*{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.hero-content>*:nth-child(2){animation-delay:.12s}.hero-content>*:nth-child(3){animation-delay:.24s}.hero-content>*:nth-child(4){animation-delay:.36s}
@keyframes rise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--gold);z-index:3500;pointer-events:none}
.to-top{position:fixed;right:1rem;bottom:1rem;z-index:1500;width:46px;height:46px;border-radius:50%;border:0;background:var(--navy);color:#fff;box-shadow:var(--shadow)}
.to-top:hover{background:var(--gold)}.to-top[hidden]{display:none}
.install-btn{position:fixed;left:1rem;bottom:1rem;z-index:1500}.install-btn[hidden]{display:none}

.crumbs{--bs-breadcrumb-divider-color:#cfd8e8;margin-bottom:.8rem;font-size:.85rem}.crumbs a{color:var(--gold2)}.crumbs .active{color:#fff}
.article-body{font-size:1.05rem;line-height:1.9;max-width:72ch}.article-body p{margin-bottom:1.1rem}
body.lang-kn .article-body{line-height:2}
.article-img{margin:0 0 1.5rem}.article-img img{width:100%;max-height:480px;object-fit:cover;border-radius:var(--radius);box-shadow:var(--shadow)}
.share{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:1.5rem 0}
.prev-next{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:2rem}
.prev-next a{display:block;padding:1rem;border:1px solid var(--line);border-radius:12px;text-decoration:none;background:var(--card)}
.prev-next a:hover{border-color:var(--gold)}.prev-next small{display:block;color:var(--muted)}
@media (max-width:575px){.prev-next{grid-template-columns:1fr}}
.search-form{display:flex;gap:.6rem;max-width:720px}
.result-list li{padding:.8rem 0;border-bottom:1px solid var(--line)}
.cal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;gap:1rem}
.cal{width:100%;table-layout:fixed;border-collapse:collapse;min-width:640px}
.cal th{background:var(--navy);color:#fff;padding:.5rem;text-align:center;font-weight:600;font-size:.85rem}
.cal td{height:96px;vertical-align:top;border:1px solid var(--line);padding:.3rem;background:var(--card)}
.cal td.blank{background:var(--soft)}.cal td.today{outline:2px solid var(--gold);outline-offset:-2px}
.cal .dn{font-weight:600;font-size:.85rem}
.cal-ev{display:block;margin-top:.2rem;background:var(--navy);color:#fff!important;font-size:.72rem;border-radius:6px;padding:.1rem .4rem;text-decoration:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cal-ev:hover{background:var(--gold)}
.cal-list li{padding:.4rem 0;border-bottom:1px solid var(--line)}

/* dark theme: chosen with the moon/sun button, remembered in the browser */
[data-theme=dark]{--ink:#e6ebf5;--muted:#a3aec2;--soft:#101a2d;--line:#2a3550;--card:#151f34;--shadow:0 10px 30px rgba(0,0,0,.5)}
[data-theme=dark] body{background:#0d1524;color:var(--ink)}
:where([data-theme=dark]) h1,:where([data-theme=dark]) h2,:where([data-theme=dark]) h3,:where([data-theme=dark]) h4,:where([data-theme=dark]) h5,:where([data-theme=dark]) h6{color:#f1f4fb}
:where([data-theme=dark]) a{color:#9fc2ff}
[data-theme=dark] .site-header{background:#111b2e;box-shadow:0 2px 14px rgba(0,0,0,.5)}
[data-theme=dark] .navbar .nav-link{color:#dbe3f2}[data-theme=dark] .navbar .nav-link.active{color:#fff}
[data-theme=dark] .brand-text strong{color:#fff}
[data-theme=dark] .navbar-toggler{border-color:#3a4766}[data-theme=dark] .navbar-toggler-icon{filter:invert(1)}
[data-theme=dark] .card-x,[data-theme=dark] .vm-card,[data-theme=dark] .contact-form,[data-theme=dark] .doc-item,[data-theme=dark] .filter,[data-theme=dark] .pp-card{background:var(--card);border-color:var(--line);color:var(--ink)}
[data-theme=dark] .pillar{background:#161f33}
[data-theme=dark] .tags span,[data-theme=dark] .chip{background:#1e2a45;color:#cfe0ff}
[data-theme=dark] .filter{color:#dbe3f2}
[data-theme=dark] .filter.active{background:var(--gold);border-color:var(--gold);color:#0b1d38}
[data-theme=dark] .pp-fields dt{color:#f1c76b}[data-theme=dark] blockquote{color:#b9c4da}
[data-theme=dark] .card-x-img,[data-theme=dark] .principal-photo img,[data-theme=dark] .dept-img img,[data-theme=dark] .pp-photo{background:#1b2740}
[data-theme=dark] .btn-outline-primary{color:#9fc2ff;border-color:#4a6cab}
[data-theme=dark] .btn-outline-primary:hover{background:#9fc2ff;color:#0b1d38}
[data-theme=dark] .prev-next a{color:var(--ink)}
[data-theme=dark] .cal th{background:#1c2a47}
[data-theme=dark] .form-control,[data-theme=dark] .form-select{background:#0f1a2e;border-color:#33425f;color:#e6ebf5}
[data-theme=dark] .to-top{background:var(--gold);color:#0b1d38}

@media print{.ticker,.topbar,.site-header,.site-footer,.share,.prev-next,.to-top,.scroll-progress,.install-btn{display:none!important}.page-hero{background:none;color:#000;padding:1rem 0}.page-hero h1,.page-hero p,.crumbs .active{color:#000}.section{padding:1rem 0}}

	/* ===== Enhancements: facilities, alumni scroller, home sections ===== */
	.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
	.why-card{background:var(--card,#fff);border:1px solid var(--line);border-radius:16px;padding:1.25rem;box-shadow:var(--shadow);height:100%;transition:.3s}
	.why-card:hover{transform:translateY(-4px)}
	.why-card i{font-size:1.4rem;color:var(--gold);margin-bottom:.5rem}
	.facility-card .card-x-img{aspect-ratio:4/3}
	.alumni-scroller-wrap{position:relative}
	.alumni-scroller{display:flex;gap:1rem;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;padding:.25rem .25rem 1rem;-webkit-overflow-scrolling:touch}
	.alumni-scroller::-webkit-scrollbar{height:8px}
	.alumni-scroller::-webkit-scrollbar-thumb{background:rgba(16,41,77,.25);border-radius:999px}
	.alumni-card{flex:0 0 240px;scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);text-decoration:none;color:inherit}
	.alumni-card .img{aspect-ratio:4/5;background:#e9e3d3;overflow:hidden}
	.alumni-card img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .6s}
	.alumni-card:hover img{transform:scale(1.06)}
	.alumni-card .body{padding:.9rem 1rem}
	.alumni-card h3{font-size:1rem;margin:0 0 .2rem;font-family:'Poppins','Noto Sans Kannada',sans-serif;color:var(--navy)}
	.alumni-card p{margin:0;font-size:.85rem;color:var(--muted)}
	.scroller-btn{position:absolute;top:38%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:#fff;color:var(--navy);box-shadow:var(--shadow);z-index:2}
	.scroller-btn:hover{background:var(--navy);color:#fff}
	.scroller-btn.prev{left:-8px}.scroller-btn.next{right:-8px}
	@media (max-width:767px){.scroller-btn.prev{left:2px}.scroller-btn.next{right:2px}.alumni-card{flex-basis:210px}}
	.fac-cat{margin-bottom:2.5rem}
	.fac-cat h3{margin-bottom:1rem}
	.lightbox-open{cursor:zoom-in}
	.home-section-alt{background:linear-gradient(180deg,#fff,var(--soft))}
	.section-head-row h2,.section-head-row p{margin:0}
	@media (max-width:991px){.brand-text{max-width:240px}.brand-title{font-size:.95rem}.navbar-collapse{padding:1rem 0}.dropdown-menu{box-shadow:none;border:0;background:rgba(16,41,77,.03)}}
	@media (max-width:575px){.brand-logo{height:52px;width:52px}.brand-text{max-width:200px}.brand-title{font-size:.88rem}.brand-motto{font-size:.62rem;letter-spacing:.04em}.hero{min-height:70vh}}

	/* ===== Admission popup, hero bars, activities, dept/about tweaks ===== */
	.hero{overflow-x:clip;overflow-y:visible}
.hero-side-bar{position:absolute;top:50%;transform:translateY(-50%);z-index:5}
	.hero-enquiry-bar{left:0}
	.hero-social-bar{right:0}
	.hero-enquiry-btn{display:flex;align-items:center;gap:.6rem;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#fff;border:0;border-radius:0 999px 999px 0;padding:.85rem 1rem .85rem .9rem;font-weight:700;box-shadow:0 12px 28px rgba(16,41,77,.25);writing-mode:horizontal-tb;transition:transform .3s,box-shadow .3s}
	.hero-enquiry-btn:hover{transform:translateX(4px);box-shadow:0 16px 34px rgba(16,41,77,.32);color:#fff}
	.hero-enquiry-btn .arrow{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.22);font-size:1.1rem}
	.hero-social-vertical{display:flex;flex-direction:column;gap:.5rem;background:rgba(11,29,56,.55);backdrop-filter:blur(6px);padding:.6rem;border-radius:16px 0 0 16px;box-shadow:0 12px 28px rgba(0,0,0,.18)}
	.hero-social-vertical .soc{width:38px;height:38px}
	.admission-modal{position:fixed;inset:0;z-index:4000;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(8,18,36,.72);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .25s ease}
	.admission-modal.show{opacity:1;visibility:visible}
	.admission-modal[hidden]{display:none}
	.admission-dialog{width:min(920px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.35);transform:translateY(18px) scale(.98);transition:transform .25s ease;position:relative}
	.admission-modal.show .admission-dialog{transform:none}
	.admission-close{position:absolute;top:.7rem;right:.7rem;width:40px;height:40px;border-radius:50%;border:0;background:rgba(16,41,77,.9);color:#fff;z-index:2}
	.admission-head{padding:1.4rem 1.4rem 0}
	.admission-body{padding:1rem 1.4rem 1.4rem}
	body.modal-open-adm{overflow:hidden}
	.activity-thumb{display:block;width:64px;height:64px;border-radius:10px;overflow:hidden;border:1px solid var(--line);flex:0 0 auto}
	.activity-thumb img{width:100%;height:100%;object-fit:cover}
	.about-building-img{width:100%;height:100%;min-height:320px;object-fit:cover;border-radius:18px;box-shadow:var(--shadow);border:4px solid #fff}
	.facility-photo-only .card-x-body{display:none}
	.facility-photo-only .card-x-img{aspect-ratio:4/3}
	@media (max-width:991px){.hero-side-bar{position:static;transform:none;margin:.5rem 0}.hero{overflow:hidden;padding-bottom:1rem}.hero .container.hero-content{padding-bottom:2rem}.hero-enquiry-btn{border-radius:999px}.hero-social-vertical{flex-direction:row;border-radius:16px;justify-content:center;background:rgba(11,29,56,.45)}.hero-bars-mobile{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;margin-top:1rem}}

	/* ===== Comprehensive responsiveness & layout fixes ===== */
	html,body{max-width:100%;overflow-x:hidden}
	img,video,iframe{max-width:100%}
	.container,.container-fluid{max-width:100%}
	.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}
	.site-header .navbar-toggler{border:1px solid var(--line);padding:.45rem .6rem}
	.site-header .navbar-toggler:focus{box-shadow:0 0 0 .2rem rgba(200,144,46,.25)}
	.topbar .container,.topbar-info,.topbar .d-flex.align-items-center.gap-3{flex-wrap:wrap}
	.brand-wrap{min-width:0;max-width:100%}
	.brand-text{min-width:0}
	.brand-line{overflow-wrap:anywhere}
	.hero-content{width:100%}
	.hero-bars-mobile .hero-enquiry-btn{flex:1 1 220px;justify-content:center}
	.hero-bars-mobile .hero-social-vertical{flex:1 1 220px}
	.about-building-figure{margin:0;height:100%}
	.about-building-img{width:100%;height:clamp(280px,38vw,460px);min-height:0;object-fit:cover;object-position:center;border-radius:16px;box-shadow:var(--shadow);border:4px solid #fff;display:block}
	.vm-stack .vm-card{height:auto}
	.about-vm-row{row-gap:1.5rem}
	.map-wrap iframe{min-height:300px}
	.admission-dialog{width:min(960px,calc(100vw - 2rem))}
	.admission-head,.admission-body{padding-left:clamp(1rem,3vw,1.5rem);padding-right:clamp(1rem,3vw,1.5rem)}
	.contact-form{max-width:100%}
	.search-form{flex-wrap:wrap}
	.search-form .form-control{min-width:220px;flex:1 1 260px}
	.cal{min-width:100%}
	.dept-img img,.card-x-img img,.gp-item img,.gallery-preview img{display:block}

	@media (max-width:1199.98px){
	  .hero-content{padding:3.5rem 0}
	  .gallery-preview{grid-template-columns:repeat(3,1fr)}
	  .adm-content{padding:1.25rem 1rem 2rem}
	}
	@media (max-width:991.98px){
	  .section{padding:3.5rem 0}
	  .hero{min-height:auto}
	  .hero-content{padding:3rem 0 2rem}
	  .hero h1{font-size:clamp(1.8rem,5vw,2.6rem)}
	  .hero .lead{font-size:1rem}
	  .topbar .container{gap:.5rem}
	  .topbar-info{display:flex;flex-wrap:wrap;gap:.25rem .75rem}
	  .topbar-info a{margin-right:0}
	  .navbar-collapse{background:#fff;border-top:1px solid var(--line);margin-top:.5rem;padding:.75rem 0}
	  .navbar-nav .nav-link{padding:.7rem .75rem}
	  .dropdown-menu{position:static!important;float:none;transform:none!important;width:100%;margin-top:.25rem}
	  .principal{grid-template-columns:1fr;gap:1.5rem}
	  .principal-photo{max-width:320px;margin:0 auto}
	  .dept-row,.dept-row.rev{grid-template-columns:1fr;gap:1.25rem}
	  .dept-row.rev .dept-img{order:0}
	  .gallery-preview{grid-template-columns:repeat(2,1fr)}
	  .about-building-img{height:clamp(260px,45vw,380px)}
	  .about-vm-row .col-lg-6{width:100%}
	  .admission-dialog{max-height:94vh}
	}
	@media (max-width:767.98px){
	  .section{padding:3rem 0}
	  .page-hero{padding:2.5rem 0}
	  .page-hero h1{font-size:clamp(1.6rem,7vw,2.1rem)}
	  .topbar{font-size:.78rem}
	  .topbar .container{flex-direction:column;align-items:flex-start}
	  .topbar .d-flex.align-items-center.gap-3{width:100%;justify-content:space-between}
	  .brand-wrap{gap:.6rem!important}
	  .brand-logo{height:52px;width:52px}
	  .brand-text{max-width:calc(100vw - 170px)}
	  .brand-title{font-size:.9rem}
	  .brand-motto{font-size:.62rem;letter-spacing:.04em}
	  .hero-content .d-flex.flex-wrap.gap-2 > .btn{width:100%;justify-content:center}
	  .hero-bars-mobile{flex-direction:column;align-items:stretch}
	  .hero-bars-mobile .hero-enquiry-btn,.hero-bars-mobile .hero-social-vertical{width:100%}
	  .gallery-preview{grid-template-columns:repeat(2,1fr);gap:.5rem}
	  .why-grid{grid-template-columns:1fr}
	  .stats .stat{font-size:1.6rem}
	  .admission-head h2{font-size:1.4rem}
	  .admission-body .contact-form{padding:1rem}
	  .doc-item{flex-wrap:wrap}
	  .prev-next{grid-template-columns:1fr}
	  .ticker .container{gap:.5rem}
	  .ticker-label{font-size:.78rem}
	}
	@media (max-width:575.98px){
	  .container{padding-left:1rem;padding-right:1rem}
	  .section{padding:2.5rem 0}
	  .hero-content{padding:2.25rem 0 1.5rem}
	  .hero h1{font-size:clamp(1.55rem,8vw,2rem)}
	  .eyebrow{font-size:.72rem;letter-spacing:.08em}
	  .brand-text{max-width:calc(100vw - 150px)}
	  .brand-title{font-size:.82rem}
	  .navbar-brand{margin-right:.25rem}
	  .gallery-preview{grid-template-columns:1fr 1fr}
	  .alumni-card{flex-basis:78vw;max-width:260px}
	  .scroller-btn{width:38px;height:38px}
	  .about-building-img{height:240px}
	  .principal-photo{max-width:100%}
	  .map-wrap iframe{min-height:260px}
	  .adm-search{flex-wrap:wrap}
	  .adm-search .form-control,.adm-search .form-select{min-width:0;width:100%}
	  .adm-toolbar{align-items:stretch}
	  .adm-toolbar .btn{width:100%}
	  .table-responsive{margin:0 -.25rem}
	}
	@media (max-width:430px){
	  .gallery-preview{grid-template-columns:1fr}
	  .brand-text{max-width:calc(100vw - 145px)}
	  .hero-bars-mobile .hero-social-vertical{justify-content:flex-start;overflow-x:auto}
	  .topbar .d-flex.align-items-center.gap-3{gap:.5rem}
	  .lang-toggle a{padding:.2rem .55rem;font-size:.8rem}
	}
	@media (max-width:360px){
	  .brand-title{font-size:.76rem}
	  .btn-lg{padding:.65rem 1rem;font-size:1rem}
	  .hero h1{font-size:1.45rem}
	}

	/* Admin responsiveness enhancements */
	.adm-main,.adm-content{min-width:0}
	.adm-card,.adm-toolbar,.adm-table,.photo-card{max-width:100%}
	.adm-table{min-width:680px}
	@media (max-width:991.98px){
	  .adm-topbar{flex-wrap:wrap}
	  .adm-title{flex:1 1 100%;order:2;white-space:normal}
	  .adm-actions{margin-left:auto}
	  .chart-box{height:240px}
	}
	@media (max-width:767.98px){
	  .adm-content{padding:1rem .75rem 1.5rem}
	  .adm-card{padding:1rem}
	  .adm-table{min-width:620px}
	  .form-actions{flex-direction:column;align-items:stretch}
	  .form-actions .ms-auto{margin-left:0!important}
	  .form-actions .btn{width:100%}
	  .photo-card .photo-body .d-flex{flex-wrap:wrap}
	  .adm-topbar .btn-gold span.d-none.d-sm-inline{display:none!important}
	}
	@media (max-width:575.98px){
	  .adm-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}
	  .adm-user span{display:none}
	  .login-card{padding:1.2rem}
	  .chart-box,.chart-short{height:220px}
	}

	/* ===== Unified hero sidebar: Admission Enquiry + Social (left) ===== */
	.hero-unified-bar{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:6;display:flex;flex-direction:column;align-items:stretch;width:168px;background:rgba(255,255,255,.97);border-radius:0 18px 18px 0;box-shadow:0 18px 40px rgba(16,41,77,.22);overflow:hidden;border:1px solid rgba(16,41,77,.08);border-left:0}
	.hero-unified-enquiry{display:flex;align-items:center;gap:.55rem;width:100%;border:0;background:linear-gradient(135deg,var(--gold),#d8a243);color:#10294d;font-weight:700;padding:.85rem .8rem;text-align:left;cursor:pointer;transition:filter .25s,transform .25s}
	.hero-unified-enquiry:hover{filter:brightness(1.03)}
	.hero-unified-enquiry .enq-arrow{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.45);font-size:1.15rem;line-height:1;flex:0 0 auto}
	.hero-unified-enquiry .enq-text{font-size:.9rem;line-height:1.2}
	.hero-unified-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(16,41,77,.18),transparent);margin:0 .75rem}
	.hero-unified-social{display:flex;flex-direction:column;align-items:center;gap:.55rem;padding:.75rem .6rem .85rem;background:#fff}
	.hero-social-link{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;color:#fff;text-decoration:none;font-size:1.25rem;box-shadow:0 6px 14px rgba(16,41,77,.18);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}
	.hero-social-link:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 10px 18px rgba(16,41,77,.22);filter:saturate(1.05);color:#fff}
	.hero-social-link.brand-facebook{background:#1877F2}
	.hero-social-link.brand-instagram{background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%)}
	.hero-social-link.brand-youtube{background:#FF0000}
	.hero-social-link.brand-linkedin{background:#0A66C2}
	.hero-social-link.brand-x{background:#111;color:#fff}
	.hero-social-link.brand-whatsapp{background:#25D366}
	.hero-unified-bar{max-height:calc(100% - 2rem)}
	@media (max-width:1199.98px){.hero-unified-bar{width:156px}.hero-unified-enquiry .enq-text{font-size:.84rem}}
	@media (max-width:991.98px){
	  .hero-unified-bar{position:relative;left:auto;top:auto;transform:none;width:min(520px,100%);max-width:100%;margin:1rem auto 0;border-radius:16px;border-left:1px solid rgba(16,41,77,.08);flex-direction:column}
	  .hero-unified-enquiry{justify-content:center}
	  .hero-unified-social{flex-direction:row;flex-wrap:wrap;justify-content:center}
	  .hero-content{padding-top:2.25rem}
	}
	@media (max-width:575.98px){
	  .hero-unified-bar{width:100%;margin-top:.75rem}
	  .hero-social-link{width:42px;height:42px;font-size:1.15rem;border-radius:11px}
	  .hero-unified-enquiry{padding:.75rem .8rem}
	}
	@media (max-width:430px){
	  .hero-unified-bar{position:fixed;left:.35rem;top:auto;bottom:5.2rem;transform:none;width:64px;max-height:70vh;border-radius:16px;z-index:1200;overflow:auto;scrollbar-width:none}
	  .hero-unified-bar::-webkit-scrollbar{display:none}
	  .hero-unified-enquiry{flex-direction:column;gap:.2rem;padding:.55rem .25rem;justify-content:center;text-align:center}
	  .hero-unified-enquiry .enq-text{font-size:.58rem;line-height:1.1;font-weight:700}
	  .hero-unified-enquiry .enq-arrow{width:22px;height:22px;font-size:.95rem}
	  .hero-unified-divider{margin:0 .35rem}
	  .hero-unified-social{flex-direction:column;padding:.45rem .25rem .55rem;gap:.4rem}
	  .hero-social-link{width:38px;height:38px;font-size:1rem;border-radius:10px;box-shadow:0 4px 10px rgba(16,41,77,.18)}
	  .hero-content{padding-left:.25rem}
	}
	/* neutralize old separate hero bars if any remain */
	.hero-side-bar.hero-enquiry-bar,.hero-side-bar.hero-social-bar,.hero-bars-mobile{display:none!important}

	/* ===== Hero right stack: separate Admission Enquiry (top) + Social panel (bottom) ===== */
	.hero-right-stack{position:absolute;right:1rem;top:50%;transform:translateY(-50%);z-index:6;display:flex;flex-direction:column;align-items:flex-end;gap:.85rem}
	.hero-admission-vertical{display:inline-flex;align-items:center;justify-content:center;min-height:220px;padding:.9rem .55rem;border:0;border-radius:16px;background:linear-gradient(180deg,#123a63,#0b2542);color:#fff;box-shadow:0 16px 34px rgba(11,29,56,.28);cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,filter .25s ease}
	.hero-admission-vertical:hover{transform:translateX(-2px);box-shadow:0 20px 40px rgba(11,29,56,.34);filter:brightness(1.04)}
	.hero-admission-vertical-inner{display:flex;flex-direction:column;align-items:center;gap:.7rem}
	.admission-v-text{writing-mode:vertical-rl;transform:rotate(180deg);font-weight:700;letter-spacing:.08em;font-size:.95rem;line-height:1;color:#fff;white-space:nowrap}
	.admission-v-arrow{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:1.1rem;line-height:1}
	.hero-social-panel{display:flex;flex-direction:column;align-items:center;gap:.55rem;padding:.7rem .55rem;background:rgba(255,255,255,.96);border:1px solid rgba(16,41,77,.1);border-radius:16px;box-shadow:0 14px 30px rgba(16,41,77,.18)}
	.hero-social-panel .hero-social-link{width:44px;height:44px;border-radius:12px;box-shadow:0 6px 14px rgba(16,41,77,.16)}
	.hero-content{padding-right:8.5rem}
	@media (max-width:1199.98px){.hero-right-stack{right:.5rem}.hero-content{padding-right:7.5rem}.hero-admission-vertical{min-height:200px}}
	@media (max-width:991.98px){
	  .hero-right-stack{position:relative;right:auto;top:auto;transform:none;flex-direction:row;align-items:stretch;justify-content:center;gap:.75rem;margin:1rem auto 0;width:min(560px,100%)}
	  .hero-admission-vertical{min-height:0;flex:1 1 260px;padding:.8rem 1rem}
	  .hero-admission-vertical-inner{flex-direction:row}
	  .admission-v-text{writing-mode:horizontal-tb;transform:none;white-space:normal;letter-spacing:.02em;font-size:1rem;text-align:center}
	  .hero-social-panel{flex:1 1 260px;flex-direction:row;flex-wrap:wrap;justify-content:center;align-content:center}
	  .hero-content{padding-right:0;padding-top:1.5rem}
	}
	@media (max-width:575.98px){
	  .hero-right-stack{flex-direction:column;width:100%}
	  .hero-admission-vertical,.hero-social-panel{width:100%;flex:1 1 auto}
	  .hero-admission-vertical{justify-content:center}
	  .hero-social-panel .hero-social-link{width:42px;height:42px}
	}
	@media (max-width:430px){
	  .hero-right-stack{position:fixed;right:.35rem;top:auto;bottom:5.2rem;left:auto;transform:none;width:66px;margin:0;gap:.45rem;z-index:1200}
	  .hero-admission-vertical{width:66px;min-height:0;padding:.45rem .25rem;border-radius:14px}
	  .hero-admission-vertical-inner{gap:.35rem}
	  .admission-v-text{writing-mode:vertical-rl;transform:rotate(180deg);font-size:.62rem;letter-spacing:.04em;white-space:nowrap}
	  .admission-v-arrow{width:22px;height:22px;font-size:.9rem}
	  .hero-social-panel{width:66px;padding:.4rem .25rem;gap:.35rem;flex-direction:column;flex-wrap:nowrap;border-radius:14px;max-height:42vh;overflow:auto;scrollbar-width:none}
	  .hero-social-panel::-webkit-scrollbar{display:none}
	  .hero-social-panel .hero-social-link{width:38px;height:38px;font-size:1rem;border-radius:10px}
	  .hero-content{padding-right:3.8rem}
	}
	/* hide previous unified left bar if present */
	.hero-unified-bar{display:none!important}

	/* ===== Facilities photo gallery: photos only, no repeated headings ===== */
	.facility-photo-gallery{align-items:stretch}
	.facility-photo-tile{position:relative;display:block;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#e9e3d3;border:1px solid var(--line);box-shadow:0 6px 18px rgba(16,41,77,.08)}
	.facility-photo-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease,filter .45s ease}
	.facility-photo-tile:hover img,.facility-photo-tile:focus-visible img{transform:scale(1.05);filter:saturate(1.03)}
	.facility-photo-tile:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
	.facility-card.facility-photo-only .card-x-img{border-radius:16px;overflow:hidden}
	.facility-card.facility-photo-only .card-x-img img{transition:transform .45s ease}
	.facility-card.facility-photo-only:hover .card-x-img img{transform:scale(1.04)}

	/* ===== Homepage image popup (shown before admission enquiry) ===== */
	.popup-image-modal{position:fixed;inset:0;z-index:4100;display:flex;align-items:center;justify-content:center;padding:clamp(.75rem,2vw,1.5rem);background:rgba(8,18,36,.78);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .28s ease}
	.popup-image-modal.show{opacity:1;visibility:visible}
	.popup-image-modal[hidden]{display:none}
	.popup-image-dialog{position:relative;max-width:min(720px,92vw);max-height:90vh;transform:scale(.94) translateY(10px);opacity:.96;transition:transform .28s ease,opacity .28s ease}
	.popup-image-modal.show .popup-image-dialog{transform:scale(1) translateY(0);opacity:1}
	.popup-image-content{display:block;width:auto;height:auto;max-width:100%;max-height:calc(90vh - .5rem);object-fit:contain;border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.45);background:#fff}
	.popup-image-close{position:absolute;top:.45rem;right:.45rem;width:40px;height:40px;border-radius:50%;border:0;background:rgba(16,41,77,.92);color:#fff;font-size:1.6rem;line-height:1;display:grid;place-items:center;z-index:2;box-shadow:0 8px 18px rgba(0,0,0,.25);cursor:pointer}
	.popup-image-close:hover{background:var(--gold);color:#10294d}
	@media (max-width:575.98px){.popup-image-dialog{max-width:96vw;max-height:88vh}.popup-image-content{max-height:calc(88vh - .5rem);border-radius:12px}.popup-image-close{width:36px;height:36px;font-size:1.4rem}}

	/* ===== Faculty page: department-wise sections, search, cards ===== */
	.faculty-tools .form-control{border-radius:12px}
	.faculty-dept-section{padding:1.25rem 0 1.75rem;border-bottom:1px solid var(--line);scroll-margin-top:110px}
	.faculty-dept-section:last-of-type{border-bottom:0}
	.faculty-dept-heading{color:var(--navy);font-weight:700}
	.faculty-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(16,41,77,.08);transition:transform .25s ease,box-shadow .25s ease;height:100%}
	.faculty-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(16,41,77,.14)}
	.faculty-card .card-x-img.portrait{aspect-ratio:4/5;background:#eef2f8}
	.faculty-card .card-x-img.portrait img{width:100%;height:100%;object-fit:cover;object-position:center top}
	.faculty-card-body{display:flex;flex-direction:column;gap:.1rem;padding:1rem}
	.faculty-name{font-size:1rem;line-height:1.35;color:var(--navy)}
	.faculty-designation{line-height:1.4}
	.faculty-card-body p{margin-bottom:.35rem;word-break:break-word}
	.faculty-card-body .chip{margin-top:.1rem}
	@media (max-width:767.98px){.faculty-dept-section{padding:1rem 0 1.25rem}.faculty-card-body{padding:.85rem}.faculty-name{font-size:.95rem}}

	/* ===== Mobile/responsive refinements (faculty, facilities, departments) ===== */
	.facility-section-desc{max-width:900px}
	.dept-img{width:100%}
	.dept-img img{width:100%;height:auto;display:block;border-radius:16px;object-fit:cover}
	@media (max-width:991.98px){
	  .dept-row,.dept-row.rev{display:grid;grid-template-columns:1fr;gap:1rem}
	  .dept-row .dept-img,.dept-row.rev .dept-img{order:0}
	}
	@media (max-width:767.98px){
	  .faculty-tools .filter-bar{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.25rem}
	  .faculty-tools .filter-bar .filter{white-space:nowrap;flex:0 0 auto}
	  .faculty-card .card-x-img.portrait{aspect-ratio:4/5}
	  .facility-photo-section .facility-section-title{font-size:1.15rem}
	  .facility-photo-section .facility-section-desc{font-size:.95rem}
	}
	@media (max-width:575.98px){
	  .faculty-person-col{width:100%}
	  .person-card .card-x-body{padding:.85rem}
	  .dept-img img{max-height:260px}
	  .page-hero h1{word-break:break-word}
	}
