:root {
    --home-green: #0d6b49;
    --home-green-dark: #084f38;
    --home-green-deep: #063d2d;
    --home-green-soft: #eaf5ef;
    --home-gold: #d5a928;
    --home-blue: #1f6fa8;
    --home-navy: #102f46;
    --home-text: #243b4a;
    --home-muted: #6e7f8c;
    --home-line: #e4ebe8;
    --home-bg: #f7faf8;
    --home-shadow: 0 18px 46px rgba(17, 62, 46, .10);
}

.public-site {
    background: #fff;
    color: var(--home-text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    overflow-x: hidden;
}

.public-site .container { max-width: 1180px; }

.public-topbar {
    background: linear-gradient(90deg, var(--home-green-deep), var(--home-navy));
    color: rgba(255,255,255,.84);
    min-height: 36px;
    display: flex;
    align-items: center;
    font-size: 12px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; fill: none; stroke: #f1c95f; stroke-width: 1.8; }
.topbar-motto { letter-spacing: .25px; }

.public-navbar {
    background: rgba(255,255,255,.98);
    min-height: 86px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(13,107,73,.08);
    box-shadow: 0 7px 26px rgba(19, 57, 44, .08);
    z-index: 1030;
}
.public-brand { display: flex; align-items: center; gap: 12px; max-width: 565px; margin-right: 18px; white-space: normal; }
.site-logo { width: 62px; height: 62px; object-fit: contain; flex: 0 0 62px; filter: drop-shadow(0 5px 10px rgba(13,107,73,.12)); }
.brand-copy { display: block; min-width: 0; }
.brand-copy strong { display: block; color: var(--home-navy); font-size: 13px; line-height: 1.28; letter-spacing: .12px; font-weight: 800; }
.brand-copy small { display: block; color: var(--home-green); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; margin-top: 4px; }
.public-nav-list .nav-link { color: #344c5b !important; padding: 12px 10px !important; font-size: 13px; font-weight: 700; position: relative; }
.public-nav-list .nav-link:after { transition: transform .22s ease; }
.public-nav-list > .nav-item:not(.dropdown) > .nav-link:before {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; background: var(--home-green); transform: scaleX(0); transform-origin: center; transition: transform .2s ease;
}
.public-nav-list > .nav-item:not(.dropdown) > .nav-link:hover:before { transform: scaleX(1); }
.public-nav-list .nav-link:hover { color: var(--home-green) !important; }
.department-menu {
    min-width: 285px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 55, 42, .18);
    margin-top: 12px;
    overflow: hidden;
}
.department-menu .dropdown-header { color: var(--home-green); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.1px; padding: 8px 12px 10px; }
.department-link { display: flex !important; align-items: center; gap: 9px; border-radius: 8px; padding: 9px 11px !important; color: #415461 !important; font-size: 12.5px; font-weight: 600; white-space: normal; }
.department-link:hover { background: var(--home-green-soft); color: var(--home-green) !important; }
.department-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--home-gold); flex: 0 0 7px; box-shadow: 0 0 0 4px rgba(213,169,40,.12); }
.portal-login-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 9px; background: linear-gradient(135deg,var(--home-green),#15956a); color: #fff !important; font-size: 12px; font-weight: 800; box-shadow: 0 8px 20px rgba(13,107,73,.18); transition: transform .2s ease, box-shadow .2s ease;
}
.portal-login-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 11px 24px rgba(13,107,73,.24); }
.portal-login-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.public-toggler { border: 0 !important; width: 44px; height: 40px; padding: 8px !important; border-radius: 8px; background: var(--home-green) !important; box-shadow: none !important; }
.public-toggler span { display: block; height: 2px; width: 22px; background: #fff; margin: 4px auto; border-radius: 5px; }

.home-hero-carousel, .home-hero-item { min-height: 620px; }
.home-hero-item { background-size: cover; background-position: center; position: relative; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,49,35,.92) 0%, rgba(7,62,47,.80) 38%, rgba(15,47,67,.42) 72%, rgba(15,47,67,.18) 100%); }
.hero-pattern { position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(circle at 15% 25%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 70% 80%, #fff 0 1px, transparent 1.5px); background-size: 44px 44px, 58px 58px; }
.hero-content-wrap { position: relative; z-index: 2; min-height: 620px; display: flex; align-items: center; }
.hero-copy { width: min(780px, 86%); padding: 62px 0 92px; animation: heroIn .75s ease both; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; color: #f1d27b; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; margin-bottom: 16px; }
.hero-kicker span { width: 30px; height: 2px; background: #f1d27b; }
.hero-copy h1 { color: #fff; font-size: clamp(38px, 4.8vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -.8px; margin: 0 0 20px; text-shadow: 0 7px 20px rgba(0,0,0,.16); }
.hero-copy p { color: rgba(255,255,255,.87); max-width: 700px; font-size: 17px; line-height: 1.75; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 19px; border-radius: 8px; font-size: 12px; font-weight: 800; transition: all .2s ease; }
.hero-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-btn-primary { color: #153c2d; background: #f2c74f; box-shadow: 0 10px 25px rgba(242,199,79,.2); }
.hero-btn-primary:hover { color: #153c2d; transform: translateY(-2px); background: #f7d66f; }
.hero-btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.hero-btn-outline:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.14); transform: translateY(-2px); }
.home-carousel-indicators { bottom: 38px; margin-bottom: 0; justify-content: flex-start; max-width: 1180px; margin-left: auto; margin-right: auto; padding: 0 15px; }
.home-carousel-indicators li { width: 32px; height: 4px; border: 0; border-radius: 6px; background: rgba(255,255,255,.45); opacity: 1; }
.home-carousel-indicators li.active { width: 54px; background: #f2c74f; }
.home-carousel-control { width: 7%; opacity: .9; }
.carousel-arrow { width: 43px; height: 43px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(5px); }
.carousel-arrow svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.home-stats-wrap { position: relative; z-index: 4; margin-top: -42px; }
.home-stat-card { height: 100%; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--home-line); border-radius: 12px; padding: 17px 16px; box-shadow: var(--home-shadow); }
.home-stat-card strong { display: block; color: var(--home-navy); font-size: 24px; line-height: 1; font-weight: 800; }
.home-stat-card span { display: block; color: var(--home-muted); font-size: 11px; margin-top: 5px; font-weight: 600; }
.stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: 0 0 44px; }
.stat-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat-green { color: #128158; background: #e7f5ee; }
.stat-blue { color: #2275ab; background: #eaf3fa; }
.stat-gold { color: #a77a08; background: #fff6d9; }
.stat-purple { color: #7451a6; background: #f2ecfa; }

.public-site .section { padding: 84px 0; }
.section-heading { margin-bottom: 36px; }
.section-heading.left { max-width: 820px; }
.section-heading.text-center { max-width: 720px; margin-left: auto; margin-right: auto; margin-bottom: 38px; }
.section-heading .eyebrow, .eyebrow { display: block; color: var(--home-green); font-size: 10px; text-transform: uppercase; letter-spacing: 1.7px; font-weight: 800; margin-bottom: 9px; }
.section-heading h2 { color: var(--home-navy); font-size: clamp(28px,3vw,42px); line-height: 1.16; font-weight: 800; letter-spacing: -.5px; margin: 0 0 10px; }
.section-heading p { color: var(--home-muted); font-size: 14px; line-height: 1.7; margin: 0; }

.home-about-section { background: #fff; position: relative; }
.home-about-section:before { content: ""; position: absolute; left: -120px; top: 100px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(18,129,88,.08), transparent 70%); pointer-events: none; }
.about-layout { position: relative; }
.provost-card { max-width: 330px; margin: 0 auto; }
.provost-photo-frame { position: relative; padding: 0 18px 18px 0; }
.provost-photo { width: 100%; height: 405px; object-fit: cover; display: block; border-radius: 12px; background: #edf2ef; box-shadow: 0 22px 48px rgba(17,62,46,.15); position: relative; z-index: 2; }
.provost-photo-accent { position: absolute; right: 0; bottom: 0; width: 82%; height: 78%; border-radius: 12px; background: linear-gradient(135deg,var(--home-green),#19a471); z-index: 1; }
.provost-caption { text-align: center; padding: 17px 8px 0; }
.provost-caption strong { display: block; color: var(--home-navy); font-size: 16px; font-weight: 800; }
.provost-caption span { display: block; color: var(--home-green); font-size: 11px; margin-top: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.about-copy-card { position: relative; background: linear-gradient(135deg,#fbfdfc,#f5faf7); border: 1px solid #e1ebe6; border-radius: 16px; padding: 34px 35px 30px; box-shadow: 0 12px 34px rgba(24,64,49,.05); }
.about-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--home-green); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 19px; box-shadow: 0 10px 22px rgba(13,107,73,.18); }
.about-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-long-copy { color: #536875; font-size: 14px; line-height: 1.92; }
.about-long-copy p { margin-bottom: 16px; }
.about-long-copy p:last-child { margin-bottom: 0; }
.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 27px; padding-top: 22px; border-top: 1px solid #e2ebe7; }
.about-values > div { position: relative; padding-left: 16px; }
.value-dot { position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--home-gold); box-shadow: 0 0 0 4px rgba(213,169,40,.12); }
.about-values strong { display: block; color: #2f4a58; font-size: 11px; }
.about-values small { display: block; color: #8a989f; font-size: 9.5px; margin-top: 3px; }

.leadership-section { background: linear-gradient(180deg,#f7faf8 0%,#f2f7f4 100%); overflow: hidden; }
.hod-section { background: #fff; }
.people-marquee { width: 100%; overflow: hidden; position: relative; padding: 8px 0 20px; }
.people-marquee:before, .people-marquee:after { content: ""; position: absolute; top: 0; bottom: 0; width: 85px; z-index: 4; pointer-events: none; }
.people-marquee:before { left: 0; background: linear-gradient(90deg,#f6f9f7,transparent); }
.people-marquee:after { right: 0; background: linear-gradient(270deg,#f6f9f7,transparent); }
.hod-section .people-marquee:before { background: linear-gradient(90deg,#fff,transparent); }
.hod-section .people-marquee:after { background: linear-gradient(270deg,#fff,transparent); }
.people-track { display: flex; width: max-content; gap: 18px; padding: 0 9px; will-change: transform; animation: peopleScroll 42s linear infinite; }
.hod-track { animation-duration: 48s; }
.people-marquee:hover .people-track { animation-play-state: paused; }
.people-card { width: 235px; flex: 0 0 235px; background: #fff; border: 1px solid #e3ebe7; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(21,64,48,.07); transition: transform .2s ease, box-shadow .2s ease; }
.people-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(21,64,48,.12); }
.people-card img { width: 100%; height: 255px; object-fit: cover; display: block; background: #edf2ef; border-radius: 0 !important; }
.people-card-body { padding: 12px 13px 13px; text-align: left; min-height: 70px; }
.people-card-body strong { display: block; color: var(--home-navy); font-size: 12px; line-height: 1.3; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.people-card-body span { display: block; color: var(--home-green); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .55px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.departments-section { background: linear-gradient(180deg,#fff,#fbfdfc); }
.department-card { display: block; height: 100%; background: #fff; border: 1px solid #e4ebe8; border-radius: 14px; padding: 25px 24px 22px; box-shadow: 0 8px 25px rgba(20,62,47,.05); color: inherit; position: relative; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.department-card:before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg,var(--home-green),#22a579,var(--home-gold)); transform: scaleX(.35); transform-origin: left; transition: transform .25s ease; }
.department-card:hover { color: inherit; transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,62,47,.11); border-color: #d5e5dc; }
.department-card:hover:before { transform: scaleX(1); }
.department-card-icon { width: 47px; height: 47px; border-radius: 11px; background: var(--home-green-soft); color: var(--home-green); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.department-card-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.department-card h3 { color: var(--home-navy); font-size: 16px; font-weight: 800; margin: 0 0 10px; }
.department-card p { color: var(--home-muted); font-size: 12px; line-height: 1.7; min-height: 62px; margin: 0 0 18px; }
.department-card-link { display: inline-flex; align-items: center; gap: 7px; color: var(--home-green); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.department-card-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

.news-section { background: #f7faf8; }
.news-card { display: block; height: 100%; background: #fff; border: 1px solid #e2ebe6; border-radius: 13px; overflow: hidden; box-shadow: 0 8px 24px rgba(20,62,47,.06); color: inherit; transition: transform .22s ease, box-shadow .22s ease; }
.news-card:hover { color: inherit; transform: translateY(-5px); box-shadow: 0 17px 38px rgba(20,62,47,.11); }
.news-card-image { position: relative; height: 205px; overflow: hidden; background: #eaf0ec; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; border-radius: 0 !important; }
.news-card:hover .news-card-image img { transform: scale(1.045); }
.news-date { position: absolute; left: 14px; bottom: 13px; background: rgba(8,58,42,.88); color: #fff; border-radius: 6px; padding: 6px 9px; font-size: 9px; font-weight: 700; backdrop-filter: blur(4px); }
.news-card-body { padding: 19px 19px 20px; }
.news-category { color: var(--home-green); text-transform: uppercase; font-size: 9px; letter-spacing: .9px; font-weight: 800; }
.news-card h3 { color: var(--home-navy); font-size: 16px; line-height: 1.4; font-weight: 800; margin: 8px 0; }
.news-card p { color: var(--home-muted); font-size: 11.5px; line-height: 1.65; min-height: 58px; margin-bottom: 15px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--home-green); font-size: 10.5px; font-weight: 800; }
.read-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

.home-cta-section { padding: 0 0 78px; background: #f7faf8; }
.home-cta-card { border-radius: 17px; background: linear-gradient(120deg,var(--home-green-deep),var(--home-green),#17698e); color: #fff; padding: 36px 40px; display: flex; justify-content: space-between; align-items: center; gap: 35px; box-shadow: 0 18px 48px rgba(7,71,50,.18); position: relative; overflow: hidden; }
.home-cta-card:after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); right: -65px; top: -85px; }
.eyebrow.light { color: #f1cf6c; }
.home-cta-card h2 { font-size: 27px; font-weight: 800; margin: 0 0 8px; position: relative; z-index: 2; }
.home-cta-card p { font-size: 12px; color: rgba(255,255,255,.82); margin: 0; max-width: 690px; line-height: 1.7; position: relative; z-index: 2; }
.cta-button { position: relative; z-index: 2; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; background: #f2c74f; color: #173d2e; padding: 13px 18px; border-radius: 8px; font-size: 11px; font-weight: 800; }
.cta-button:hover { color: #173d2e; background: #f7d66f; transform: translateY(-1px); }
.cta-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.public-footer { background: #082b25; color: rgba(255,255,255,.72); position: relative; }
.footer-accent { height: 4px; background: linear-gradient(90deg,#f2c74f,var(--home-green),#2284b9); }
.footer-main { padding: 56px 0 38px; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand img { width: 58px; height: 58px; background: #fff; border-radius: 50%; padding: 2px; }
.footer-brand strong { display: block; color: #fff; font-size: 16px; }
.footer-brand span { display: block; color: #c5d8d1; font-size: 10px; margin-top: 3px; }
.footer-about { max-width: 470px; font-size: 11.5px; line-height: 1.8; margin: 0; }
.public-footer h5 { color: #fff; font-size: 13px; font-weight: 800; margin: 6px 0 15px; }
.public-footer .col-lg-3 > a, .public-footer .col-lg-4 > a { display: block; color: rgba(255,255,255,.7); font-size: 11.5px; padding: 4px 0; transition: color .18s ease, padding-left .18s ease; }
.public-footer .col-lg-3 > a:hover, .public-footer .col-lg-4 > a:hover { color: #f2c74f; padding-left: 4px; }
.footer-location { margin-top: 12px; font-size: 10.5px; color: #a9c0b8; }
.footer-bottom-row { border-top: 1px solid rgba(255,255,255,.1); min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10.5px; color: rgba(255,255,255,.55); }
.footer-bottom-row a { color: #f2c74f; font-weight: 700; }
.footer-bottom-row a:hover { color: #fff; }

.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes peopleScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }

@media (min-width: 992px) {
    .department-dropdown:hover > .dropdown-menu { display: block; }
    .department-dropdown:hover > .dropdown-toggle:after { transform: rotate(180deg); }
}

@media (max-width: 991.98px) {
    .public-navbar { min-height: 74px; }
    .site-logo { width: 52px; height: 52px; flex-basis: 52px; }
    .brand-copy strong { font-size: 11px; max-width: 360px; }
    .public-navbar .navbar-collapse { margin-top: 11px; padding: 10px 12px 14px; background: #fff; border-top: 1px solid #edf1ef; max-height: calc(100vh - 110px); overflow-y: auto; }
    .public-nav-list { align-items: stretch !important; }
    .public-nav-list .nav-link { padding: 10px 8px !important; }
    .portal-login-btn { margin-top: 6px; justify-content: center; }
    .department-menu { box-shadow: none; border: 1px solid #e8eeeb; margin-top: 0; margin-bottom: 6px; }
    .home-hero-carousel, .home-hero-item, .hero-content-wrap { min-height: 555px; }
    .hero-copy { width: 88%; padding-bottom: 72px; }
    .hero-copy h1 { font-size: 46px; }
    .home-carousel-control { display: none; }
    .home-stats-wrap { margin-top: -30px; }
    .about-values { grid-template-columns: 1fr; gap: 13px; }
    .people-card { width: 215px; flex-basis: 215px; }
    .people-card img { height: 235px; }
    .home-cta-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
    .public-topbar { display: none; }
    .public-brand { max-width: calc(100% - 58px); }
    .brand-copy strong { font-size: 9.5px; line-height: 1.25; }
    .brand-copy small { font-size: 9px; letter-spacing: 1px; }
    .site-logo { width: 45px; height: 45px; flex-basis: 45px; }
    .home-hero-carousel, .home-hero-item, .hero-content-wrap { min-height: 520px; }
    .hero-overlay { background: linear-gradient(90deg,rgba(4,49,35,.92),rgba(7,62,47,.72)); }
    .hero-copy { width: 100%; padding: 54px 0 82px; }
    .hero-copy h1 { font-size: 36px; }
    .hero-copy p { font-size: 14px; line-height: 1.65; }
    .hero-actions { gap: 8px; }
    .hero-btn { width: 100%; }
    .home-carousel-indicators { bottom: 25px; }
    .home-stats-wrap { margin-top: 0; padding-top: 18px; }
    .home-stat-card { padding: 14px 12px; }
    .home-stat-card strong { font-size: 20px; }
    .stat-icon { width: 38px; height: 38px; flex-basis: 38px; }
    .public-site .section { padding: 62px 0; }
    .section-heading h2 { font-size: 29px; }
    .provost-photo { height: 385px; }
    .about-copy-card { padding: 25px 22px; }
    .people-marquee:before, .people-marquee:after { width: 24px; }
    .people-card { width: 190px; flex-basis: 190px; }
    .people-card img { height: 215px; }
    .home-cta-section { padding-bottom: 55px; }
    .home-cta-card { padding: 28px 24px; }
    .home-cta-card h2 { font-size: 23px; }
    .cta-button { width: 100%; justify-content: center; }
    .footer-bottom-row { padding: 18px 0; flex-direction: column; align-items: flex-start; gap: 7px; }
}

@media (max-width: 420px) {
    .brand-copy strong { font-size: 8.7px; }
    .brand-copy small { display: none; }
    .hero-copy h1 { font-size: 31px; }
    .home-stat-card { gap: 9px; }
    .home-stat-card span { font-size: 9.5px; }
    .stat-icon { width: 34px; height: 34px; flex-basis: 34px; }
    .provost-photo { height: 350px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal-on-scroll { opacity: 1; transform: none; }
}

/* Critical Bootstrap component fallbacks for local/offline Visual Studio testing */
.home-hero-carousel { position: relative; }
.home-hero-carousel .carousel-inner { position: relative; width: 100%; overflow: hidden; }
.home-hero-carousel .carousel-item { display: none; width: 100%; }
.home-hero-carousel .carousel-item.active { display: block; }
.home-hero-carousel .carousel-indicators { display: flex; list-style: none; }
.home-hero-carousel .carousel-control-prev, .home-hero-carousel .carousel-control-next { position: absolute; top: 0; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: center; }
.home-hero-carousel .carousel-control-prev { left: 0; }
.home-hero-carousel .carousel-control-next { right: 0; }
.department-menu.show { display: block; }

@media (min-width: 992px) {
    .public-navbar .navbar-collapse { display: flex !important; }
}
@media (max-width: 991.98px) {
    .public-navbar .navbar-collapse:not(.show) { display: none; }
    .public-navbar .navbar-collapse.show { display: block; }
}

/* Public navbar and utility fallbacks when the Bootstrap CDN is unavailable */
.public-navbar.navbar { display: flex; align-items: center; }
.public-navbar > .container { display: flex; align-items: center; width: 100%; }
.public-navbar .navbar-brand { display: flex; }
.public-navbar .navbar-collapse { flex-grow: 1; align-items: center; }
.public-navbar .navbar-nav { display: flex; flex-direction: row; list-style: none; padding-left: 0; margin: 0 0 0 auto; }
.public-navbar .nav-item { list-style: none; }
.public-navbar .dropdown-menu { display: none; position: absolute; z-index: 1000; background: #fff; }
.public-navbar .dropdown-menu.show, .public-navbar .department-dropdown:hover > .dropdown-menu { display: block; }
.public-navbar .department-dropdown { position: relative; }
.public-navbar .navbar-toggler { display: none; }
.public-site .ml-auto { margin-left: auto !important; }
.public-site .px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.public-site .mb-4 { margin-bottom: 1.5rem !important; }

@media (min-width: 992px) {
    .public-site .mb-lg-0 { margin-bottom: 0 !important; }
    .public-site .align-items-lg-center { align-items: center !important; }
}
@media (max-width: 991.98px) {
    .public-navbar .navbar-toggler { display: block; margin-left: auto; }
    .public-navbar .navbar-collapse { width: 100%; flex-basis: 100%; }
    .public-navbar > .container { flex-wrap: wrap; }
    .public-navbar .navbar-nav { flex-direction: column; margin-left: 0 !important; width: 100%; }
    .public-navbar .dropdown-menu { position: static; width: 100%; }
}


/* v1.10 homepage refinement: larger typography, fixed principal officers and moving departments */
.site-logo-text {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--home-green), var(--home-green-dark));
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.5px;
    box-shadow: 0 9px 22px rgba(13,107,73,.20);
    border: 2px solid rgba(213,169,40,.75);
}

.public-nav-list .nav-link { font-size: 14px; }
.portal-login-btn { font-size: 13px; }
.section-heading .eyebrow, .eyebrow { font-size: 11px; }
.section-heading p { font-size: 16px; }
.home-stat-card span { font-size: 12.5px; }
.home-stat-card strong { font-size: 26px; }

.principal-officers-section {
    background: linear-gradient(180deg, #f6faf8 0%, #edf6f1 100%);
}
.principal-officers-grid { margin-left: -12px; margin-right: -12px; }
.principal-officers-grid > [class*="col-"] { padding-left: 12px; padding-right: 12px; }
.principal-officer-card {
    height: 100%;
    background: #fff;
    border: 1px solid #dce9e2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(17,62,46,.09);
    transition: transform .24s ease, box-shadow .24s ease;
}
.principal-officer-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 42px rgba(17,62,46,.15);
}
.principal-officer-photo-wrap {
    padding: 12px 12px 0;
    background: linear-gradient(180deg, #eaf5f0, #f8fbfa);
}
.principal-officer-photo {
    width: 100%;
    height: 360px;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-radius: 11px;
    background: #dfecef;
}
.principal-officer-body {
    padding: 18px 16px 20px;
    text-align: center;
    min-height: 94px;
}
.principal-officer-body strong {
    display: block;
    color: var(--home-navy);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
}
.principal-officer-body span {
    display: block;
    color: var(--home-green);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .65px;
    margin-top: 7px;
}

.department-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 8px 0 24px;
}
.department-slider:before,
.department-slider:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 3;
    pointer-events: none;
}
.department-slider:before { left: 0; background: linear-gradient(90deg,#fff,rgba(255,255,255,0)); }
.department-slider:after { right: 0; background: linear-gradient(270deg,#fff,rgba(255,255,255,0)); }
.department-track {
    display: flex;
    width: max-content;
    gap: 22px;
    animation: departmentMarquee 38s linear infinite;
}
.department-slider:hover .department-track { animation-play-state: paused; }
.department-slide-card {
    width: 330px;
    flex: 0 0 330px;
}
.department-card {
    min-height: 285px;
    padding: 27px 25px 23px;
}
.department-card h3 { font-size: 18px; }
.department-card p { font-size: 14px; line-height: 1.75; }
.department-card-link { font-size: 11.5px; }
@keyframes departmentMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 11px)); }
}

@media (max-width: 991.98px) {
    .principal-officer-photo { height: 330px; }
    .department-slide-card { width: 300px; flex-basis: 300px; }
}

@media (max-width: 575.98px) {
    .site-logo-text { width: 52px; height: 52px; flex-basis: 52px; font-size: 24px; border-radius: 12px; }
    .public-brand { gap: 9px; }
    .brand-copy strong { font-size: 11px; }
    .principal-officer-photo { height: 350px; }
    .principal-officer-body strong { font-size: 15px; }
    .principal-officer-body span { font-size: 11px; }
    .department-slide-card { width: 285px; flex-basis: 285px; }
    .department-slider:before, .department-slider:after { width: 25px; }
}


/* Department marquee stability fix - v1.11
   Forces the department cards into one horizontal track even when other
   Bootstrap/site styles attempt to stack block elements vertically. */
.departments-section .department-slider {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}
.departments-section .department-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: max-content !important;
    gap: 22px !important;
    animation: departmentMarquee 38s linear infinite !important;
    will-change: transform;
}
.departments-section .department-slide-card {
    display: block !important;
    flex: 0 0 330px !important;
    width: 330px !important;
    max-width: 330px !important;
    min-width: 330px !important;
}
.departments-section .department-card {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
@media (max-width: 991.98px) {
    .departments-section .department-slide-card {
        flex-basis: 300px !important;
        width: 300px !important;
        max-width: 300px !important;
        min-width: 300px !important;
    }
}
@media (max-width: 575.98px) {
    .departments-section .department-track { gap: 16px !important; }
    .departments-section .department-slide-card {
        flex-basis: 285px !important;
        width: 285px !important;
        max-width: 285px !important;
        min-width: 285px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .departments-section .department-track { animation-duration: 0s !important; }
}

/* ======================================================================
   v1.26 PUBLIC WEBSITE RESPONSIVE COMPATIBILITY
   ====================================================================== */
.public-site { overflow-x: hidden; }
.public-site img, .public-site svg { max-width: 100%; }
.public-navbar .container, .footer-main > *, .home-about-section * { min-width: 0; }

@media (max-width: 991.98px) {
    .public-brand { max-width: calc(100% - 70px); margin-right: 0; }
    .brand-copy { min-width: 0; }
    .brand-copy strong { white-space: normal; overflow-wrap: anywhere; }
    .public-nav-list { align-items: stretch !important; padding: 10px 0 14px; }
    .public-nav-list .nav-link, .portal-login-btn { width: 100%; }
    .department-menu { position: static !important; float: none; width: 100%; max-width: 100%; box-shadow: none; }
}

@media (max-width: 767.98px) {
    .public-topbar .topbar-inner { gap: 8px; flex-wrap: wrap; }
    .topbar-motto { display: none; }
    .site-logo { width: 48px !important; height: 48px !important; flex: 0 0 48px; }
    .brand-copy strong { font-size: 10.5px !important; line-height: 1.25; }
    .brand-copy small { font-size: 10px; }

    .hero-copy h1 { font-size: clamp(30px, 9vw, 44px) !important; }
    .hero-copy p { font-size: 15px !important; line-height: 1.6; }
    .home-carousel-indicators { bottom: 16px; }

    .home-cta-card { padding: 26px 20px !important; }
    .footer-bottom-row { gap: 10px; text-align: center; justify-content: center; }
}

@media (max-width: 420px) {
    .public-navbar .container { padding-left: 10px; padding-right: 10px; }
    .public-brand { gap: 8px; max-width: calc(100% - 54px); }
    .site-logo { width: 42px !important; height: 42px !important; flex-basis: 42px; }
    .brand-copy strong { font-size: 9.5px !important; }
    .public-toggler { flex: 0 0 40px; }
    .hero-copy h1 { font-size: 29px !important; }
    .section-heading h2 { font-size: 25px !important; }
    .department-slide-card { width: 270px !important; min-width: 270px !important; max-width: 270px !important; }
}
