/* ============================================
   MIST Website - Complete Stylesheet v3
   Navy #1a3a8f | Orange #e87722
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1a3a8f; --navy-dark: #0f2460; --navy-mid: #1e4db7;
  --orange: #e87722; --orange-dark: #c96010;
  --white: #fff; --bg: #f4f6fb; --border: #dde3f0;
  --text: #1e2d5a; --light: #6a7a9a; --green: #1a8c4e;
}
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== TOPBAR ===== */
.topbar { background: var(--navy-dark); padding: 7px 0; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar-left { color: rgba(255,255,255,.75); font-size: 12px; }
.topbar-right { display: flex; gap: 18px; }
.topbar-right a { color: var(--orange); font-size: 12px; font-weight: 700; transition: color .2s; }
.topbar-right a:hover { color: #fff; }

/* ===== HEADER ===== */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 16px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 10px 20px; max-width: 1200px; margin: 0 auto; }

/* LOGO */
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-img { width: 62px; height: 62px; flex-shrink: 0; }
.logo-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: white; padding: 2px; }
.logo-text { line-height: 1; }
.logo-text h1 { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2; }
.logo-text span { font-size: 11px; color: rgba(255,255,255,.6); }

/* Header contacts */
.header-contacts { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hc { display: flex; align-items: center; gap: 8px; }
.hc-icon { font-size: 18px; }
.hc-text small { display: block; font-size: 10px; color: rgba(255,255,255,.5); }
.hc-text strong { display: block; font-size: 12px; color: #fff; white-space: nowrap; }
.btn-admission { background: var(--orange); color: #fff !important; padding: 10px 18px; border-radius: 25px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s; display: inline-block; }
.btn-admission:hover { background: var(--orange-dark) !important; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; padding: 4px; margin-left: auto; }

/* ===== NAV ===== */
.main-nav { background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,.1); }
.nav-inner { display: flex; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-inner a { display: inline-block; padding: 13px 15px; color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; transition: color .2s, background .2s; border-bottom: 3px solid transparent; }
.nav-inner a:hover, .nav-inner a.active { color: var(--orange); border-bottom-color: var(--orange); }
.nav-cert { color: var(--orange) !important; font-weight: 700 !important; }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > a::after { content: ' ▾'; font-size: 10px; }
.drop-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--navy); min-width: 260px; border-radius: 0 0 10px 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); z-index: 999; }
.drop-menu a { display: block; padding: 10px 18px; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-drop:hover .drop-menu { display: block; }

/* ===== NOTICE TICKER ===== */
.notice-bar { background: #0a1a50; padding: 8px 0; overflow: hidden; }
.notice-inner { display: flex; align-items: center; gap: 14px; }
.notice-label { background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; white-space: nowrap; flex-shrink: 0; }
.notice-scroll { color: rgba(255,255,255,.85); font-size: 13px; white-space: nowrap; overflow: hidden; }
.notice-scroll span { display: inline-block; animation: scroll-left 25s linear infinite; }
@keyframes scroll-left { 0%{transform:translateX(100%)} 100%{transform:translateX(-100%)} }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%); padding: 65px 0; position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; top:-80px; right:-80px; width:320px; height:320px; border-radius:50%; background:rgba(232,119,34,.07); }
.hero::after { content:''; position:absolute; bottom:-100px; left:-60px; width:260px; height:260px; border-radius:50%; background:rgba(232,119,34,.05); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-block; background: rgba(232,119,34,.18); border: 1px solid rgba(232,119,34,.45); color: var(--orange); font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 20px; margin-bottom: 18px; letter-spacing: 1px; text-transform: uppercase; }
.hero h2 { font-size: 40px; font-weight: 800; color: #fff; line-height: 1.18; margin-bottom: 12px; }
.hero-bn { font-size: 16px; color: rgba(255,255,255,.82); margin-bottom: 8px; font-family: 'SolaimanLipi', Arial, sans-serif; }
.hero-meta { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: var(--orange); color: #fff; padding: 13px 28px; border-radius: 30px; font-size: 15px; font-weight: 700; transition: background .2s, transform .1s; display: inline-block; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); padding: 12px 26px; border-radius: 30px; font-size: 15px; font-weight: 600; transition: border-color .2s; display: inline-block; }
.btn-ghost:hover { border-color: #fff; }

/* ===== STATS ===== */
.stats-bar { background: var(--orange); }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { text-align: center; padding: 18px; border-right: 1px solid rgba(255,255,255,.3); }
.stat:last-child { border: none; }
.stat-n { font-size: 32px; font-weight: 800; color: #fff; line-height: 1; }
.stat-l { font-size: 12px; color: rgba(255,255,255,.85); font-weight: 600; margin-top: 3px; }

/* ===== BANNER ===== */
.course-banner { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); padding: 28px 0; }
.banner-inner { display: flex; justify-content: space-around; align-items: center; gap: 20px; flex-wrap: wrap; }
.banner-item { text-align: center; color: #fff; }
.banner-item h3 { font-size: 18px; font-weight: 800; font-family: 'SolaimanLipi', Arial, sans-serif; }
.banner-item p { font-size: 12px; opacity: .85; margin-top: 3px; }
.banner-div { width: 1px; height: 50px; background: rgba(255,255,255,.3); }

/* ===== SECTION ===== */
section { padding: 60px 0; }
.sec-tag { display: inline-block; background: rgba(26,58,143,.1); color: var(--navy); font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.sec-title { font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.sec-line { width: 55px; height: 4px; background: var(--orange); border-radius: 2px; margin: 10px auto 0; }
.sec-head { text-align: center; margin-bottom: 40px; }

/* ===== DEPARTMENTS ===== */
.dept-bg { background: var(--bg); }
.dept-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.dept-card { background: var(--navy); border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 16px rgba(26,58,143,.15); }
.dept-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,58,143,.25); }
.dept-icon { height: 160px; background: linear-gradient(135deg,var(--navy),var(--navy-mid)); display: flex; align-items: center; justify-content: center; font-size: 52px; }
.dept-body { padding: 18px; text-align: center; }
.dept-body h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.35; }
.btn-see { background: #fff; color: var(--navy); padding: 7px 20px; border-radius: 22px; font-size: 13px; font-weight: 700; display: inline-block; transition: background .2s; }
.btn-see:hover { background: var(--orange); color: #fff; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-tag { display: inline-block; background: rgba(26,58,143,.1); color: var(--navy); font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }
.about-text h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.about-text p { font-size: 15px; color: var(--light); line-height: 1.8; margin-bottom: 12px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.ab-stat { background: var(--bg); border-radius: 10px; padding: 16px; border-left: 4px solid var(--orange); }
.ab-stat .n { font-size: 26px; font-weight: 800; color: var(--navy); }
.ab-stat .l { font-size: 12px; color: var(--light); }
.about-img-box { background: linear-gradient(135deg,var(--navy),var(--navy-mid)); border-radius: 16px; height: 320px; display: flex; align-items: center; justify-content: center; font-size: 90px; box-shadow: 0 8px 30px rgba(26,58,143,.2); }
.about-img-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

/* ===== CERT SECTION ===== */
.cert-dark { background: var(--navy); }
.cert-dark .sec-tag { background: rgba(232,119,34,.2); color: var(--orange); }
.cert-dark .sec-title { color: #fff; }
.cert-dark .sec-sub { color: rgba(255,255,255,.65); font-size: 14px; margin-top: 6px; }
.cert-box { background: #fff; border-radius: 16px; padding: 34px; max-width: 700px; margin: 0 auto; }
.cert-box-title { font-size: 18px; font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 20px; }
.cert-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; margin-bottom: 16px; }
.cert-or { text-align: center; padding-bottom: 10px; }
.cert-or span { background: var(--border); color: var(--light); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.fgroup label { display: block; font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.fgroup input { width: 100%; padding: 11px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; transition: border-color .2s; }
.fgroup input:focus { outline: none; border-color: var(--navy); }
.btn-verify { width: 100%; padding: 13px; background: var(--navy); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .2s; }
.btn-verify:hover { background: var(--navy-mid); }
.cert-hint { text-align: center; margin-top: 10px; font-size: 12px; color: var(--light); }
.cert-hint a { color: var(--navy); font-weight: 700; }
.msg-err { background: #fdecea; border: 1px solid #f5c6c2; border-left: 4px solid #c0392b; border-radius: 8px; padding: 13px 16px; color: #c0392b; font-size: 14px; margin-top: 14px; }

/* Result */
.cert-result { border: 2px solid var(--green); border-radius: 12px; overflow: hidden; margin-top: 20px; animation: fadeUp .35s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
.cr-head { background: var(--green); padding: 16px 22px; display: flex; align-items: center; gap: 12px; }
.cr-head h4 { color: #fff; font-size: 16px; font-weight: 700; flex: 1; }
.cr-badge { background: rgba(255,255,255,.2); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.cr-body { padding: 22px; }
.cr-no { background: var(--navy); border-radius: 8px; padding: 13px 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cr-no label { font-size: 12px; color: rgba(255,255,255,.7); }
.cr-no span { font-size: 18px; font-weight: 700; color: var(--orange); letter-spacing: 1px; }
.cr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cr-field { background: var(--bg); border-radius: 8px; padding: 11px 15px; }
.cr-field.full { grid-column: 1/-1; }
.cr-field label { font-size: 10px; font-weight: 700; color: var(--light); text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 3px; }
.cr-field span { font-size: 15px; font-weight: 600; color: var(--text); }
.cr-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.btn-dl { background: var(--navy); color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 700; display: inline-block; border: none; cursor: pointer; font-family: inherit; }
.btn-dl:hover { background: var(--navy-mid); }
.cr-note { background: #fffbf0; border: 1px solid #f5e0a0; border-radius: 8px; padding: 11px 15px; margin-top: 14px; font-size: 13px; color: #7a5c00; }

/* ===== NEWS ===== */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { border-radius: 12px; border: 1px solid var(--border); overflow: hidden; transition: box-shadow .2s; }
.news-card:hover { box-shadow: 0 8px 24px rgba(26,58,143,.12); }
.news-thumb { height: 190px; background: linear-gradient(135deg,var(--navy),var(--navy-mid)); display: flex; align-items: center; justify-content: center; font-size: 56px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 18px; }
.news-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 7px; line-height: 1.4; }
.news-date { font-size: 12px; color: var(--light); }
.btn-more { display: inline-block; margin-top: 14px; background: var(--navy); color: #fff; padding: 8px 20px; border-radius: 22px; font-size: 13px; font-weight: 600; }
.btn-more:hover { background: var(--navy-mid); }

/* ===== PRINCIPAL ===== */
.principal-bg { background: var(--bg); }
.principal-card { display: flex; align-items: center; gap: 36px; background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 4px 20px rgba(26,58,143,.08); max-width: 820px; margin: 0 auto; }
.principal-photo { width: 130px; height: 130px; border-radius: 50%; border: 4px solid var(--navy); flex-shrink: 0; object-fit: cover; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 50px; }
.principal-info h3 { font-size: 22px; font-weight: 800; color: var(--navy); }
.principal-info .role { color: var(--orange); font-weight: 600; font-size: 14px; margin: 4px 0 10px; display: block; }
.principal-info p { font-size: 14px; color: var(--light); line-height: 1.75; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg,var(--navy-dark),var(--navy)); padding: 44px 0; }
.page-hero h2 { font-size: 28px; font-weight: 800; color: #fff; }
.page-bc { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; }
.page-bc a { color: var(--orange); }

/* ===== CERTIFICATE PAGE ===== */
.cert-page-wrap { background: var(--bg); padding: 40px 0; min-height: 70vh; }
.cert-page-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 24px rgba(26,58,143,.1); overflow: hidden; max-width: 780px; margin: 0 auto; }
.cpc-head { background: var(--navy); padding: 22px 28px; }
.cpc-head h3 { color: #fff; font-size: 18px; font-weight: 700; }
.cpc-head p { color: rgba(255,255,255,.65); font-size: 13px; margin-top: 3px; }
.cpc-body { padding: 30px; }
.cert-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; gap: 6px; }
.c-tab { padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--light); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .2s; }
.c-tab.active { color: var(--navy); border-color: var(--orange); }
.c-panel { display: none; }
.c-panel.active { display: block; }

/* ===== CERT PRINT ===== */
.cert-print-wrap { background: #b0b0b0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 30px 16px; }
.print-toolbar { width: 100%; max-width: 980px; display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.btn-back { background: #fff; color: var(--navy); border: 2px solid var(--navy); padding: 9px 20px; border-radius: 7px; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-print { background: var(--navy); color: #fff; border: none; padding: 10px 22px; border-radius: 7px; font-size: 14px; font-weight: 700; cursor: pointer; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); }
.footer-top { padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr 1fr; gap: 32px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--orange); display: inline-block; }
.footer-col p, .footer-col li { font-size: 13px; line-height: 1.9; }
.footer-col ul { list-style: none; }
.footer-col ul a { color: rgba(255,255,255,.7); }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom { background: rgba(0,0,0,.2); padding: 14px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 6px; }
.footer-bottom a { color: var(--orange); }

/* ===== ADMIN ===== */
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 26px 20px; }
.admin-topbar { background: var(--navy); height: 54px; display: flex; align-items: center; padding: 0 24px; justify-content: space-between; }
.admin-brand { color: #fff; font-size: 16px; font-weight: 700; }
.admin-brand em { background: var(--orange); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 4px; margin-right: 8px; }
.admin-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 13px; margin-left: 18px; }
.admin-links a:hover { color: var(--orange); }
.adm-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
.adm-stat { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 12px rgba(26,58,143,.07); border-left: 4px solid var(--navy); }
.adm-stat .n { font-size: 32px; font-weight: 800; color: var(--navy); }
.adm-stat .l { font-size: 12px; color: var(--light); }
.adm-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(26,58,143,.07); overflow: hidden; margin-bottom: 22px; }
.adm-head { background: var(--navy); padding: 15px 22px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.adm-head h3 { color: #fff; font-size: 15px; font-weight: 600; }
.adm-head span { color: rgba(255,255,255,.7); }
.adm-body { padding: 24px; display: none; }
.adm-body.open { display: block; }
.fg2 { margin-bottom: 14px; }
.fg2 label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.fg2 input, .fg2 select { width: 100%; padding: 10px 12px; border: 2px solid var(--border); border-radius: 7px; font-size: 13px; font-family: inherit; }
.fg2 input:focus, .fg2 select:focus { outline: none; border-color: var(--navy); }
.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid2 .full { grid-column: 1/-1; }
.btn-save { background: var(--navy); color: #fff; border: none; border-radius: 7px; padding: 11px 26px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; margin-top: 6px; }
.btn-save:hover { background: var(--navy-mid); }
.adm-table-top { padding: 15px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.adm-table-top h3 { font-size: 15px; font-weight: 600; }
.search-f { display: flex; gap: 8px; }
.search-f input { padding: 8px 12px; border: 2px solid var(--border); border-radius: 7px; font-size: 13px; font-family: inherit; width: 220px; }
.search-f button { padding: 8px 16px; background: var(--navy); color: #fff; border: none; border-radius: 7px; font-size: 13px; cursor: pointer; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th { background: var(--bg); padding: 11px 14px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--light); letter-spacing: .5px; }
.adm-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.adm-table tr:last-child td { border: none; }
.adm-table tr:hover td { background: #fafbff; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-act { background: #e8f7ee; color: #1a6e3a; }
.badge-off { background: #f5f5f5; color: #888; }
.act-btns a { font-size: 12px; text-decoration: none; padding: 4px 9px; border-radius: 5px; font-weight: 500; margin-right: 4px; display: inline-block; border: 1px solid; }
.act-tog { background: #fff8e6; color: #a07000; border-color: #f5e0a0; }
.act-prt { background: #e8f0ff; color: var(--navy); border-color: #c0d0f0; }
.act-del { background: #fdecea; color: #c0392b; border-color: #f5c6c2; }
.adm-empty { text-align: center; padding: 40px; color: var(--light); font-size: 14px; }
.msg-s { background: #e8f7ee; border: 1px solid #a8dfc0; border-radius: 8px; padding: 12px 16px; color: #1a6e3a; font-size: 13px; margin-bottom: 16px; }
.msg-e { background: #fdecea; border: 1px solid #f5c6c2; border-radius: 8px; padding: 12px 16px; color: #c0392b; font-size: 13px; margin-bottom: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dept-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .header-contacts { display: none; }
  .nav-toggle { display: block; }
  .main-nav .nav-inner { flex-direction: column; gap: 0; display: none; }
  .main-nav.open .nav-inner { display: flex; }
  .hero h2 { font-size: 26px; }
  .about-grid, .news-grid, .dept-grid { grid-template-columns: 1fr; }
  .cert-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .banner-inner { flex-direction: column; gap: 20px; }
  .banner-div { display: none; }
  .principal-card { flex-direction: column; text-align: center; }
  .cr-grid { grid-template-columns: 1fr; }
}

/* ===== PRINT ===== */
@media print {
  .topbar, .site-header, .main-nav, .notice-bar, .print-toolbar, .site-footer { display: none !important; }
  body { background: none; }
}
