/* ============================================================
   PAGE-SPECIFIC COMPONENTS
   (Migrated from inline/embedded styles — all CSS lives here)
   ============================================================ */

/* ── SHARED UTILITY CLASSES ── */
.fc-primary      { color: var(--primary) !important; }
.fc-accent       { color: var(--accent) !important; }
.fc-gold         { color: var(--gold) !important; }
.fc-green        { color: var(--green) !important; }
.fc-muted        { color: var(--text-muted) !important; }
.fc-white        { color: #fff !important; }
.fc-purple       { color: #7d3c98 !important; }
.fc-dark-gold    { color: #7d6608 !important; }
.fc-facebook     { color: #1877f2 !important; }
.fc-youtube      { color: #ff0000 !important; }
.fc-whatsapp     { color: #25d366 !important; }

.bg-primary-pale { background: var(--primary-pale); }
.bg-accent-pale  { background: var(--accent-pale); }
.bg-gold-pale    { background: #fef9e7; }
.bg-green-pale   { background: var(--green-pale); }
.bg-blue-pale    { background: #e8f4f9; }
.bg-red-pale     { background: #fdf2f2; }
.bg-purple-pale  { background: #f3e8fd; }
.bg-orange-pale  { background: #fdebd0; }

.flex-start-gap  { display: flex; align-items: flex-start; gap: 10px; }
.flex-center-gap { display: flex; align-items: center; gap: 8px; }
.flex-col-gap    { display: flex; flex-direction: column; gap: 10px; }
.text-center-block { text-align: center; }

/* small inline badge pill used in tables */
.pill-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-family: var(--font-ui);
  font-weight: 600;
}
.pill-primary { background: var(--primary-pale);   color: var(--primary); }
.pill-accent  { background: var(--accent-pale);    color: var(--accent); }
.pill-gold    { background: #fef9e7;               color: #7d6608; }
.pill-purple  { background: #f3e8fd;               color: #7d3c98; }
.pill-orange  { background: #fdebd0;               color: #784212; }
.pill-green   { background: var(--green-pale);     color: var(--green); }

/* ── FEATURE / RESOURCE BLOCK (about.html) ── */
.feature-block {
  background: var(--bg-subtle);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  height: 100%;
}
.feature-block--primary { border-left: 4px solid var(--primary); }
.feature-block--accent  { border-left: 4px solid var(--accent); }
.feature-block--gold    { border-left: 4px solid var(--gold); }
.feature-block--green   { border-left: 4px solid var(--green); }
.feature-block--purple  { border-left: 4px solid #7d3c98; }
.feature-block--red     { border-left: 4px solid #c0392b; }
.feature-block .fb-icon { font-size: 1.75rem; margin-top: 2px; flex-shrink: 0; }
.feature-block h6 { font-family: var(--font-ui); font-weight: 700; margin-bottom: 4px; font-size: 14px; }
.feature-block p  { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── WHY-ITEM (about.html) ── */
.why-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  height: 100%;
}
.why-item--primary { border-left: 3px solid var(--primary); }
.why-item--accent  { border-left: 3px solid var(--accent); }
.why-item--gold    { border-left: 3px solid var(--gold); }
.why-item--green   { border-left: 3px solid var(--green); }
.why-item--purple  { border-left: 3px solid #7d3c98; }
.why-item--red     { border-left: 3px solid #c0392b; }
.why-item .wi-icon { font-size: 1.15rem; margin-top: 2px; flex-shrink: 0; }
.why-item strong   { font-family: var(--font-ui); font-size: 14px; display: block; margin-bottom: 3px; }
.why-item p        { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── STAT MINI CARD (about.html profile section) ── */
.stat-mini {
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}
.stat-mini--primary { background: var(--primary); color: #fff; }
.stat-mini--accent  { background: var(--accent);  color: #fff; }
.stat-mini--gold    { background: var(--gold);     color: #1a1a1a; }
.stat-mini .sm-num  { font-size: 2rem; font-weight: 800; font-family: var(--font-ui); line-height: 1; }
.stat-mini .sm-lbl  { font-size: 12px; opacity: .8; font-family: var(--font-ui); margin-top: 4px; }

/* ── EXAM TABLE BADGE ── */
.exam-pass   { color: var(--green); font-weight: 700; }
.exam-ok     { color: var(--primary-light); font-weight: 700; }

/* ── DEPT CARD (academic.html) ── */
.dept-card {
  border-radius: var(--radius-lg);
  padding: 20px;
  height: 100%;
}
.dept-card--primary { background: linear-gradient(135deg, var(--primary-pale), #e8f4f9); border-top: 4px solid var(--primary); }
.dept-card--accent  { background: linear-gradient(135deg, #fdf2f2, #fce4e4);             border-top: 4px solid var(--accent); }
.dept-card--gold    { background: linear-gradient(135deg, #fef9e7, #fef3c7);             border-top: 4px solid var(--gold); }
.dept-card--green   { background: linear-gradient(135deg, var(--green-pale), #c3f0d8);   border-top: 4px solid var(--green); }
.dept-card h6 {
  font-family: var(--font-ui);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dept-card--primary h6 { color: var(--primary); }
.dept-card--accent  h6 { color: var(--accent); }
.dept-card--gold    h6 { color: #7d6608; }
.dept-card--green   h6 { color: var(--green); }
.dept-card ul {
  font-size: 13.5px;
  color: var(--text-body);
  font-family: var(--font-ui);
  padding-left: 16px;
  line-height: 2;
  list-style: disc;
}

/* ── REGULATION ITEM (academic.html) ── */
.reg-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
  align-items: flex-start;
}
.reg-item i  { color: var(--green); margin-top: 2px; flex-shrink: 0; }
.reg-item p  { margin: 0; font-family: var(--font-ui); font-size: 14px; }

/* ── ADMISSION PAGE ── */
.step-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
}
.step-card:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-ui);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,78,168,.3);
}
.step-body h6 { font-family: var(--font-ui); font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.step-body p  { font-size: 13.5px; color: var(--text-muted); margin: 0; }

.apply-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 20px;
}
.apply-cta h5 { color: #fff; font-family: var(--font-ui); font-weight: 700; margin-bottom: 8px; }
.apply-cta p  { color: rgba(255,255,255,.85); font-size: 13px; margin-bottom: 16px; }

.elig-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  transition: var(--transition);
  background: var(--bg-white);
  height: 100%;
}
.elig-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.elig-card .ei   { font-size: 2.2rem; color: var(--primary); margin-bottom: 10px; display: block; }
.elig-card h6    { font-family: var(--font-ui); font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.elig-card p     { font-size: 12.5px; color: var(--text-muted); margin: 0; }

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--text-body);
}
.doc-item:last-child { border-bottom: none; }
.doc-item i { color: var(--primary); margin-top: 1px; flex-shrink: 0; }

.info-alert {
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 13px;
}
.info-alert--primary { background: var(--primary-pale); color: var(--primary); }
.info-alert--gold    { background: #fef9e7; color: #7d6608; }
.info-alert--green   { background: var(--green-pale); color: var(--green); }

.section-sub-heading {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 14px;
}
.ssh--primary { color: var(--primary); border-bottom-color: var(--primary-pale); }
.ssh--green   { color: var(--green);   border-bottom-color: var(--green-pale); }

/* ── NOTICE PAGE ── */
.filter-bar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-bar label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}
.filter-bar input,
.filter-bar select {
  font-family: var(--font-ui);
  font-size: 13px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--text-dark);
  background: var(--bg-subtle);
  outline: none;
  transition: var(--transition);
}
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(36,113,163,.1);
}
.filter-bar input { flex: 1; min-width: 200px; }

/* ── CONTACT PAGE ── */
.cinfo-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary);
  height: 100%;
}
.cinfo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cinfo-card--accent { border-top-color: var(--accent); }
.cinfo-card--gold   { border-top-color: var(--gold); }
.cinfo-card--green  { border-top-color: var(--green); }
.cinfo-card .ci-icon {
  width: 58px; height: 58px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}
.cinfo-card--accent .ci-icon { background: var(--accent-pale); color: var(--accent); }
.cinfo-card--gold   .ci-icon { background: #fef9e7; color: #7d6608; }
.cinfo-card--green  .ci-icon { background: var(--green-pale); color: var(--green); }
.cinfo-card h6  { font-family: var(--font-ui); font-weight: 700; margin-bottom: 6px; color: var(--text-dark); }
.cinfo-card p,
.cinfo-card a   { font-size: 13.5px; color: var(--text-muted); font-family: var(--font-ui); margin: 0; }
.cinfo-card a:hover { color: var(--primary); }

.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.social-row a {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  flex: 1;
  min-width: 150px;
  transition: var(--transition);
}
.social-row a:hover { background: var(--primary-pale); border-color: var(--primary-light); color: var(--primary); }

.complaint-wrap {
  background: linear-gradient(135deg, #f8f0fe, #ede0f9);
  border: 2px solid #d7b8f5;
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin-top: 30px;
}
.complaint-wrap h4 { font-family: var(--font-ui); font-weight: 700; color: #7d3c98; margin-bottom: 8px; }
.complaint-wrap p  { font-size: 13.5px; color: #6c3483; margin-bottom: 18px; }

.contact-quick-list { list-style: none; padding: 0; font-family: var(--font-ui); font-size: 13.5px; }
.contact-quick-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.contact-quick-list li:last-child { border-bottom: none; }

/* ── GALLERY PAGE ── */
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 991px) { .gallery-full-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px)  { .gallery-full-grid { grid-template-columns: repeat(2, 1fr); } }

.gf-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  background: var(--border);
  cursor: zoom-in;
}
.gf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gf-item .gf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,78,168,.75), rgba(192,57,43,.5));
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  transition: var(--transition);
}
.gf-item .gf-overlay span { color: #fff; font-size: 12px; font-family: var(--font-ui); font-weight: 600; }
.gf-item:hover img        { transform: scale(1.1); }
.gf-item:hover .gf-overlay{ opacity: 1; }

.album-tab { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.album-tab button {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  color: var(--text-body);
  transition: var(--transition);
  cursor: pointer;
}
.album-tab button.active,
.album-tab button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.video-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-card .vc-thumb { position: relative; height: 180px; background: var(--primary-pale); overflow: hidden; }
.video-card .vc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .vc-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
}
.video-card .vc-play i { font-size: 3rem; color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); transition: var(--transition); }
.video-card:hover .vc-play i { transform: scale(1.15); color: var(--gold-light); }
.video-card .vc-body { padding: 14px 16px; }
.video-card .vc-body h6 { font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; color: var(--text-dark); margin-bottom: 4px; }
.video-card .vc-body p  { font-size: 12px; color: var(--text-muted); margin: 0; }

/* ── ACTIVITIES PAGE ── */
.act-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); height: 100%; }
.act-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.act-card .act-img { height: 200px; overflow: hidden; position: relative; }
.act-card .act-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.act-card:hover .act-img img { transform: scale(1.07); }
.act-card .act-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-family: var(--font-ui);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.act-card .act-body    { padding: 18px; }
.act-card .act-body h5 { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--text-dark); margin-bottom: 8px; }
.act-card .act-body p  { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.act-card .act-foot    { border-top: 1px solid var(--border); padding: 10px 18px; font-size: 12px; color: var(--text-muted); font-family: var(--font-ui); display: flex; align-items: center; gap: 10px; }

.award-highlight {
  background: linear-gradient(135deg, #fef9e7, #fdebd0);
  border: 1px solid #f0c36d;
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
  transition: var(--transition);
}
.award-highlight:hover    { box-shadow: var(--shadow-sm); transform: translateX(3px); }
.award-highlight .aw-icon { width: 50px; height: 50px; background: var(--gold); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.award-highlight h6       { font-family: var(--font-ui); font-weight: 700; font-size: 14.5px; color: var(--text-dark); margin-bottom: 4px; }
.award-highlight p        { font-size: 13px; color: var(--text-muted); margin: 0; }
.award-highlight .aw-date { font-size: 11.5px; color: var(--primary-light); font-family: var(--font-ui); font-weight: 600; margin-top: 5px; display: block; }

.mag-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}
.mag-card:hover { box-shadow: var(--shadow-md); }
.mag-card .mc-icon  { font-size: 3rem; margin-bottom: 12px; display: block; }
.mag-card .mc-title { font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--text-dark); }
.mag-card .mc-year  { font-family: var(--font-ui); font-size: 12px; color: var(--text-muted); }

/* ── STUDENTS PAGE ── */
.dl-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--border); transition: var(--transition); }
.dl-row:last-child { border-bottom: none; }
.dl-row:hover { background: var(--bg-subtle); }
.dl-row .dl-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.dl-row .dl-info { flex: 1; }
.dl-row .dl-info h6   { font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; margin-bottom: 2px; color: var(--text-dark); }
.dl-row .dl-info span { font-size: 12px; color: var(--text-muted); font-family: var(--font-ui); }
.dl-row .dl-btn {
  background: var(--primary-pale);
  color: var(--primary);
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-family: var(--font-ui);
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.dl-row .dl-btn:hover { background: var(--primary); color: #fff; }

.result-search { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.result-search h5 { color: #fff; font-family: var(--font-ui); font-weight: 700; margin-bottom: 16px; }
.result-search input,
.result-search select {
  width: 100%;
  border: none;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-ui);
  outline: none;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.lib-stat { text-align: center; padding: 20px; background: var(--bg-subtle); border-radius: var(--radius-lg); border: 1px solid var(--border); height: 100%; }
.lib-stat .ls-num { font-size: 2rem; font-weight: 800; font-family: var(--font-ui); color: var(--primary); line-height: 1; }
.lib-stat .ls-lbl { font-size: 12px; font-family: var(--font-ui); color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 6px; }

.lib-rule-list { font-family: var(--font-ui); font-size: 13.5px; color: var(--text-body); }
.lib-rule-list .lr-item { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-bottom: 1px solid var(--border); }
.lib-rule-list .lr-item:last-child { border-bottom: none; }
.lib-rule-list .lr-item i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* ── TEACHER LIST PAGE ── */
.teacher-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  text-align: center;
  height: 100%;
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-pale); }

.tc-ribbon { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.tc-ribbon--accent  { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.tc-ribbon--gold    { background: linear-gradient(90deg, #c9960d, var(--gold-light)); }
.tc-ribbon--green   { background: linear-gradient(90deg, var(--green), #2ecc71); }
.tc-ribbon--purple  { background: linear-gradient(90deg, #7d3c98, #a569bd); }
.tc-ribbon--red     { background: linear-gradient(90deg, #c0392b, #e74c3c); }

.tc-photo {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-pale);
  margin: 24px auto 14px;
  display: block;
  transition: var(--transition);
}
.teacher-card:hover .tc-photo { border-color: var(--primary-light); transform: scale(1.05); }

.tc-body { padding: 0 16px 18px; }
.tc-name { font-family: var(--font-ui); font-weight: 700; font-size: 14.5px; color: var(--text-dark); margin-bottom: 4px; }
.tc-dept {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 11px;
  font-family: var(--font-ui);
  font-weight: 700;
  padding: 2px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.tc-dept--accent  { background: var(--accent-pale);  color: var(--accent); }
.tc-dept--gold    { background: #fef9e7;              color: #7d6608; }
.tc-dept--green   { background: var(--green-pale);    color: var(--green); }
.tc-dept--purple  { background: #f3e8fd;              color: #7d3c98; }
.tc-dept--orange  { background: #fdebd0;              color: #784212; }
.tc-role  { font-size: 12px; font-family: var(--font-ui); color: var(--text-muted); margin-bottom: 10px; }
.tc-qual  { font-size: 11.5px; font-family: var(--font-ui); color: var(--text-muted); }
.tc-contact { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.tc-contact a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-muted);
  transition: var(--transition);
}
.tc-contact a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.dept-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 20px;
  margin-top: 36px;
}
.dept-header:first-of-type { margin-top: 0; }
.dept-header .dh-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.18);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--gold-light);
  flex-shrink: 0;
}
.dept-header h4     { color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: 1rem; margin: 0; }
.dept-header .dh-count {
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 12px;
  font-family: var(--font-ui);
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-left: auto;
  white-space: nowrap;
}

.search-filter-bar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-filter-bar input,
.search-filter-bar select {
  font-family: var(--font-ui);
  font-size: 13px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--text-dark);
  background: var(--bg-subtle);
  outline: none;
  transition: var(--transition);
}
.search-filter-bar input:focus,
.search-filter-bar select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(36,113,163,.1);
}
.search-filter-bar input { flex: 1; min-width: 200px; }

.no-results {
  display: none;
  text-align: center;
  padding: 40px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.no-results i { font-size: 2.5rem; color: var(--text-light); display: block; margin-bottom: 10px; }
.no-results p { font-family: var(--font-ui); color: var(--text-muted); margin: 0; }

.faculty-stat-row { font-family: var(--font-ui); font-size: 13.5px; }
.faculty-stat-row .fsr-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.faculty-stat-row .fsr-item:last-child { border-bottom: none; }
.faculty-stat-row .fsr-lbl { color: var(--text-muted); }

/* ── ADMINISTRATION PAGE ── */
.principal-photo {
  width: 100%;
  max-width: 180px;
  border-radius: var(--radius-lg);
  border: 3px solid var(--primary-pale);
}
.person-title-block { margin-top: 12px; }
.person-title-block .pt-name  { font-family: var(--font-ui); font-weight: 700; font-size: 14.5px; color: var(--text-dark); }
.person-title-block .pt-role  { font-family: var(--font-ui); font-size: 12px; color: var(--primary-light); font-weight: 600; }

/* ── INDEX / GENERAL ── */
.section-block { padding: 40px 0; background: var(--bg-white); }
.section-block--border { border-top: 1px solid var(--border); }
.iframe-map { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ── PRINT STYLES ── */
@media print {
  .main-nav, .topbar, .site-header, .ticker-bar, .quick-links,
  .back-top, .hero-section, .site-footer, .sidebar-widget,
  .section-stripe, .btn-primary, .btn-accent, .btn-gold { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .c-card, .content-card { box-shadow: none; border: 1px solid #ccc; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  .inner-page .container { max-width: 100%; }
}

/* ── ADDITIONAL UTILITY CLASSES (post-migration) ── */
.dept-card-h6 {
  font-family: var(--font-ui);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}
.c-card-inner {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.border-top-primary { border-top: 3px solid var(--primary); }
.border-top-accent  { border-top: 3px solid var(--accent); }
.btn-sm-custom { font-size: 12px !important; padding: 7px 16px !important; }
.w-100-btn { width: 100%; justify-content: center; }

/* ── FINAL UTILITY CLASSES (remaining inline styles eliminated) ── */

/* Feature / why-item icon colours */
.fi-primary { color: var(--primary);  margin-top: 2px; flex-shrink: 0; }
.fi-accent  { color: var(--accent);   margin-top: 2px; flex-shrink: 0; }
.fi-gold    { color: var(--gold);     margin-top: 2px; flex-shrink: 0; }
.fi-green   { color: var(--green);    margin-top: 2px; flex-shrink: 0; }
.fi-purple  { color: #7d3c98;         margin-top: 2px; flex-shrink: 0; }
.fi-red     { color: #c0392b;         margin-top: 2px; flex-shrink: 0; }
.fi-icon-lg { font-size: 1.75rem; }

/* Feature block body text */
.fb-title { font-family: var(--font-ui); font-weight: 700; margin-bottom: 4px; font-size: 14px; }
.fb-text  { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Why item body */
.wi-title { font-family: var(--font-ui); font-size: 14px; font-weight: 700; display: block; margin-bottom: 3px; }
.wi-text  { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Table cell helpers */
.td-header { font-weight: 600; background: var(--bg-subtle); }
.td-header--wide { width: 40%; font-weight: 600; background: var(--bg-subtle); }

/* Hint / note text */
.hint-text    { font-size: 13px; color: var(--text-muted); margin: 0; }
.hint-text-sm { font-size: 12.5px; color: var(--text-muted); font-family: var(--font-ui); margin-top: 12px; }
.note-text    { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.reg-note     { font-size: 13.5px; color: var(--text-body); font-family: var(--font-ui); padding-left: 16px; line-height: 2; }
.reg-p        { margin: 0; font-family: var(--font-ui); font-size: 14px; }

/* Inline icon colour blocks (activities mag icons) */
.ic-block-primary { color: var(--primary); margin-bottom: 12px; display: block; }
.ic-block-accent  { color: var(--accent);  margin-bottom: 12px; display: block; }
.ic-block-gold    { color: var(--gold);    margin-bottom: 12px; display: block; }
.ic-block-green   { color: var(--green);   margin-bottom: 12px; display: block; }

/* Mag card text */
.mc-title  { font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--text-dark); }
.mc-year   { font-family: var(--font-ui); font-size: 12px; color: var(--text-muted); }

/* Lib rule list text */
.lr-text { font-family: var(--font-ui); font-size: 13.5px; color: var(--text-body); line-height: 2.2; }
.lr-title { font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--primary-dark); margin-bottom: 12px; }

/* No-results icon */
.nr-icon { font-size: 2.5rem; color: var(--text-light); display: block; margin-bottom: 10px; }

/* Teacher list heading */
.tl-section-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.tl-stats-body { font-family: var(--font-ui); font-size: 13.5px; }

/* Contact page misc */
.complaint-area-wrap {
  display: none;
  margin-top: 24px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.contact-quick-ul { list-style: none; padding: 0; font-family: var(--font-ui); font-size: 13.5px; }
.cq-li       { padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: flex-start; }
.cq-li:last-child { border-bottom: none; }

/* btn-purple variant */
.btn-purple {
  background: #7d3c98;
  color: #fff;
  border-color: #7d3c98;
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
  border: 2px solid #7d3c98;
}
.btn-purple:hover { background: #6c3483; border-color: #6c3483; color: #fff; }

/* Exam result colours */
.green-bold { color: var(--green); font-weight: 700; }
.blue-bold  { color: var(--primary-light); font-weight: 700; }

/* Index hero btn modifiers */
.btn-hero-outline {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  background: transparent;
}
.btn-hero-outline-sm {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}

/* ACT page section text */
.act-text-sm { font-family: var(--font-ui); font-size: 12px; color: var(--text-muted); }
.act-title   { font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--text-dark); }

/* Admission inline helpers */
.adm-sub   { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.adm-label { font-family: var(--font-ui); font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }

/* ── PAGINATION active override ── */
.page-item.active .page-link,
.page-link-active-style {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

/* ── p-custom spacing ── */
.p-custom-18 { padding: 18px; }
.fw-600 { font-weight: 600; }

