/* Fit the department identity and expanded menu into the original theme. */
.olme-logo-brand{min-width:220px}.olme-main-menu .nav-link{padding-left:9px!important;padding-right:9px!important;font-size:13px!important;text-transform:none!important}.olme-page-content{line-height:1.8}.olme-page-content h2{margin-top:1.5rem}.department-gallery img{object-fit:cover}.department-detail-image{max-height:650px;object-fit:contain;width:100%;background:#f8f9fa}.olme-loader-card>span.text-white{color:#163b34!important}
.nav-child-menu{margin:.1rem .75rem .45rem;border-left:2px solid rgba(15,43,91,.2)}.dropdown-menu .nav-child-link{padding-left:1.5rem;font-size:.78rem;line-height:1.35;white-space:normal;max-width:320px}.dropdown-menu .nav-child-link i{font-size:.7rem}
.olme-page-content ol,.olme-page-content ul{padding-left:1.5rem;margin:1rem 0 1.5rem}.olme-page-content ol li{list-style:decimal;margin-bottom:.75rem;padding-left:.35rem}.olme-page-content ul li{list-style:disc;margin-bottom:.65rem;padding-left:.35rem}
@media(min-width:992px) and (max-width:1399px){.navbar{flex-wrap:wrap}.navbar-collapse{flex-basis:100%}.olme-main-menu{margin-left:0!important;justify-content:space-between;width:100%}}
@media(prefers-reduced-motion:reduce){.animated,.wow{animation:none!important;visibility:visible!important}}

.contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.hod-portrait{width:100%;height:480px;object-fit:cover;object-position:top}.hod-placeholder{min-height:360px;display:flex;flex-direction:column;justify-content:center}.home-hod-section .olme-page-content{font-size:18px;line-height:1.85}


.staff-submit-form label{display:block;margin:1.2rem 0;font-weight:600}.staff-submit-form label .form-control{margin-top:.4rem}.staff-submit-form textarea{resize:vertical}


.page-content-image{max-height:540px;max-width:100%;object-fit:contain}

/* Department identity: colours sampled from the official IFT mark. */
:root{--olme-primary:#10255b;--olme-primary-deep:#07153d;--olme-primary-glow:#244986;--olme-secondary:#b97808;--olme-secondary-deep:#875500;--olme-secondary-glow:#f0b735;--olme-gold-gradient:linear-gradient(135deg,#f2c14e,#d99b1e 50%,#9d6500);--olme-green-gradient:linear-gradient(135deg,#244986,#10255b 52%,#07153d);--olme-dark:#06143b}
body{color:#15264a}.bg-dark,.footer{background-color:#06143b!important}.olme-page-loader{background:linear-gradient(135deg,rgba(6,20,59,.99),rgba(16,37,91,.97))}.olme-loader-card{border-color:rgba(240,183,53,.42)!important}.department-loader-logo{width:94px;height:94px;object-fit:contain;border-radius:50%;background:#fff;padding:4px;box-shadow:0 10px 30px rgba(0,0,0,.2)}.olme-loader-card>span.text-white{color:#fff!important}.olme-logo-brand{gap:12px;min-width:310px}.olme-logo-brand img,.navbar-brand img{width:72px;height:72px;max-height:72px;object-fit:contain;border-radius:50%;background:#fff;padding:2px}.department-brand-copy{color:#10255b;font-size:16px;font-weight:800;line-height:1.15;letter-spacing:.015em}.department-brand-copy small{display:block;color:#65708a;font-size:9px;font-weight:700;letter-spacing:.08em;margin-top:6px}.text-secondary{color:#b97808!important}.btn-secondary,.bg-secondary{background-color:#b97808!important;border-color:#b97808!important}.btn-secondary:hover{background-color:#875500!important;border-color:#875500!important}.carousel-caption{background:linear-gradient(90deg,rgba(6,20,59,.84),rgba(6,20,59,.48),rgba(6,20,59,.12))}.footer-logo-link{display:inline-flex!important;align-items:center;gap:14px}.department-footer-logo{width:82px;height:82px;object-fit:contain;border-radius:50%;background:#fff;padding:3px}.footer-logo-link>span{color:#fff;font-size:16px;font-weight:800;line-height:1.2}.footer-logo-link small{display:block;color:#dce7ff;font-size:9px;letter-spacing:.06em;margin-top:5px}
@media(max-width:575.98px){.olme-logo-brand{min-width:0;gap:8px}.olme-logo-brand img,.navbar-brand img{width:55px;height:55px;max-height:55px}.department-brand-copy{font-size:12px}.department-brand-copy small{font-size:7px}}

/* Remove the original green footer gradient. */
.footer{background:#06143b!important;background-image:none!important}

/* Admin-controlled WhatsApp contact shortcut. */
.whatsapp-chat-button{position:fixed;left:30px;bottom:30px;z-index:999;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#25d366;color:#fff!important;font-size:31px;text-decoration:none;box-shadow:0 10px 28px rgba(0,0,0,.25);transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}.whatsapp-chat-button:hover{background:#1fb85a;color:#fff!important;transform:translateY(-3px);box-shadow:0 14px 32px rgba(0,0,0,.3)}.whatsapp-chat-button:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #10255b}
@media(max-width:575.98px){.whatsapp-chat-button{left:18px;bottom:18px;width:54px;height:54px;font-size:29px}}

.page-section-links a { color: var(--brand, #10255b); border: 1px solid rgba(16,37,91,.12); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.olme-inner-page-header+div [id]{scroll-margin-top:110px}
.page-section-links a:hover, .page-section-links a:focus-visible { color: var(--brand, #10255b); border-color: var(--brand, #10255b); box-shadow: 0 14px 32px rgba(16,37,91,.12); transform: translateY(-3px); }
