/* =========================================================
   Arts & Commerce College, Satara — main stylesheet
   ========================================================= */
:root {
  --primary: #5e0b3b;
  --primary-2: #7d1350;
  --primary-dark: #4a0730;
  --accent: #f39c12;
  --accent-2: #ffb938;
  --red: #e5322d;
  --ink: #1d1a24;
  --text: #45404f;
  --muted: #7b7487;
  --line: #ece6ef;
  --bg: #ffffff;
  --soft: #faf6f9;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(74, 7, 48, .08);
  --shadow-lg: 0 20px 50px rgba(74, 7, 48, .16);
  --grad: linear-gradient(135deg, #4a0730 0%, #640d40 55%, #7d1350 100%);
  --nav-bg: linear-gradient(90deg, #3a0524 0%, #4a0730 30%, #5a0a3b 50%, #4a0730 70%, #3a0524 100%);
  --grad-accent: linear-gradient(135deg, #f39c12, #ff6f3c);
  --font: 'Poppins', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Lora', 'Noto Sans Devanagari', Georgia, serif;
  --container: 1240px;
  --nav-h: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 15.5px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-2); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 32px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: 8px 14px; z-index: 9999; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 50px; font-weight: 600; font-size: 14.5px; border: 2px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, color .25s; line-height: 1.3; text-align: center; background: var(--primary); color: #fff; margin: 3px 2px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(122, 12, 79, .25); color: #fff; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-accent { background: var(--grad-accent); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--primary); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-link { background: none; color: var(--primary); padding: 6px 0; border-radius: 0; }
.btn-link:hover { box-shadow: none; color: var(--accent); }
.btn-blue, .btn-info, .btn-turquoise { background: linear-gradient(135deg, #1565c0, #1e88e5); }
.btn-pink, .btn-juicy_pink { background: linear-gradient(135deg, #c2185b, #ec407a); }
.btn-warning, .btn-orange { background: var(--grad-accent); }
.btn-default, .btn-grey { background: #f1ecf3; color: var(--ink); }
.btn-default:hover { color: var(--primary); }

/* ---------- topbar ---------- */
.topbar { background: var(--primary-dark); color: #f3dce9; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a, .topbar span { color: #f3dce9; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--accent-2); }
.topbar-contact, .topbar-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-links a { font-weight: 600; letter-spacing: .3px; }
.topbar .soc { width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.topbar i { color: var(--accent-2); }

/* ---------- brand bar (text + logo) ---------- */
.brandbar { position: relative; z-index: 3; background: radial-gradient(circle at 0% 0%, rgba(243, 156, 18, .10), transparent 35%), radial-gradient(circle at 100% 100%, rgba(163, 23, 108, .08), transparent 40%), #fff; overflow: hidden; }
.brandbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--red), var(--primary-2), var(--accent)); background-size: 300% 100%; animation: shine 8s linear infinite; }
.brand-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 20px; min-height: 118px; }
.brand { display: flex; align-items: center; gap: 18px; color: inherit; min-width: 0; }
.brand:hover { color: inherit; }
.brand-emblem { position: relative; flex: none; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; animation: logoGlow 2.4s ease-in-out infinite; }
.brand-emblem::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 46%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, .45) 54%, transparent 70%); background-size: 260% 100%; animation: logoFlash 2.4s ease-in-out infinite; pointer-events: none; }
.brand-emblem img { width: 118px; height: 118px; border-radius: 50%; image-rendering: -webkit-optimize-contrast; filter: saturate(1.15) contrast(1.08); }
@keyframes logoFlash { 0% { background-position: 130% 0; } 55%, 100% { background-position: -130% 0; } }
@keyframes logoGlow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(229, 50, 45, 0)); } 50% { filter: drop-shadow(0 0 10px rgba(229, 50, 45, .55)) drop-shadow(0 0 4px rgba(243, 156, 18, .6)); } }

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-society { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: .3px; }
.brand-name { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(22px, 2.35vw, 38px); font-weight: 700; line-height: 1.15; letter-spacing: .3px; white-space: nowrap; text-transform: uppercase; background: linear-gradient(100deg, var(--primary-dark) 0%, var(--primary-2) 45%, var(--red) 60%, var(--primary) 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 9s ease-in-out infinite alternate; padding: 2px 0 4px; }
.brand-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--primary); font-weight: 500; }
.brand-tag i { color: var(--accent); }
.brand-side { display: flex; align-items: center; gap: 18px; flex: none; }
.brand-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ba-item { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.ba-item i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--primary); transition: all .3s; }
.ba-item small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1; }
.ba-item:hover i { background: var(--grad); color: #fff; transform: rotate(-10deg); }
.ba-cta { margin: 0; padding: 9px 18px; font-size: 13.5px; }
.brand-founder { margin: 0; width: 76px; height: 96px; position: relative; flex: none; }
.brand-founder::before { content: ''; position: absolute; left: 4px; right: 4px; bottom: 0; height: 72px; border-radius: 40px 40px 14px 14px; background: linear-gradient(160deg, rgba(243, 156, 18, .25), rgba(163, 23, 108, .18)); }
.brand-founder img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
.nav-open { display: none; }

/* ---------- main nav ---------- */
.mainnav { background: var(--nav-bg); position: sticky; top: 0; z-index: 900; box-shadow: 0 6px 20px rgba(74, 7, 48, .25); }
.nav-inner { display: flex; align-items: center; justify-content: center; position: relative; max-width: none; padding: 0 16px; }
.mainnav::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%); background-size: 250% 100%; animation: sheen 7s linear infinite; }
.mainnav::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); opacity: .7; pointer-events: none; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.nav-emblem { position: absolute; left: 12px; top: 50%; transform: translateY(-50%) scale(.4); opacity: 0; transition: all .35s; pointer-events: none; }
.mainnav.stuck .nav-emblem { opacity: 1; transform: translateY(-50%) scale(1); pointer-events: auto; }
.nav-emblem img { width: 40px; height: 40px; background: #fff; border-radius: 50%; padding: 2px; }
.drawer-head { display: none; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; flex-wrap: nowrap; justify-content: space-between; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; font-size: clamp(12.5px, .86vw, 15.5px); padding: 0 clamp(5px, .5vw, 12px); height: var(--nav-h); position: relative; white-space: nowrap; }
.menu > li > a .mi { color: var(--accent-2); font-size: .95em; transition: transform .35s; }
.menu > li:hover > a .mi { transform: translateY(-2px) scale(1.15); }
.menu > li > a::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 10px; height: 3px; border-radius: 3px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.menu > li:hover > a::after, .menu > li.active > a::after { transform: scaleX(1); }
.menu > li:hover > a, .menu > li.active > a { color: #fff; }
.caret { font-size: 10px; transition: transform .3s; opacity: .85; }
.menu > li:hover > a .caret { transform: rotate(180deg); }
.sub-toggle { display: none; }
.submenu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--accent); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s ease; z-index: 50; }
.menu > li:hover > .submenu, .menu > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu > li.mega > .submenu { columns: 2; column-gap: 10px; min-width: 640px; }
.menu > li:nth-last-child(-n+4) > .submenu { left: auto; right: 0; }
.submenu li { break-inside: avoid; }
.submenu a { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 12px; color: var(--text); font-size: 14px; border-radius: 8px; position: relative; transition: all .25s; }
.submenu a:hover, .submenu li.active > a { background: var(--soft); color: var(--primary); padding-left: 16px; }
.submenu a .mi { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--soft); color: var(--primary); font-size: 13px; transition: all .25s; }
.submenu a:hover .mi, .submenu li.active > a .mi { background: var(--grad); color: var(--accent-2); transform: rotate(-8deg); }
.search-btn { background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 38px; height: 38px; border-radius: 50%; margin-left: 8px; flex: none; transition: background .25s; }
.search-btn:hover { background: var(--accent); }
.nav-backdrop { display: none; }

/* ---------- search overlay ---------- */
.search-overlay { position: fixed; inset: 0; background: rgba(36, 4, 24, .92); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; padding: 20px; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-form { display: flex; width: 100%; max-width: 700px; border-bottom: 2px solid rgba(255, 255, 255, .5); transform: translateY(20px); transition: transform .35s; }
.search-overlay.open .search-form { transform: none; }
.search-form input { flex: 1; background: none; border: 0; color: #fff; font-size: 26px; padding: 14px 6px; font-family: inherit; outline: none; min-width: 0; }
.search-form input::placeholder { color: rgba(255, 255, 255, .55); }
.search-form button { background: none; border: 0; color: var(--accent-2); font-size: 24px; }
.search-close { position: absolute; top: 24px; right: 24px; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 20px; }

/* ---------- ticker ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: stretch; gap: 0; padding: 0 20px; }
.ticker-label { background: var(--grad-accent); color: #fff; font-weight: 600; font-size: 13.5px; padding: 0 18px; display: flex; align-items: center; gap: 8px; white-space: nowrap; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 28px; }
.ticker-label i { animation: ring 2s infinite; }
.ticker-track { overflow: hidden; flex: 1; position: relative; mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); }
.ticker-move { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { padding: 10px 26px; color: var(--ink); font-size: 14px; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.ticker-move a:hover { color: var(--primary); }
.ticker-move i { color: var(--accent); font-size: 8px; }
.badge-new { background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 20px; font-style: normal; animation: blink 1.4s infinite; letter-spacing: .5px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: .45; } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } 50% { transform: rotate(0); } }

/* ---------- hero slider ---------- */
.hero { position: relative; height: clamp(320px, 62vh, 640px); overflow: hidden; background: var(--primary-dark); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.12); }
.slide.active img { animation: kenburns 9s ease-out forwards; }
.slide.poster img { object-fit: contain; position: relative; z-index: 1; padding: 18px; transform: none; animation: none !important; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }
.slide-blur { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(28px) brightness(.75) saturate(1.3); transform: scale(1.1); }
.slide.poster.active .slide-blur { animation: kenburns 9s ease-out forwards; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 3, 26, .82) 0%, rgba(74, 7, 48, .45) 50%, rgba(0, 0, 0, .05) 100%); }
.slide-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.slide-content > * { opacity: 0; transform: translateY(30px); }
.slide.active .slide-content > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: .2s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: .4s; }
.slide-content h2 { color: #fff; font-size: clamp(28px, 4.6vw, 58px); font-weight: 700; max-width: 760px; text-shadow: 0 4px 20px rgba(0, 0, 0, .3); margin-bottom: 20px; }
.eyebrow { display: inline-block; background: rgba(243, 156, 18, .18); border: 1px solid rgba(255, 185, 56, .6); color: var(--accent-2); padding: 6px 16px; border-radius: 30px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; backdrop-filter: blur(4px); }
.eyebrow-dark { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(6px); z-index: 5; transition: all .3s; }
.hero-nav:hover { background: var(--accent); border-color: var(--accent); }
.hero-nav.prev { left: 20px; } .hero-nav.next { right: 20px; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 12px; height: 12px; border-radius: 20px; border: 0; background: rgba(255, 255, 255, .5); transition: all .35s; padding: 0; }
.hero-dots button.active { width: 34px; background: var(--accent); }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- important links chips ---------- */
.important-links { background: var(--soft); padding: 18px 0; border-bottom: 1px solid var(--line); }
.chip-scroller { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 8px 16px; border-radius: 40px; font-size: 13.5px; font-weight: 500; box-shadow: 0 2px 6px rgba(0, 0, 0, .03); transition: all .25s; }
.chip i { color: var(--primary); }
.chip:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(122, 12, 79, .22); }
.chip:hover i { color: var(--accent-2); }

/* ---------- sections ---------- */
.section { padding: 70px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-title { font-size: clamp(24px, 3vw, 36px); font-weight: 700; position: relative; padding-bottom: 14px; margin-bottom: 18px; }
.section-title::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 70px; height: 4px; border-radius: 4px; background: var(--grad-accent); }
.section-title.left::after { left: 0; transform: none; }
.section-head.light .section-title { color: #fff; }

/* home intro */
.home-intro { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; align-items: start; }
.about-media { position: relative; margin: 6px 0 22px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .8s; }
.about-media:hover img { transform: scale(1.06); }
.about-badge { position: absolute; left: 16px; bottom: 16px; background: var(--grad-accent); color: #fff; padding: 10px 16px; border-radius: 12px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.about-badge strong { font-size: 28px; line-height: 1; }
.about-badge span { font-size: 12px; line-height: 1.3; font-weight: 500; }
.intro-about p { text-align: justify; }
.notice-board, .quick-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.nb-head, .qb-head { background: var(--grad); color: #fff; padding: 14px 20px; font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.nb-head i { animation: ring 2.5s infinite; color: var(--accent-2); }
.qb-head i { color: var(--accent-2); }
.nb-viewport { height: 380px; overflow: hidden; position: relative; }
.nb-list { list-style: none; margin: 0; padding: 6px 0; animation: vscroll 30s linear infinite; }
.nb-viewport:hover .nb-list { animation-play-state: paused; }
.nb-list li a { display: flex; gap: 14px; padding: 12px 18px; color: var(--text); border-bottom: 1px dashed var(--line); font-size: 14px; line-height: 1.5; transition: background .25s; }
.nb-list li a:hover { background: var(--soft); color: var(--primary); }
.nb-date { flex: none; width: 56px; height: 56px; background: var(--soft); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--primary); font-size: 11px; text-transform: uppercase; font-weight: 600; border: 1px solid var(--line); }
.nb-date b { font-size: 19px; line-height: 1; }
.nb-all { display: block; text-align: center; padding: 12px; font-weight: 600; font-size: 14px; border-top: 1px solid var(--line); }
@keyframes vscroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.qb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; }
.qb-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 500; text-align: center; transition: all .3s; border: 1px solid transparent; }
.qb-grid a i { font-size: 22px; color: var(--primary); transition: transform .35s; }
.qb-grid a:hover { background: #fff; border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--primary); }
.qb-grid a:hover i { transform: scale(1.2) rotate(-6deg); color: var(--accent); }
.nlist { padding: 0 16px 18px; }
.nlist label { font-weight: 600; font-size: 13.5px; color: var(--ink); display: block; margin-bottom: 8px; }
.nlist label i { color: var(--primary); }
.nlist-row { display: flex; border: 2px solid var(--line); border-radius: 40px; overflow: hidden; transition: border-color .25s; }
.nlist-row:focus-within { border-color: var(--primary); }
.nlist-row input { flex: 1; border: 0; padding: 10px 16px; font-family: inherit; outline: none; min-width: 0; }
.nlist-row button { border: 0; background: var(--grad); color: #fff; width: 48px; }

/* stats */
.stats { background: var(--grad); padding: 46px 0; position: relative; overflow: hidden; }
.stats::before, .stats::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.stats::before { width: 340px; height: 340px; top: -170px; left: -80px; }
.stats::after { width: 260px; height: 260px; bottom: -150px; right: 6%; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.stat { text-align: center; color: #fff; padding: 10px; border-right: 1px solid rgba(255, 255, 255, .18); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--accent-2); line-height: 1.1; }
.stat span { font-size: 14px; opacity: .92; }

/* leaders */
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 30px; justify-content: center; }
.leader-card { background: #fff; border-radius: 20px; padding: 34px 24px 26px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .35s, box-shadow .35s; color: var(--text); }
.leader-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: var(--grad); z-index: 0; }
.leader-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--text); }
.leader-photo { position: relative; z-index: 1; width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, var(--accent), var(--primary-2)); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.leader-card h3 { font-size: 20px; margin-bottom: 4px; }
.leader-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.link-more { font-weight: 600; font-size: 14px; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.link-more i { transition: transform .25s; }
.leader-card:hover .link-more i, .post-card:hover .link-more i { transform: translateX(5px); }

/* post cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; border: 1px solid var(--line); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pc-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post-card:hover .pc-img img { transform: scale(1.08); }
.pc-date { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--primary); border-radius: 10px; padding: 6px 10px; text-align: center; font-size: 11px; font-weight: 600; line-height: 1.2; box-shadow: var(--shadow); }
.pc-date b { display: block; font-size: 20px; }
.pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { align-self: flex-start; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 6px; }
.pc-body h3 { font-size: 17px; line-height: 1.45; margin-bottom: 8px; }
.pc-body h3 a { color: var(--ink); }
.pc-body h3 a:hover { color: var(--primary); }
.pc-body p { font-size: 14px; color: var(--muted); flex: 1; }

/* campus */
.campus { background: radial-gradient(circle at 15% 20%, rgba(243, 156, 18, .18), transparent 40%), radial-gradient(circle at 85% 80%, rgba(194, 65, 107, .35), transparent 45%), linear-gradient(135deg, #2a0619, #4a0730); }
.campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
.campus-grid .big { grid-column: span 2; grid-row: span 2; }

/* photos & albums */
.photo { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #2a0a1d; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, opacity .4s; }
.photo:hover img { transform: scale(1.1); opacity: .75; }
.photo .zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; opacity: 0; transform: scale(.6); transition: all .35s; }
.photo:hover .zoom { opacity: 1; transform: none; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 18px 0; }
.photo-grid .photo { aspect-ratio: 4/3; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 10px 0; }
.album-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; border: 1px solid var(--line); color: var(--ink); }
.album-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--primary); }
.album-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.album-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.album-card:hover .album-thumb img { transform: scale(1.08); }
.album-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .55)); }
.album-count { position: absolute; right: 12px; bottom: 12px; z-index: 1; color: #fff; background: rgba(0, 0, 0, .45); backdrop-filter: blur(4px); padding: 3px 10px; border-radius: 20px; font-size: 12.5px; }
.album-title { padding: 14px 16px; font-weight: 600; font-size: 14.5px; line-height: 1.45; }

/* courses */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.course { display: flex; align-items: center; gap: 14px; background: #fff; padding: 14px 16px; border-radius: 14px; box-shadow: 0 3px 12px rgba(74, 7, 48, .06); font-weight: 500; font-size: 14px; color: var(--ink); transition: all .3s; border: 1px solid var(--line); }
.course i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--primary); font-size: 18px; transition: all .3s; }
.course:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.course:hover i { background: var(--grad); color: #fff; transform: rotate(-8deg); }

/* cta band */
.cta-band { background: var(--grad-accent); padding: 46px 0; color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 4px; }
.cta-band p { margin: 0; opacity: .95; }
.cta-band .btn-accent { background: #fff; color: var(--primary); }
.cta-band-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding: 70px 0 60px; color: #fff; overflow: hidden; background: var(--primary-dark); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; transform: scale(1.1); animation: kenburns 14s ease-out forwards; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(74, 7, 48, .95), rgba(163, 23, 108, .55)); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(24px, 3.6vw, 40px); font-weight: 700; margin-bottom: 10px; animation: rise .8s forwards; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.crumbs a { color: #fff; opacity: .9; }
.crumbs a:hover { color: var(--accent-2); }
.crumbs i.fa-angle-right { font-size: 11px; opacity: .7; }
.crumbs span { color: var(--accent-2); }

/* ---------- page content ---------- */
.page-section { background: var(--soft); }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.content-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; border: 1px solid var(--line); min-width: 0; }
.sidebar { min-width: 0; }
.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); }
.side-card.sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
.side-card h3 { background: var(--grad); color: #fff; margin: 0; padding: 14px 20px; font-size: 17px; }
.side-links { list-style: none; margin: 0; padding: 8px; max-height: 70vh; overflow-y: auto; }
.side-links a { display: flex; gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 14px; transition: all .25s; }
.side-links a i { color: var(--accent); font-size: 12px; transition: transform .25s; }
.side-links a:hover, .side-links li.on a { background: var(--soft); color: var(--primary); }
.side-links a:hover i { transform: translateX(4px); }
.side-links li.on a { font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }
.side-cta { text-align: center; padding: 26px 20px; background: var(--grad); color: #fff; }
.side-cta i { font-size: 34px; color: var(--accent-2); margin-bottom: 8px; }
.side-cta h4 { color: #fff; margin-bottom: 4px; }
.side-cta a:not(.btn) { color: #fff; font-weight: 600; }
.recent-list { list-style: none; margin: 0; padding: 8px; }
.recent-list a { display: flex; gap: 12px; padding: 10px; border-radius: 10px; color: var(--ink); font-size: 13.5px; line-height: 1.45; }
.recent-list a:hover { background: var(--soft); color: var(--primary); }
.recent-list img { width: 64px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.recent-list small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.post-meta { display: flex; gap: 18px; color: var(--muted); font-size: 13.5px; margin-bottom: 8px; flex-wrap: wrap; }
.post-meta i { color: var(--accent); }
.post-title { font-size: clamp(20px, 2.6vw, 28px); }
.post-cover { margin: 0 0 22px; border-radius: 12px; overflow: hidden; }
.post-cover img { width: 100%; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.share a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--primary); transition: all .25s; }
.share a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }

/* entry: converted WordPress content */
.entry { font-size: 15.5px; overflow-wrap: break-word; }
.entry > :first-child { margin-top: 0; }
.entry h1, .entry h2, .entry h3, .entry h4 { margin-top: .4em; }
.entry h2 { font-size: 26px; } .entry h3 { font-size: 21px; } .entry h4 { font-size: 18px; }
.entry img { border-radius: 10px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry ul li { margin-bottom: 4px; }
.entry ul li::marker { color: var(--accent); }
.entry a:not(.btn):not(.photo):not(.album-card):not(.icon-card) { text-decoration: underline; text-decoration-color: rgba(122, 12, 79, .3); text-underline-offset: 3px; }
.entry a[href$=".pdf"]:not(.btn)::before { content: '\f1c1'; font-family: 'Font Awesome 6 Free'; font-weight: 400; margin-right: 6px; color: var(--red); text-decoration: none; display: inline-block; }
.entry table { width: 100% !important; height: auto !important; border-collapse: collapse; margin: 16px 0; font-size: 14px; display: block; overflow-x: auto; }
.entry table tbody, .entry table thead { display: table; width: 100%; min-width: 520px; border-collapse: collapse; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left !important; vertical-align: top; }
.entry thead th, .entry tr:first-child td { background: var(--soft); color: var(--ink); font-weight: 600; }
.entry tr:nth-child(even) td { background: #fdfbfc; }
.entry tr:hover td { background: #fbf2f8; }
.entry iframe { max-width: 100%; border: 0; }
.entry hr, .sep { border: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 26px 0; }
.sep-title { text-align: center; }
.vc-row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.vc-row + .vc-row { margin-top: 10px; }
.vc-col { padding: 0 12px; min-width: 0; flex: 0 0 100%; }
.vc-col.c2 { flex-basis: 16.66%; } .vc-col.c3 { flex-basis: 25%; } .vc-col.c4 { flex-basis: 33.33%; } .vc-col.c5 { flex-basis: 41.66%; }
.vc-col.c6 { flex-basis: 50%; } .vc-col.c7 { flex-basis: 58.33%; } .vc-col.c8 { flex-basis: 66.66%; } .vc-col.c9 { flex-basis: 75%; } .vc-col.c10 { flex-basis: 83.33%; }
.text-block { margin-bottom: 14px; }
.heading { color: var(--primary); }
.fancy-title { color: var(--primary); position: relative; padding-bottom: 10px; }
.fancy-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--grad-accent); border-radius: 3px; margin-top: 8px; }
.fancy-title[style*="center"]::after { margin-left: auto; margin-right: auto; }
.section-bar { background: var(--grad); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 17px; margin: 10px 0 14px; }
.cta-card { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 12px; padding: 18px 22px; margin: 0 0 16px; box-shadow: 0 4px 14px rgba(74, 7, 48, .05); transition: transform .3s, box-shadow .3s; }
.cta-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-left-color: var(--accent); }
.cta-card > i { font-size: 26px; color: var(--primary); width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.cta-card .cta-body { flex: 1; min-width: 0; }
.cta-card h3 { font-size: 17.5px; margin: 0 0 4px; }
.cta-card h4 { font-size: 15px; color: var(--muted); font-weight: 500; }
.cta-card .cta-text > :last-child { margin-bottom: 0; }
.cta-card.text-center { text-align: center; justify-content: center; }
.cta-action { flex: none; }
.vc-img { margin: 0 0 16px; }
.vc-img.align-center img { margin: 0 auto; }
.vc-img.align-right img { margin-left: auto; }
.hover-card { position: relative; border-radius: 12px; overflow: hidden; margin: 0 0 14px; }
.hover-card img { width: 100%; transition: transform .6s; }
.hover-card:hover img { transform: scale(1.08); }
.hover-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.styled-list ul { list-style: none; padding: 0; }
.styled-list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.styled-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--accent); }
.video-embed, .map-embed { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin: 10px 0 20px; box-shadow: var(--shadow); background: #000; }
.map-embed { aspect-ratio: 21/9; background: #eee; }
.map-embed.big { margin-top: 40px; }
.video-embed iframe, .map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-wrap video { width: 100%; border-radius: 14px; background: #000; }
.mini-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; border-radius: 12px; scrollbar-width: none; }
.mini-carousel::-webkit-scrollbar { display: none; }
.mini-carousel > * { scroll-snap-align: start; margin: 0; }
.pdf-embed { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 16px 0 24px; background: #fff; box-shadow: 0 4px 14px rgba(74, 7, 48, .05); }
.pdf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--soft); flex-wrap: wrap; font-weight: 600; color: var(--ink); }
.pdf-head i { color: var(--red); }
.pdf-head .btn { margin: 0; }
.pdf-embed iframe { width: 100%; height: 720px; border: 0; display: block; background: #f3f3f3; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin: 18px 0; }
.icon-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 14px; border-radius: 14px; border: 1px solid var(--line); text-align: center; color: var(--ink); font-weight: 600; transition: all .3s; }
.icon-card i { font-size: 30px; color: var(--primary); }
.icon-card:hover { background: var(--grad); color: #fff; transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.icon-card:hover i { color: var(--accent-2); }

/* tabs & accordion (converted) */
.ac-tabs { display: flex; gap: 20px; margin: 16px 0 24px; align-items: flex-start; }
.ac-tabs.horizontal { flex-direction: column; }
.ac-tab-nav { flex: 0 0 250px; display: flex; flex-direction: column; gap: 6px; max-height: 620px; overflow-y: auto; padding-right: 4px; }
.ac-tabs.horizontal .ac-tab-nav { flex-direction: row; flex-wrap: wrap; flex-basis: auto; max-height: none; }
.ac-tab-nav button { text-align: left; border: 1px solid var(--line); background: #fff; padding: 11px 14px; border-radius: 10px; font-size: 14px; color: var(--ink); font-weight: 500; transition: all .25s; line-height: 1.4; }
.ac-tab-nav button:hover { border-color: var(--primary); color: var(--primary); }
.ac-tab-nav button.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(122, 12, 79, .22); }
.ac-tab-panels { flex: 1; min-width: 0; }
.ac-tabs.js .ac-tab { display: none; animation: fadein .4s; }
.ac-tabs.js .ac-tab.on { display: block; }
.ac-tabs.js .ac-tab-title { display: none; }
.ac-tab-title { color: var(--primary); }
.acc-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.acc-item summary { cursor: pointer; padding: 14px 48px 14px 18px; font-weight: 600; color: var(--ink); list-style: none; position: relative; transition: background .25s; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: '\2b'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--primary); transition: transform .3s; }
.acc-item[open] summary { background: var(--soft); color: var(--primary); }
.acc-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc-body { padding: 16px 18px; animation: fadein .4s; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* filter pills / pager */
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.filter-pills a { padding: 8px 18px; border-radius: 30px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; transition: all .25s; }
.filter-pills a small { background: var(--soft); border-radius: 20px; padding: 1px 8px; margin-left: 4px; font-size: 11.5px; color: var(--primary); }
.filter-pills a:hover, .filter-pills a.on { background: var(--grad); color: #fff; border-color: transparent; }
.filter-pills a.on small, .filter-pills a:hover small { background: rgba(255, 255, 255, .2); color: #fff; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pager a.on, .pager a:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: start; }
.info-card { display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; border: 1px solid var(--line); transition: transform .3s; }
.info-card:hover { transform: translateX(6px); }
.info-card > i { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.info-card h3 { font-size: 17px; margin-bottom: 4px; }
.info-card p { margin: 0; font-size: 14.5px; }
.contact-form label { display: block; font-weight: 500; font-size: 14px; color: var(--ink); margin-bottom: 14px; }
.contact-form input, .contact-form textarea, .search-inline input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 15px; transition: border-color .25s, box-shadow .25s; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus, .search-inline input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(122, 12, 79, .08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; }
.alert-success { background: #e8f7ee; color: #1b6b3a; border: 1px solid #b9e6c9; }
.alert-error { background: #fdecec; color: #a12222; border: 1px solid #f5c2c2; }
.search-inline { display: flex; gap: 10px; margin-bottom: 18px; }
.search-inline input { margin: 0; }
.search-results { display: grid; gap: 14px; }
.result { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; color: var(--text); transition: all .25s; }
.result:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.result h3 { font-size: 17px; margin: 4px 0; color: var(--primary); }
.result p { margin: 0; font-size: 14px; color: var(--muted); }
.r-type { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.big404 { font-size: clamp(90px, 18vw, 170px); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toast { position: fixed; top: 20px; right: 20px; z-index: 3000; padding: 14px 20px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-lg); animation: rise .5s forwards; }

/* ---------- footer ---------- */
.site-footer { background: #1f0716; color: #cdb6c4; position: relative; margin-top: 60px; font-size: 14.5px; }
.footer-wave { position: absolute; top: -59px; left: 0; right: 0; height: 60px; line-height: 0; }
.footer-wave svg { width: 100%; height: 100%; }
.footer-wave path { fill: #1f0716; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 34px; padding: 50px 20px 40px; }
.f-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.f-brand img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 3px; }
.f-brand small { display: block; font-size: 12px; color: var(--accent-2); }
.f-brand strong { color: #fff; font-size: 17px; line-height: 1.35; display: block; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--grad-accent); }
.f-links, .f-contact { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 8px; }
.f-links a, .f-contact a { color: #cdb6c4; transition: all .25s; }
.f-links a:hover { color: var(--accent-2); padding-left: 6px; }
.f-links i { color: var(--accent); font-size: 12px; margin-right: 4px; }
.f-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.f-contact i { color: var(--accent); margin-top: 5px; width: 16px; flex: none; }
.f-contact a:hover { color: #fff; }
.f-map { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.f-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3); }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.f-social a:hover { background: var(--grad-accent); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: 13px; }
.fb-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* bottom nav (mobile sticky footer menu) */
.bottom-nav { display: none; }
.to-top { position: fixed; right: 20px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-lg); z-index: 800; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .35s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(15, 2, 10, .95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; margin: 0 auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); animation: zoomin .35s; }
.lightbox figcaption { color: #fff; margin-top: 12px; font-size: 14px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 20px; transition: background .25s; }
.lightbox button:hover { background: var(--accent); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; } .lb-next { right: 20px; }
@keyframes zoomin { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1440px) {
  .nav-emblem { display: none; }
  .caret { display: none; }
}
@media (max-width: 1300px) {
  .menu > li > a .mi { display: none; }
  .search-btn { width: 34px; height: 34px; }
}
@media (max-width: 1100px) {
  .brand-founder { display: none; }
  .brand-name { white-space: normal; }
  .home-intro { grid-template-columns: 1fr 1fr; }
  .intro-about { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  :root { --nav-h: 0px; }
  body { padding-bottom: 68px; }
  .hide-md { display: none !important; }
  .topbar-links { display: none; }
  .topbar-inner { justify-content: center; }
  .brandbar { position: sticky; top: 0; z-index: 950; box-shadow: 0 4px 18px rgba(74, 7, 48, .12); }
  .brand-inner { justify-content: space-between; padding: 8px 16px; }
  .brand-inner { min-height: 0; }
  .brand { gap: 10px; }
  .brand-emblem, .brand-emblem img { width: 58px; height: 58px; }
  .brand-society { font-size: 10.5px; line-height: 1.3; }
  .brand-name { font-size: 17px; letter-spacing: 0; text-transform: none; font-family: var(--font-head); font-weight: 700; padding: 0; }
  .brand-tag, .brand-side { display: none; }
  .nav-open { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--grad); padding: 0 12px; flex: none; }
  .nav-open span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
  .nav-open span:nth-child(2) { width: 70%; }
  .mainnav { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); transform: translateX(-105%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); z-index: 1500; overflow-y: auto; background: #fff; box-shadow: none; }
  body.nav-is-open .mainnav { transform: none; box-shadow: 20px 0 50px rgba(0, 0, 0, .25); }
  body.nav-is-open { overflow: hidden; }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(20, 2, 12, .55); z-index: 1400; opacity: 0; visibility: hidden; transition: all .35s; backdrop-filter: blur(2px); }
  body.nav-is-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-inner { flex-direction: column; align-items: stretch; padding: 0; }
  .nav-emblem, .search-btn { display: none; }
  .drawer-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--grad); color: #fff; position: sticky; top: 0; z-index: 2; }
  .drawer-head strong { flex: 1; font-size: 15px; }
  .drawer-head img { background: #fff; border-radius: 50%; padding: 2px; }
  .nav-close { background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 18px; }
  .menu { flex-direction: column; flex-wrap: nowrap; padding: 8px 0 30px; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a { color: var(--ink); height: auto; padding: 14px 56px 14px 20px; font-size: 15px; font-weight: 500; white-space: normal; }
  .menu > li > a::after { display: none; }
  .menu > li.active > a, .menu > li > a:hover { color: var(--primary); }
  .menu > li > a .caret { display: none; }
  .menu > li > a .mi { display: inline-block; color: var(--primary); width: 22px; text-align: center; }
  .nav-inner { padding: 0; }
  .mainnav::before, .mainnav::after { display: none; }
  .sub-toggle { display: flex; align-items: center; justify-content: center; position: absolute; right: 10px; top: 8px; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); border: 0; color: var(--primary); transition: transform .3s; }
  li.open > .sub-toggle { transform: rotate(45deg); background: var(--primary); color: #fff; }
  .submenu, .menu > li.mega > .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; min-width: 0; columns: 1; max-height: 0; overflow: hidden; padding: 0 12px; transition: max-height .4s ease, padding .3s; background: var(--soft); }
  .menu > li.open > .submenu, .menu > li.mega.open > .submenu { max-height: 1600px; padding: 6px 12px 12px; }
  .submenu a { font-size: 14px; padding: 9px 12px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1300; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 -6px 24px rgba(74, 7, 48, .14); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 10.5px; font-weight: 500; background: none; border: 0; padding: 4px 0; position: relative; transition: color .25s; }
  .bottom-nav i { font-size: 19px; transition: transform .3s; }
  .bottom-nav a.on, .bottom-nav a:hover, .bottom-nav button:hover { color: var(--primary); }
  .bottom-nav a.on i { transform: translateY(-2px); }
  .bottom-nav a.on::after { content: ''; position: absolute; top: -6px; width: 26px; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad-accent); }
  .bottom-nav .bn-main i { width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(122, 12, 79, .35); border: 4px solid #fff; font-size: 18px; }
  .bottom-nav .bn-main { color: var(--primary); }
  .to-top { bottom: 84px; right: 14px; width: 42px; height: 42px; }
  .with-sidebar { grid-template-columns: 1fr; }
  .side-card.sticky { position: static; }
  .contact-wrap { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .campus-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .ac-tabs { flex-direction: column; }
  .ac-tab-nav { flex-basis: auto; width: 100%; flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 6px; }
  .ac-tab-nav button { flex: none; max-width: 240px; }
  .vc-col.c2, .vc-col.c3 { flex-basis: 50%; }
  .vc-col.c4, .vc-col.c5, .vc-col.c6, .vc-col.c7, .vc-col.c8, .vc-col.c9, .vc-col.c10 { flex-basis: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .topbar-contact { gap: 12px; font-size: 12px; justify-content: center; }
  .topbar-contact a:nth-child(2) { display: none; }
  .home-intro { grid-template-columns: 1fr; }
  .hero { height: 58vh; min-height: 340px; }
  .hero-nav { display: none; }
  .slide-content h2 { font-size: 27px; }
  .content-card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .vc-col.c2, .vc-col.c3 { flex-basis: 100%; }
  .pdf-embed iframe { height: 480px; }
  .map-embed { aspect-ratio: 4/3; }
  .chip-scroller { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: thin; }
  .chip { flex: none; }
  .ticker-label { padding: 0 20px 0 12px; font-size: 12px; }
  .ticker-label span, .ticker-label { white-space: nowrap; }
  .card-grid, .album-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lb-prev, .lb-next { bottom: 20px; top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .mainnav, .ticker, .bottom-nav, .to-top, .site-footer, .sidebar { display: none !important; }
}

/* ---------- Library section (library/) ---------- */
.lib-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: center; background: linear-gradient(135deg, var(--soft), #fff); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 28px; }
.lib-intro h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.lib-intro-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lib-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lib-stats-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 16px 0 22px; }
.lib-stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; box-shadow: 0 4px 14px rgba(74, 7, 48, .05); }
.lib-stats strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--primary); line-height: 1.1; }
.lib-stats span { font-size: 13px; color: var(--muted); }
.lib-h { font-size: 21px; margin: 30px 0 14px; padding-left: 14px; border-left: 4px solid var(--accent); }
.lib-h small { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.lib-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 10px 0 18px; }
.lib-cards-sm { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.entry .lib-card { text-decoration: none; }
.lib-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 18px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.lib-card::after { content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 16px; top: 18px; color: var(--line); transition: all .3s; }
.lib-card i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--primary); font-size: 20px; margin-bottom: 8px; transition: all .3s; }
.lib-card strong { font-size: 15px; line-height: 1.35; padding-right: 18px; }
.lib-card span { font-size: 12.5px; color: var(--muted); }
.lib-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); color: var(--primary); }
.lib-card:hover i { background: var(--grad); color: var(--accent-2); transform: rotate(-6deg); }
.lib-card:hover::after { color: var(--accent); transform: translateX(3px); }
.lib-ill { border-left-color: var(--accent); margin-top: 10px; }
.lib-librarian { display: flex; gap: 20px; align-items: center; margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--grad); color: #fff; }
.lib-librarian h3 { color: #fff; margin-bottom: 2px; }
.lib-librarian p { margin: 0 0 6px; opacity: .9; font-size: 14px; }
.lib-librarian .eyebrow-dark { color: var(--accent-2); }
.lib-librarian .link-more { color: var(--accent-2); }
.lib-avatar { width: 86px; height: 86px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--primary-2)); color: #fff; font-family: var(--font-head); font-size: 28px; font-weight: 700; border: 4px solid rgba(255, 255, 255, .8); object-fit: cover; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.staff-card { text-align: center; padding: 26px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .3s, box-shadow .3s; }
.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.staff-card .lib-avatar { width: 120px; height: 120px; margin: 0 auto 14px; border-color: var(--soft); }
.staff-card h3 { font-size: 17px; margin-bottom: 4px; }
.staff-role { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.staff-card p { font-size: 13.5px; color: var(--muted); }
.lib-embed { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 14px 0 26px; }
.lib-embed iframe { width: 100%; height: 640px; border: 0; display: block; background: #fafafa; }
.lib-bp-head { text-align: center; padding: 22px; border-radius: var(--radius); background: var(--soft); margin-bottom: 10px; }
.lib-bp-head h2 { color: var(--primary); margin-bottom: 6px; }
.lib-bp-head p { margin: 0; color: var(--muted); }
.lib-timeline { position: relative; margin: 16px 0 26px; padding-left: 28px; }
.lib-timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--accent), var(--primary-2)); }
.lt-year { position: relative; margin-bottom: 22px; }
.lt-year::before { content: ''; position: absolute; left: -26px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.lt-year h3 { font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.lt-year ul { margin: 0; }
.lib-social { display: flex; justify-content: center; gap: 10px; padding: 16px 16px 4px; }
.lib-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--primary); font-size: 18px; transition: all .3s; }
.lib-social a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.lib-hours { text-align: center; font-size: 13.5px; color: var(--muted); padding: 6px 16px 16px; margin: 0; }
.side-card h3 i { color: var(--accent-2); margin-right: 4px; }
@media (max-width: 991px) {
  .lib-intro { grid-template-columns: 1fr; }
  .lib-librarian { flex-direction: column; text-align: center; }
  .lib-embed iframe { height: 520px; }
}
