/* ═══════════════════════════════════════════════════════════
   Kanyashree College – Main Stylesheet
   Author  : Infotech Lab
   Version : 1.0.0
   Updated : 2026
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════ */
:root {
  /* Primary – Deep Forest Green */
  --forest:      #1B5E3B;
  --forest-dk:   #0E3D26;
  --forest-lt:   #277A4E;
  --forest-xlt:  #EAF4EE;

  /* Accent – Warm Magenta / Rose */
  --rose:        #A0275A;
  --rose-lt:     #C23570;
  --rose-pale:   #FCF0F5;

  /* Gold for highlights */
  --gold:        #C49A1F;
  --gold-lt:     #E8BE4A;
  --gold-pale:   #FDF5DC;

  /* Neutrals */
  --cream:       #FAFAF6;
  --ivory:       #F3F1EA;
  --white:       #FFFFFF;
  --charcoal:    #1A1F1C;
  --slate:       #4E5A54;
  --mist:        #E8EDE9;

  /* Utility */
  --border:      rgba(27,94,59,0.13);
  --shadow-sm:   0 2px 14px rgba(27,94,59,0.08);
  --shadow-md:   0 6px 32px rgba(27,94,59,0.13);
}

/* ═══════════════════════════════════
   BASE RESET
═══════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

/* ═══════════════════════════════════
   TOP BAR
═══════════════════════════════════ */
.topbar {
  background: var(--forest-dk);
  color: rgba(255,255,255,0.80);
  font-size: 0.76rem;
  padding: 6px 0;
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-left { display:flex; align-items:center; flex-wrap:wrap; gap:2px; }
.topbar a {
  color: rgba(255,255,255,0.80);
  padding: 0 9px;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: color .15s;
  white-space: nowrap;
}
.topbar a:last-child { border-right:none; }
.topbar a:hover { color: var(--gold-lt); }
.topbar-right { display:flex; align-items:center; gap:8px; }
.tb-badge {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
}
.tb-badge.green  { background: var(--forest-lt); color:#fff; }
.tb-badge.rose   { background: var(--rose);       color:#fff; }
.tb-badge.gold   { background: var(--gold);        color:var(--forest-dk); }
.tb-social { display:flex; gap:6px; }
.tb-social a {
  width:26px; height:26px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:0.75rem; font-weight:700;
  padding:0; border:none;
  transition: transform .15s, opacity .15s;
  color:#fff;
}
.tb-social a:hover { transform:scale(1.15); opacity:0.88; }
.tb-social a[title="Facebook"]  { background:#1877F2; }
.tb-social a[title="YouTube"]   { background:#FF0000; }
.tb-social a[title="Twitter"]   { background:#000000; }

/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
header {
  background: var(--white);
  border-bottom: 4px solid var(--forest);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 992px) {
  header { position: static; }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.brand-crest {
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 2rem;
}
.brand-crest img { width:100%; height:100%; object-fit:contain; }
.brand-text .name-en {
  font-family: 'Cormorant Upright', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--forest-dk);
  line-height: 1.1;
  display: block;
  padding-bottom: 3px;
}
.brand-text .name-bn {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1.5625rem; /* 25px */
  color: var(--rose);
  display: block;
  margin-top: 1px;
  line-height: 1.3;
}
.brand-text .meta {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem; /* 12px */
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-top: 4px;
}

/* Header search */
.header-badges { display:flex; align-items:center; }
.header-search { display:flex; align-items:center; }
.gsearch-form {
  display: flex;
  align-items: center;
  border: 2px solid var(--gold);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  transition: background .2s, box-shadow .2s;
}
.gsearch-form:focus-within {
  background: rgba(255,255,255,0.13);
  box-shadow: 0 0 0 3px rgba(196,160,80,0.25);
}
.gsearch-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--charcoal);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 9px 14px;
  width: 200px;
}
.gsearch-input::placeholder { color: var(--slate); }
.gsearch-btn {
  background: var(--gold);
  border: none;
  cursor: pointer;
  padding: 0 13px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: background .2s;
  min-height: 38px;
}
.gsearch-btn:hover { background: var(--gold-lt); }

/* Accreditation badges */
.h-badge {
  text-align: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.35;
}
.h-badge strong { display:block; line-height:1; }
.h-badge.naac   { background: linear-gradient(135deg, var(--forest-dk), var(--forest-lt)); color:#fff; }
.h-badge.naac strong { font-size:1.4rem; font-family:'Cormorant Upright',serif; color:var(--gold-lt); }
.h-badge.ugc    { border:1.5px solid var(--border); color:var(--slate); }
.h-badge.ugc  strong { color:var(--forest-dk); font-size:0.9rem; }
.h-badge.women  { background: var(--rose-pale); border:1.5px solid rgba(160,39,90,0.22); color:var(--rose); }
.h-badge.women strong { font-size:0.85rem; color:var(--rose); }

/* ═══════════════════════════════════
   NAVIGATION
═══════════════════════════════════ */
nav {
  background: var(--forest);
  position: relative;
  z-index: 900;
  overflow: visible;
}
.nav-inner {
  display: flex;
  align-items: center;
  overflow: visible;
}

/* Top-level list */
#mainNav {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: visible;
  justify-content: space-between;
}
#mainNav > li {
  position: relative;
  flex-shrink: 1;
}

/* Top-level links */
#mainNav > li > a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 14px 10px;
  color: rgba(255,255,255,0.88);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s, background .2s;
  text-decoration: none;
}
#mainNav > li > a:hover,
#mainNav > li > a.active {
  color: var(--gold-lt);
  background: rgba(255,255,255,0.07);
}

/* Dropdown arrow */
.nav-arrow {
  font-size: 0.5rem;
  opacity: 0.65;
  transition: transform .2s;
  display: inline-block;
}
#mainNav > li:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
nav .container { overflow: visible; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--forest-dk);
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 36px rgba(0,0,0,0.30);
  z-index: 9999;
  list-style: none;
  margin: 0;
  padding: 0;
}
#mainNav > li:hover > .drop-menu {
  display: block;
}

/* Dropdown items */
.drop-menu > li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.drop-menu > li:last-child { border-bottom: none; }
.drop-menu > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: rgba(255,255,255,0.80);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.drop-menu > li > a::before {
  content: '›';
  color: var(--gold-lt);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.drop-menu > li > a:hover {
  color: var(--gold-lt);
  background: rgba(255,255,255,0.06);
}

/* ═══════════════════════════════════
   HAMBURGER BUTTON
═══════════════════════════════════ */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 12px 16px;
  margin-left: auto;
  flex-shrink: 0;
  line-height: 1;
}

/* ═══════════════════════════════════
   HERO BANNER
═══════════════════════════════════ */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--forest-dk);
}
.hero-bg {
  position: absolute; inset:0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 45%, rgba(39,122,78,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 15% 75%, rgba(160,39,90,0.18) 0%, transparent 50%),
    radial-gradient(ellipse 30% 40% at 50% 20%, rgba(196,154,31,0.10) 0%, transparent 45%),
    linear-gradient(150deg, #071a10 0%, #0e3d26 45%, #1b5e3b 100%);
}
.hero-bg::before {
  content:'';
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(60deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px),
    repeating-linear-gradient(-60deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px);
}
.hero-bg::after {
  content:'';
  position:absolute;
  right: -80px; top: -80px;
  width: 580px; height: 580px;
  border-radius: 50%;
  border: 55px solid rgba(196,154,31,0.07);
  pointer-events:none;
}
.hero-deco {
  position: absolute;
  right: 5%;
  bottom: -30px;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 22rem;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  max-width: 700px;
  height: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  width: fit-content;
}
.hero-eyebrow span {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content:'';
  display:inline-block;
  height:1px;
  width:28px;
  background: var(--gold-lt);
  opacity: 0.7;
}
.hero h1 {
  font-family: 'Cormorant Upright', Georgia, serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero h1 em { font-style:italic; color: var(--gold-lt); }
.hero-subtitle-bn {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 16px;
  margin-top: 4px;
}
.hero p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.73);
  line-height: 1.78;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-btns { display:flex; gap:14px; flex-wrap:wrap; }
.btn-primary {
  background: var(--rose);
  color: #fff;
  padding: 12px 28px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  display: inline-block;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--rose-lt); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 12px 28px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.40);
  border-radius: 3px;
  display: inline-block;
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color:#fff; color:#fff; }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 60px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.h-dot {
  height:4px; width:24px;
  border-radius:2px;
  background:rgba(255,255,255,0.28);
  border:none; cursor:pointer;
  transition:background .2s, width .25s;
}
.h-dot.active { background:var(--gold-lt); width:44px; }

/* ═══════════════════════════════════
   HERO CAROUSEL SLIDES
═══════════════════════════════════ */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,26,16,0.82) 0%,
    rgba(14,61,38,0.65) 50%,
    rgba(27,94,59,0.40) 100%
  );
  z-index: 0;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.30);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(4px);
  line-height: 1;
}
.hero-arrow:hover { background: rgba(255,255,255,0.28); border-color: #fff; }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-dots { z-index: 10; }

/* ═══════════════════════════════════
   NEWS TICKER
═══════════════════════════════════ */
.ticker {
  background: var(--gold-pale);
  border-bottom: 1px solid rgba(196,154,31,0.28);
  padding: 9px 0;
  overflow: hidden;
}
.ticker-wrap { display:flex; align-items:center; }
.ticker-label {
  background: var(--forest);
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track { overflow:hidden; flex:1; padding-left:20px; }
.ticker-items {
  display:flex; gap:64px;
  white-space:nowrap;
  animation: tickRun 38s linear infinite;
}
.ticker-items:hover { animation-play-state:paused; }
@keyframes tickRun {
  0%   { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}
.t-item {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 0.8rem;
  color: var(--forest-dk);
  cursor:pointer;
}
.t-item::before { content:'◆'; color:var(--forest); font-size:0.42rem; }
.t-item a { color:inherit; text-decoration:none; }
.t-item a:hover { color:var(--rose); text-decoration:underline; }
.t-new {
  background: var(--rose);
  color: #fff;
  font-size: 0.58rem;
  font-weight:700;
  letter-spacing:0.07em;
  padding: 1px 5px;
  border-radius: 2px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ═══════════════════════════════════
   STATS BAR
═══════════════════════════════════ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
}
.stat-item {
  padding: 22px 12px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right:none; }
.stat-item::after {
  content:'';
  position:absolute;
  bottom:0; left:50%;
  transform:translateX(-50%) scaleX(0);
  width:32px; height:2px;
  background: var(--forest);
  border-radius:1px;
  transition: transform .3s;
}
.stat-item:hover::after { transform:translateX(-50%) scaleX(1); }
.stat-num {
  font-family: 'Cormorant Upright', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--forest-dk);
  display: block;
  line-height: 1;
}
.stat-lbl {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--slate);
  margin-top: 5px;
  display: block;
}

/* ═══════════════════════════════════
   SECTION LABELS
═══════════════════════════════════ */
.sec-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.sec-label::after {
  content:'';
  flex:1;
  height:1px;
  background: var(--forest);
  max-width:60px;
  opacity:0.5;
}
.sec-title {
  font-family: 'Cormorant Upright', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest-dk);
  line-height: 1.2;
  margin-bottom: 10px;
}
.sec-desc {
  color: var(--slate);
  font-size: 0.93rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ═══════════════════════════════════
   MAIN SECTION (Notices + Sidebar)
═══════════════════════════════════ */
.main-section { padding:58px 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 36px;
  align-items: stretch;
}
.content-grid > div { display: flex; flex-direction: column; }
.content-grid > aside { display: flex; flex-direction: column; }

/* ── NOTICE BOARD ── */
.notice-board {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--forest);
}
.nb-header {
  background: var(--forest);
  color: #fff;
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nb-header h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
}
.nb-header a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  color: var(--gold-lt);
  letter-spacing: 0.08em;
  transition: color .15s;
}
.nb-header a:hover { color:#fff; }
.nb-list { max-height:340px; overflow-y:auto; }
.nb-list::-webkit-scrollbar { width:3px; }
.nb-list::-webkit-scrollbar-track { background:var(--ivory); }
.nb-list::-webkit-scrollbar-thumb { background:var(--forest); border-radius:2px; }
.nb-item {
  display:flex; gap:14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
  cursor: pointer;
}
.nb-item:hover { background:var(--forest-xlt); }
.nb-item:last-child { border-bottom:none; }
.nb-date {
  flex-shrink:0;
  text-align:center;
  background: var(--ivory);
  border-left: 2px solid var(--gold);
  padding: 5px 9px;
  min-width:48px;
}
.nb-date .day {
  font-family: 'Cormorant Upright', serif;
  font-size: 1.35rem;
  font-weight:700;
  color: var(--forest-dk);
  display:block;
  line-height:1;
}
.nb-date .mon {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  color: var(--slate);
  text-transform:uppercase;
  letter-spacing:0.05em;
}
.nb-cat {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--forest-lt);
  display: block;
  margin-bottom: 3px;
}
.nb-title {
  font-size: 0.86rem;
  color: var(--charcoal);
  line-height: 1.45;
}
.nb-title:hover { color: var(--forest-dk); }

/* ── DEPARTMENTS SECTION ── */
.dept-section { margin-top: 46px; }
.dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.dept-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all .28s ease;
  box-shadow: var(--shadow-sm);
}
.dept-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.dept-card::before {
  content: '';
  display: block;
  height: 5px;
  width: 100%;
}
.dept-card.card-geo::before  { background: linear-gradient(90deg, var(--forest-dk), var(--forest-lt)); }
.dept-card.card-bca::before  { background: linear-gradient(90deg, var(--rose), #7a1040); }
.dept-card-inner { padding: 16px 18px 14px; flex: 1; }
.dept-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.dept-card.card-geo .dept-icon { background: var(--forest-xlt); }
.dept-card.card-bca .dept-icon { background: var(--rose-pale); }
.dept-faculty-tag {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 7px;
}
.tag-arts     { background: var(--rose-pale);  color: var(--rose); }
.tag-science  { background: var(--forest-xlt); color: var(--forest-dk); }
.tag-commerce { background: var(--gold-pale);  color: var(--forest-dk); }
.tag-tech     { background: #eef0fc;           color: #3b4ab0; }
.dept-name {
  font-family: 'Cormorant Upright', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest-dk);
  line-height: 1.2;
  margin-bottom: 3px;
}
.dept-degree {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  color: var(--slate);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.dept-desc {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dept-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.dept-highlights li {
  font-size: 0.74rem;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.dept-highlights li::before {
  content: '✓';
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}
.dept-card.card-geo .dept-highlights li::before { color: var(--forest); }
.dept-card.card-bca .dept-highlights li::before { color: var(--rose); }
.dept-link {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid;
  transition: gap .2s;
}
.dept-card.card-geo .dept-link { color: var(--forest);  border-color: var(--forest); }
.dept-card.card-bca .dept-link { color: var(--rose);    border-color: var(--rose); }
.dept-card:hover .dept-link { gap: 8px; }
.dept-divider {
  height: 1px;
  background: var(--border);
  margin: 0 18px 14px;
}
.dept-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
}
.dept-stat {
  flex: 1;
  text-align: center;
  padding: 9px 6px;
  border-right: 1px solid var(--border);
}
.dept-stat:last-child { border-right: none; }
.dept-stat-num {
  font-family: 'Cormorant Upright', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest-dk);
  display: block;
  line-height: 1;
}
.dept-card.card-bca .dept-stat-num { color: var(--rose); }
.dept-stat-lbl {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-top: 3px;
  display: block;
}

/* ── NOTICES DOUBLE COLUMN ── */
.notices-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 6px;
}

/* ═══════════════════════════════════
   SIDEBAR
═══════════════════════════════════ */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--rose);
  margin-bottom: 22px;
}
.sw-header {
  background: var(--ivory);
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--forest-dk);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-widget.cal-widget .sw-body { padding: 10px 12px; }
.sidebar-widget.cal-widget .mini-cal th,
.sidebar-widget.cal-widget .mini-cal td {
  padding: 4px 2px;
  font-size: 0.72rem;
}
.sidebar-widget.cal-widget .cal-nav-row { padding: 6px 0; }
.sidebar-widget.cal-widget .cal-legend { margin-top: 6px; font-size: 0.68rem; }
.sidebar-widget.qa-widget {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.sidebar-widget.qa-widget .sw-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 12px;
}
.sidebar-widget.qa-widget .ql-item {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 4px;
}

/* Mini calendar */
.cal-nav-row {
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:10px;
}
.cal-nav-row span {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.82rem; font-weight:700;
  color:var(--forest-dk); letter-spacing:0.05em;
}
.cal-btn {
  background:none;
  border:1px solid var(--border);
  color:var(--forest);
  width:22px; height:22px;
  cursor:pointer; font-size:0.7rem;
  display:flex; align-items:center; justify-content:center;
  border-radius:2px;
}
.mini-cal { width:100%; border-collapse:collapse; }
.mini-cal th {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.62rem; text-transform:uppercase;
  letter-spacing:0.07em; color:var(--slate);
  padding:5px 3px; text-align:center;
}
.mini-cal td {
  text-align:center; padding:5px 3px;
  font-size:0.78rem; color:var(--charcoal);
  cursor:pointer; border-radius:3px;
  transition: background .12s;
}
.mini-cal td:hover { background:var(--forest-xlt); }
.mini-cal td.today { background:var(--forest); color:#fff; font-weight:700; border-radius:3px; }
.mini-cal td.evt   { color:var(--rose); font-weight:700; }
.mini-cal td.hday  { color:var(--gold); }
.cal-legend {
  margin-top:9px;
  display:flex; gap:12px;
  font-family:'Josefin Sans',sans-serif;
  font-size:0.68rem; color:var(--slate);
}
.cal-legend span { display:flex; align-items:center; gap:4px; }

/* Quick links */
.ql-item {
  display:flex; align-items:center; gap:10px;
  padding:9px 0;
  border-bottom:1px solid var(--border);
  text-decoration:none;
  color:var(--charcoal);
  font-size:0.82rem;
  transition:color .15s;
}
.ql-item:last-child { border-bottom:none; }
.ql-item:hover { color:var(--forest-dk); }
.ql-icon {
  width:30px; height:30px;
  background:var(--forest-xlt);
  border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  font-size:0.88rem; flex-shrink:0;
  transition:background .15s;
}
.ql-item:hover .ql-icon { background:var(--forest); }

/* ═══════════════════════════════════
   PRINCIPAL'S MESSAGE
═══════════════════════════════════ */
.principal-sec {
  background: linear-gradient(135deg, var(--forest-dk) 0%, #0a2a18 50%, var(--forest) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.principal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
}
.p-photo-wrap {
  position: relative;
  text-align: center;
}
.p-photo-frame {
  position: relative;
  display: inline-block;
}
.p-photo-frame img {
  width: 200px; height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  position: relative;
  z-index: 1;
}
.p-nameplate {
  position:relative;
  background:var(--gold);
  padding:5px 10px;
  text-align:center;
  margin-top:0;
}
.p-nameplate .p-name {
  font-family:'Cormorant Upright',serif;
  font-size:0.98rem; font-weight:700;
  color:var(--forest-dk); display:block;
}
.p-nameplate .p-title {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.62rem; text-transform:uppercase;
  letter-spacing:0.1em; color:var(--forest-dk);
}
.p-msg .p-eyebrow {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.68rem; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--gold-lt);
  margin-bottom:10px;
}
.p-msg h2 {
  font-family:'Cormorant Upright',serif;
  font-size:2.2rem; color:#fff;
  font-weight:700; margin-bottom:18px;
  line-height:1.18;
}
.p-msg blockquote {
  font-family:'Cormorant Upright',serif;
  font-size:1.08rem; font-style:italic;
  color:rgba(255,255,255,0.88);
  line-height:1.7;
  border-left:4px solid var(--gold);
  padding-left:20px;
  margin:0 0 18px 0;
}
.p-msg p {
  font-size:0.88rem;
  color:rgba(255,255,255,0.78);
  line-height:1.75; margin-bottom:14px;
}
.p-msg .btn-primary {
  display:inline-block;
  background:var(--rose);
  color:#fff;
  font-family:'Josefin Sans',sans-serif;
  font-size:0.72rem;
  letter-spacing:0.15em;
  text-transform:uppercase;
  font-weight:700;
  padding:14px 28px;
  border:none;
  text-decoration:none;
  margin-top:6px;
}

/* ═══════════════════════════════════
   EVENTS & GALLERY
═══════════════════════════════════ */
.eg-sec { padding:56px 0; background:#fff; }
.eg-split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:start;
}
.eg-col-head {
  display:flex; align-items:center; gap:10px;
  margin-bottom:16px;
  padding-bottom:12px;
  border-bottom:2px solid var(--border);
}
.eg-col-head-icon {
  width:30px; height:30px;
  border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  font-size:0.85rem; flex-shrink:0;
}
.eg-events-col .eg-col-head-icon { background:var(--forest-xlt); color:var(--forest-dk); }
.eg-gallery-col .eg-col-head-icon { background:var(--rose-pale); color:var(--rose); }
.eg-col-title {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.72rem; font-weight:700;
  letter-spacing:0.18em; text-transform:uppercase;
  color:var(--forest-dk);
}
.eg-col-head-line {
  margin-left:auto;
  font-family:'Josefin Sans',sans-serif;
  font-size:0.68rem; font-weight:700;
  letter-spacing:0.12em; text-transform:uppercase;
  color:var(--rose); text-decoration:none;
  white-space:nowrap;
  transition:opacity .2s;
}
.eg-col-head-line:hover { opacity:0.7; }

/* Events list */
.event-list {
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:370px;
  overflow-y:scroll;
  padding-right:6px;
  scrollbar-width:thin;
  scrollbar-color:var(--forest-lt) var(--forest-xlt);
}
.event-list::-webkit-scrollbar { width:4px; }
.event-list::-webkit-scrollbar-track { background:var(--forest-xlt); border-radius:4px; }
.event-list::-webkit-scrollbar-thumb { background:var(--forest-lt); border-radius:4px; }
.event-list::-webkit-scrollbar-thumb:hover { background:var(--forest-dk); }
.event-card {
  background:var(--white);
  border:1px solid var(--border);
  overflow:hidden; display:flex;
  text-decoration:none; color:inherit;
  transition:all .22s; border-radius:3px;
  flex-shrink:0;
}
.event-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.event-thumb {
  width:82px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:1.8rem; position:relative;
}
.event-badge {
  position:absolute; top:6px; left:50%; transform:translateX(-50%);
  font-family:'Josefin Sans',sans-serif;
  font-size:0.52rem; font-weight:700;
  letter-spacing:0.06em; text-transform:uppercase;
  padding:2px 7px; white-space:nowrap;
}
.badge-upcoming { background:var(--rose); color:#fff; }
.badge-ongoing  { background:var(--forest); color:#fff; }
.badge-past     { background:var(--slate); color:#fff; }
.event-body { padding:12px 14px; flex:1; }
.event-date-tag {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.62rem; font-weight:700;
  color:var(--forest); letter-spacing:0.07em;
  text-transform:uppercase; margin-bottom:3px;
}
.event-title {
  font-family:'Cormorant Upright',serif;
  font-size:0.98rem; font-weight:700;
  color:var(--forest-dk); line-height:1.3; margin-bottom:4px;
}
.event-desc { font-size:0.76rem; color:var(--slate); line-height:1.5; }

/* Gallery 2×2 */
.eg-gallery-col { display:flex; flex-direction:column; }
.gallery-box {
  border:1px solid var(--border);
  border-radius:4px;
  overflow:hidden;
  background:var(--ivory);
  flex:1;
}
.gallery-grid-2x2 {
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:4px;
  padding:4px;
  background:var(--border);
  height:370px;
}
.g2-item {
  position:relative; overflow:hidden;
  cursor:pointer; background:var(--ivory);
}
.g2-item img {
  width:100%; height:100%;
  object-fit:cover; display:block;
  transition:transform .38s ease;
}
.g2-item:hover img { transform:scale(1.07); }
.g2-fallback {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.8rem;
  transition:transform .38s ease;
}
.g2-item:hover .g2-fallback { transform:scale(1.07); }
.g2-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(14,61,38,0.78) 0%, transparent 55%);
  opacity:0; transition:opacity .28s;
  display:flex; align-items:flex-end; padding:10px;
}
.g2-item:hover .g2-overlay { opacity:1; }
.g2-caption {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.62rem; font-weight:700;
  letter-spacing:0.1em; text-transform:uppercase; color:#fff;
}

/* ═══════════════════════════════════
   RANKINGS / RECOGNITION
═══════════════════════════════════ */
.rankings-sec {
  background: var(--ivory);
  padding: 48px 0 36px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.logo-ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0;
}
.logo-ticker-wrap::before,
.logo-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--ivory), transparent);
}
.logo-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--ivory), transparent);
}
@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}
.logo-ticker-track:hover { animation-play-state: paused; }
.logo-ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-ticker-item:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}
.logo-strip-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}
.logo-ticker-item:hover .logo-strip-img { filter: grayscale(0%); }
.logo-img-card {
  background: #fff;
  border: 1.5px solid #e2e6ea;
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 180px;
  max-width: 220px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.logo-img-card::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0s;
  pointer-events: none;
  z-index: 1;
}
.logo-img-card:hover::before { left: 150%; transition: left 0.55s ease; }
.logo-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf5 0%, #fff8e1 100%);
}
.logo-img-card .logo-strip-img {
  height: 44px;
  width: 44px;
  max-width: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.35s ease, transform 0.35s ease;
  position: relative;
  z-index: 2;
}
.logo-img-card:hover .logo-strip-img {
  filter: grayscale(0%);
  transform: scale(1.08);
}
.logo-card-name {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-align: left;
  line-height: 1.4;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}
.logo-img-card:hover .logo-card-name { color: var(--forest-dk); }

/* ═══════════════════════════════════
   VISION & MISSION
═══════════════════════════════════ */
.vm-section {
  padding: 36px 0;
  position: relative;
  overflow: hidden;
  background-color: #f4efe8;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a07840' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #f7f0e6 0%, #fdf4ec 100%);
}
.vm-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(196,154,31,0.09) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(160,39,90,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.vm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}
.vm-card {
  padding: 16px 24px;
  position: relative;
  background: rgba(255,255,255,0.82);
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}
.vm-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 4px;
}
.vm-card:first-child .vm-icon-wrap {
  background: rgba(160,39,90,0.10);
  border: 1.5px solid rgba(160,39,90,0.25);
}
.vm-card:last-child .vm-icon-wrap {
  background: rgba(196,154,31,0.10);
  border: 1.5px solid rgba(196,154,31,0.35);
}
.vm-body { flex: 1; display: flex; flex-direction: column; }
.vm-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}
.vm-card:first-child .vm-label { color: var(--rose); }
.vm-card:last-child .vm-label  { color: var(--gold); }
.vm-title {
  font-family: 'Cormorant Upright', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--forest-dk);
  margin-bottom: 8px;
  line-height: 1.2;
}
.vm-divider {
  width: 36px; height: 2.5px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.vm-card:first-child .vm-divider { background: var(--rose); }
.vm-card:last-child .vm-divider  { background: var(--gold); }
.vm-text {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.75;
  font-family: Georgia, serif;
  font-style: italic;
  margin: 0;
}
.vm-list {
  list-style: none;
  padding: 0; margin: 0;
  flex: 1;
}
.vm-list li {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.75;
  font-family: Georgia, serif;
  font-style: italic;
  padding-left: 1.3em;
  position: relative;
  margin-bottom: 5px;
}
.vm-list li::before {
  content: "›";
  position: absolute; left: 0;
  font-style: normal; font-weight: 700;
  color: var(--gold);
}
.vm-card:first-child .vm-list li::before { color: var(--rose); }

/* Vision & Mission single-box layout */
.vm-single-box {
  background: rgba(255,255,255,0.88);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  overflow: hidden;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  min-height: 380px;
}
.vm-image-panel {
  width: 320px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.vm-image {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.vm-single-box:hover .vm-image { transform: scale(1.04); }
.vm-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(160,39,90,0.55) 0%, rgba(196,154,31,0.45) 100%);
  display: flex; align-items: flex-end;
  padding: 24px;
}
.vm-overlay-text {
  font-family: 'Cormorant Upright', serif;
  font-size: 1.8rem; font-weight: 700;
  color: #fff; line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.vm-content-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.vm-block { padding: 24px 30px; flex: 1; }
.vm-block-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 4px;
}
.vm-btn-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.vm-readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  text-decoration: none;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease, box-shadow 0.35s ease;
}
.vm-readmore-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.vm-readmore-btn:hover::before { transform: scaleX(1); }
.vm-readmore-btn:hover {
  color: #fff;
  box-shadow: 0 4px 16px rgba(196,154,31,0.30);
}
.vm-readmore-btn span,
.vm-readmore-btn .vm-btn-arrow { position: relative; z-index: 1; }
.vm-btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.vm-readmore-btn:hover .vm-btn-arrow { transform: translateX(5px); }
.vm-separator {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.10), transparent);
  margin: 0 24px;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
footer {
  background: var(--forest-dk);
  color: rgba(255,255,255,0.72);
  padding: 58px 0 0;
}
.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
  margin-bottom:40px;
}
.footer-brand-name {
  font-family:'Cormorant Upright',serif;
  font-size:1.3rem; font-weight:700;
  color:#fff; display:block; margin-bottom:3px;
}
.footer-brand-bn {
  font-family:'Noto Serif Bengali',serif;
  font-size:0.88rem; color:var(--gold-lt);
  display:block; margin-bottom:12px;
}
.footer-brand p {
  font-size:0.83rem; line-height:1.72;
  color:rgba(255,255,255,0.56);
  margin-bottom:16px;
}
.f-contact-item {
  display:flex; gap:9px;
  font-size:0.82rem;
  color:rgba(255,255,255,0.62);
  line-height:1.5;
  margin-bottom:9px;
}
.f-contact-item .icon { color:var(--gold-lt); flex-shrink:0; }
.footer-col h4 {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.74rem; letter-spacing:0.16em;
  text-transform:uppercase; font-weight:700;
  color:var(--gold-lt);
  margin-bottom:16px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(196,154,31,0.25);
}
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:9px; }
.footer-col ul li a {
  color:rgba(255,255,255,0.60);
  font-size:0.83rem;
  display:flex; align-items:center; gap:6px;
  transition:color .15s;
}
.footer-col ul li a::before { content:'›'; color:var(--forest-lt); }
.footer-col ul li a:hover { color:#fff; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.10);
  padding:16px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.footer-bottom p {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.82rem; color:var(--gold);
  letter-spacing:0.04em;
}
.footer-bottom-links { display:flex; gap:18px; }
.footer-bottom-links a {
  font-family:'Josefin Sans',sans-serif;
  font-size:0.7rem; color:var(--gold);
  text-decoration:none; letter-spacing:0.05em;
  text-transform:uppercase; transition:color .15s;
}
.footer-bottom-links a:hover { color:var(--gold-lt); }

/* ═══════════════════════════════════
   ANIMATIONS
═══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-up { animation: fadeUp .55s ease forwards; }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */

/* ── 1040px: Tablet landscape ── */
@media (max-width:1040px) {
  .tiles-grid          { grid-template-columns:repeat(3,1fr); }
  .dept-grid           { grid-template-columns:repeat(2,1fr); }
  .rank-grid           { grid-template-columns:repeat(2,1fr); }
  .footer-grid         { grid-template-columns:1fr 1fr; }
  .stats-grid          { grid-template-columns:repeat(3,1fr); }
  .brand-text .name-en { font-size:1.6rem; }
  #mainNav > li > a    { padding:12px 8px; font-size:0.66rem; letter-spacing:0.06em; }
}

/* ── 992px: events/gallery ── */
@media(max-width:992px) {
  .eg-split            { grid-template-columns:1fr; gap:36px; }
  .gallery-grid-2x2    { height:340px; }
  .event-list {
    max-height:320px; height:320px;
    overflow-y:scroll !important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:var(--forest-lt) var(--forest-xlt);
    border:1px solid var(--border);
    border-radius:4px;
    padding:6px;
  }
  .event-list::-webkit-scrollbar { width:5px; display:block; }
  .event-list::-webkit-scrollbar-track { background:var(--forest-xlt); border-radius:4px; }
  .event-list::-webkit-scrollbar-thumb { background:var(--forest-lt); border-radius:4px; }
}

/* ── 900px: Vision/Mission ── */
@media (max-width:900px) {
  .vm-single-box       { flex-direction:column; }
  .vm-image-panel      { width:100%; height:200px; }
}

/* ── 800px: Tablet portrait / large phone ── */
@media (max-width:800px) {
  .topbar-inner        { flex-direction:column; align-items:flex-start; gap:4px; }
  .topbar-right        { width:100%; flex-wrap:wrap; gap:6px; }
  .topbar-left         { flex-wrap:wrap; }
  .topbar a            { font-size:0.72rem; padding:0 6px; }

  .header-inner        { flex-wrap:wrap; gap:12px; }
  .brand-crest         { width:72px; height:72px; }
  .brand-text .name-en { font-size:1.4rem; }
  .brand-text .name-bn { font-size:1rem; }
  .header-badges       { width:100%; justify-content:flex-start; flex-wrap:wrap; gap:6px; }
  .gsearch-input       { width:150px; font-size:0.72rem; }

  .hamburger           { display:flex; align-items:center; justify-content:center; }
  .nav-inner           { flex-wrap:wrap; }
  #mainNav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--forest-dk);
  }
  #mainNav.open        { display:flex; }
  #mainNav > li        { border-bottom:1px solid rgba(255,255,255,0.07); }
  #mainNav > li > a    { padding:13px 18px; font-size:0.82rem; white-space:normal; width:100%; }
  .drop-menu {
    position: static;
    display: none;
    background: rgba(0,0,0,0.25);
    box-shadow: none;
    border-top: none;
    min-width: 0; width: 100%;
    max-height: none;
  }
  #mainNav > li.open-drop > .drop-menu { display:block; }
  .drop-menu > li > a  { padding:10px 28px; }
  .nav-arrow           { float:right; }

  .content-grid        { grid-template-columns:1fr; }
  .notices-pair        { grid-template-columns:1fr; }
  .principal-grid      { grid-template-columns:1fr; }
  .p-photo-wrap        { max-width:220px; margin:0 auto; }
  .events-grid         { grid-template-columns:1fr 1fr; }
  .tiles-grid          { grid-template-columns:repeat(3,1fr); }

  .hero                { height:auto; min-height:420px; }
  .hero-content        { padding:36px 28px; max-width:100%; }
  .hero h1             { font-size:2.4rem; }
  .hero-arrow          { width:36px; height:36px; font-size:1rem; }
  .stats-grid          { grid-template-columns:repeat(3,1fr); }
}

/* ── 768px: Vision/Mission ── */
@media (max-width:768px) {
  .vm-block            { padding:18px 20px; }
  .vm-title            { font-size:1.3rem; }
}

/* ── 600px: small phone events ── */
@media(max-width:600px) {
  .event-thumb         { width:70px; }
  .event-list          { max-height:280px; height:280px; overflow-y:scroll !important; -webkit-overflow-scrolling:touch; }
}

/* ── 520px: Small phones ── */
@media (max-width:520px) {
  .topbar-right .tb-badge { font-size:0.6rem; padding:3px 7px; }

  .brand-crest         { width:58px; height:58px; }
  .brand-text .name-en { font-size:1.2rem; }
  .brand-text .name-bn { font-size:0.88rem; }
  .brand-text .meta    { font-size:0.6rem; }
  .header-badges       { gap:4px; }
  .h-badge             { padding:6px 8px; font-size:0.6rem; }
  .h-badge.naac strong { font-size:1.1rem; }

  .tiles-grid          { grid-template-columns:repeat(2,1fr); }
  .events-grid         { grid-template-columns:1fr; }
  .dept-grid           { grid-template-columns:1fr; }
  .stats-grid          { grid-template-columns:repeat(2,1fr); }
  .footer-grid         { grid-template-columns:1fr; }
  .rank-grid           { grid-template-columns:1fr 1fr; }

  .hero                { min-height:360px; }
  .hero h1             { font-size:1.85rem; }
  .hero-content        { padding:24px 18px; }
  .hero-btns           { flex-direction:column; gap:10px; }
  .btn-primary,
  .btn-secondary       { width:100%; text-align:center; }
  .hero-arrow          { display:none; }

  .sec-title           { font-size:1.6rem; }
  .p-msg h2            { font-size:1.6rem; }
  .footer-bottom       { flex-direction:column; align-items:flex-start; gap:8px; }
  .footer-bottom-links { flex-wrap:wrap; gap:10px; }
}


/* ═══════════════════════════════════
   Content
═══════════════════════════════════ */
:root {
  --forest:     #277A4E;
  --forest-xlt: #EAF4EE;
  --rose:       #A0275A;
  --rose-lt:    #C23570;
}
 
/* ── Wrapper & Layout ── */
.content-wrapper {
  padding: 40px 0;
  background: #f5f5f5;
}
 
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
 
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
 
.col-md-3 {
  flex: 0 0 calc(25% - 12px);
  max-width: calc(25% - 12px);
}
 
.col-md-9 {
  flex: 0 0 calc(75% - 12px);
  max-width: calc(75% - 12px);
}
 
/* ── Left Sidebar Menu ── */
.left-menu-area {
  background: #ffffff;
  border: 1px solid #d8eade;
  border-radius: 8px;
  overflow: hidden;
}
 
.left-menu-area h2 {
  background: var(--forest);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  letter-spacing: 0.3px;
  margin: 0;
}
 
.left-menu-area ul {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
 
.left-menu-area ul li a {
  display: block;
  padding: 9px 16px;
  font-size: 13.5px;
  color: #444444;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
 
.left-menu-area ul li a:hover {
  color: var(--forest);
  background: var(--forest-xlt);
  border-left-color: var(--forest);
}
 
.left-menu-area ul li.active-menu a {
  color: var(--forest);
  font-weight: 600;
  background: var(--forest-xlt);
  border-left-color: var(--forest);
}
 
/* ── Right Content Area ── */
.right-content-area {
  background: #ffffff;
  border: 1px solid #e8d0d8;
  border-radius: 8px;
  padding: 28px 32px;
}
 
.right-content-area h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--rose);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rose-lt);
}
 
.right-content-area p {
  font-size: 14.5px;
  color: #555555;
  line-height: 1.75;
  margin-bottom: 12px;
}
 
.right-content-area p:last-child {
  margin-bottom: 0;
}
 
.right-content-area h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--forest);
  margin: 18px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
 
 
/* ── Mobile Responsive ── */
@media (max-width: 768px) {
  .col-md-3,
  .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }
 
  .right-content-area {
    padding: 20px;
  }
}

/* Faculty Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

table thead tr {
  background-color: var(--rose);
  color: #ffffff;
}

table thead th {
  padding: 12px 10px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1px solid var(--rose-lt);
}

table thead th span {
  text-decoration: none !important;
}

table tbody tr {
  background-color: #ffffff;
  transition: background 0.2s;
}

table tbody tr:nth-child(even) {
  background-color: var(--forest-xlt);
}

table tbody tr:hover {
  background-color: #d4eddf;
}

table tbody td {
  padding: 10px;
  text-align: center;
  border: 1px solid #c8e6d4;
  color: #222;
}

table tbody td span {
  text-decoration: none !important;
}

@media (max-width: 767px) {

  .right-content-area table,
  .right-content-area thead,
  .right-content-area tbody,
  .right-content-area tr {
    display: block !important;
    width: 100% !important;
  }

  .right-content-area thead {
    display: none !important;
  }

  .right-content-area tbody tr {
    margin-bottom: 14px !important;
    border: 1px solid #c8c8c8 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
  }

  .right-content-area tbody tr:nth-child(even) {
    background: #eaf4ee !important;
  }

  .right-content-area tbody td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 9px 14px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-size: 13px !important;
    white-space: normal !important;
    text-align: right !important;
    background: transparent !important;
  }

  .right-content-area tbody td:last-child {
    border-bottom: none !important;
  }

  .right-content-area tbody td::before {
    font-weight: 700 !important;
    color: #A0275A !important;
    min-width: 140px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: left !important;
    flex-shrink: 0 !important;
    content: "" !important;
  }

  .right-content-area tbody td:nth-child(1)::before { content: "Serial No" !important; }
  .right-content-area tbody td:nth-child(2)::before { content: "Name" !important; }
  .right-content-area tbody td:nth-child(3)::before { content: "Designation" !important; }
  .right-content-area tbody td:nth-child(4)::before { content: "Subject" !important; }
  .right-content-area tbody td:nth-child(5)::before { content: "Highest Qualification" !important; }

  /* Header row color — Serial No row background */
  .right-content-area tbody td:nth-child(1) {
    background: #A0275A !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    justify-content: center !important;
  }

  .right-content-area tbody td:nth-child(1)::before {
    display: none !important;
  }

}





.principal-img-area {
    float: left;
    width: 170px;
    margin: 0 24px 16px 0;
    text-align: center;
}
.principal-img-area img {
    width: 150px;
    height: 180px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    border: 4px solid #fff;
    box-shadow: 0 6px 24px rgba(14,61,38,0.22), 0 0 0 2px var(--forest-lt);
    display: block;
    margin: 0 auto 8px;
}
.principal-img-area p {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: var(--forest-dk) !important;
    background: var(--forest-xlt);
    border: 1px solid #b6d9c4;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 0 auto !important;
    line-height: 1.4 !important;
    text-align: center;
    width: fit-content;
    max-width: 150px;
}


/* ── Pull Quote ── */
.principal-pullquote {
    background: linear-gradient(105deg, var(--forest-xlt) 0%, #ddf0e5 100%);
    border-left: 4px solid var(--forest-lt);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px 16px 22px;
    margin: 24px 0 8px;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.02rem;
    color: var(--forest-dk);
    line-height: 1.65;
    position: relative;
    clear: both;
}
.principal-pullquote::before {
    content: '\201C';
    font-size: 3.5rem;
    color: rgba(39,122,78,0.28);
    font-family: Georgia, serif;
    position: absolute;
    top: -6px; left: 10px;
    line-height: 1;
}
.principal-pullquote cite {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-family: 'Lato', 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    color: var(--rose);
    font-weight: 600;
    letter-spacing: 0.3px;
}
.cf > p:nth-last-child(3),
.cf > p:nth-last-child(2),
.cf > p:nth-last-child(1) {
    margin: 0 0 2px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    text-align: left !important;
}

.cf > p:nth-last-child(3) strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--forest-dk);
    display: inline-block;
    border-bottom: 2px solid var(--forest-lt);
    padding-bottom: 2px;
    margin-bottom: 4px;
}

.cf > p:nth-last-child(2) {
    font-size: 0.88rem !important;
    color: #555 !important;
    font-weight: 400 !important;
}

.cf > p:nth-last-child(1) {
    font-size: 0.88rem !important;
    color: var(--rose) !important;
    font-weight: 600 !important;
}
/* Clearfix after float */
.cf::after { content: ''; display: table; clear: both; }

/* ── Inner Page Responsive Adjustments ── */
@media (max-width: 767px) {
    .right-content-area {
        padding: 22px 18px 26px;
    }
    .principal-img-area {
        float: none;
        width: auto;
        margin: 0 0 20px 0;
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .principal-img-area img {
        width: 90px;
        height: 108px;
        flex-shrink: 0;
    }
    .principal-img-area p {
        text-align: left;
        flex: 1;
    }
    .left-menu-area {
        position: static;
        margin-bottom: 24px;
    }
}
.full-container {
    text-align: center;
    padding: 70px 30px;
    background: linear-gradient(135deg, var(--forest-xlt) 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #b6d9c4;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.full-container::before {
    content: '';
    position: absolute;
    top: -40px; left: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(39,122,78,0.07);
}

.full-container::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(160,39,90,0.06);
}

.full-container h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--forest-dk);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.full-container h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--forest-lt), var(--rose));
    border-radius: 2px;
    margin: 8px auto 0;
}

.full-container p {
    font-size: 1rem;
    color: #777;
    font-style: italic;
    letter-spacing: 1px;
    position: relative;
}


.aff2-intro { font-size: 15px; color: #555; line-height: 1.7; text-align: center; margin-bottom: 1.4rem; }
.aff2-header { text-align: center; margin-bottom: 1rem; }
.aff2-header span { font-size: 11px; font-weight: 600; color: #888; letter-spacing: 0.07em; text-transform: uppercase; }
.aff2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aff2-card { border: 1px solid #e0e0e0; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.aff2-card-top { padding: 18px 18px 14px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #f0f0f0; background: #fafbfc; }
.aff2-logo { width: 56px; height: 56px; border-radius: 10px; background: #fff; border: 1px solid #e8e8e8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aff2-logo img { width: 44px; height: 44px; object-fit: contain; }
.aff2-univ { font-size: 13px; font-weight: 600; color: #1a1a2e; line-height: 1.4; }
.aff2-card-body { padding: 14px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.aff2-label { font-size: 10px; font-weight: 600; color: #aaa; text-transform: uppercase; letter-spacing: 0.05em; }
.aff2-val { font-size: 13px; color: #333; margin-top: 3px; }
.aff2-tag-arts { display:inline-block; background:#edf7ee; color:#2e7d32; font-size:11px; font-weight:600; padding:3px 9px; border-radius:4px; margin-top:4px; }
.aff2-tag-tech { display:inline-block; background:#e8f0fe; color:#1a56b0; font-size:11px; font-weight:600; padding:3px 9px; border-radius:4px; margin-top:4px; }
.aff2-intake-num { font-size: 26px; font-weight: 600; color: #1a56b0; line-height: 1; }
.aff2-intake-sub { font-size: 12px; color: #888; margin-left: 5px; }
@media (max-width: 560px) { .aff2-grid { grid-template-columns: 1fr; } }

