/* ==========================================
       CSS CUSTOM PROPERTIES
       ========================================== */
:root {
  --primary: #163269;
  --primary-dark: #0f2350;
  --primary-light: #1e4080;
  --secondary: #d4af37;
  --secondary-dark: #b8962e;
  --secondary-light: #e8c84a;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(22, 50, 105, 0.1);
  --shadow-lg: 0 10px 40px rgba(22, 50, 105, 0.15);
  --font-en: "Poppins", sans-serif;
  --font-as: "Hind Siliguri", sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --fs-base: 16px;
}

/* ==========================================
       FONT SIZE ACCESSIBILITY
       ========================================== */
html {
  font-size: var(--fs-base);
}

html.font-lg {
  --fs-base: 18px;
}

html.font-xl {
  --fs-base: 20px;
}

html.font-sm {
  --fs-base: 14px;
}

/* ==========================================
       RESET & BASE
       ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-en);
  color: var(--text-dark);
  background: var(--bg-light);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==========================================
       SKIP TO CONTENT
       ========================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--secondary);
  color: var(--primary);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 9999;
  border-radius: 0 0 6px 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================
       SITE HEADER WRAPPER
       ========================================== */
#main-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

#site-header.scrolled .utility-bar {
  height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
}

#site-header.scrolled .branding-header {
  padding: 6px 0;
  box-shadow: none;
}

#site-header.scrolled .college-name-en {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

#site-header.scrolled .college-name-as {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
}

#site-header.scrolled .college-logo img {
  width: 52px;
  height: 52px;
}

#site-header.scrolled .affiliation-text {
  display: none;
}

#site-header.scrolled .college-badges {
  display: none !important;
}

#site-header.scrolled .gold-line {
  margin: 2px auto;
}

/* ==========================================
       TOP UTILITY BAR
       ========================================== */
.utility-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  height: 38px;
  display: flex;
  align-items: center;
  transition: var(--transition);
  overflow: hidden;
}

.utility-bar .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.utility-left,
.utility-center,
.utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-bar a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.utility-bar a:hover {
  color: var(--secondary);
}

.utility-bar .bi {
  font-size: 0.85rem;
}

.util-separator {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
}

/* Important Links Dropdown */
.imp-links-wrap {
  position: relative;
}

.imp-links-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-en);
  transition: var(--transition);
}

.imp-links-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.imp-links-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: var(--transition);
  z-index: 999;
  margin-top: 6px;
}

.imp-links-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.imp-links-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  color: var(--text-dark);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.imp-links-dropdown a:last-child {
  border-bottom: none;
}

.imp-links-dropdown a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.imp-links-dropdown a .bi {
  color: var(--primary);
  font-size: 0.85rem;
}

/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icons a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}

/* Accessibility Controls */
.a11y-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.a11y-controls span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 2px;
}

.a11y-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  padding: 2px 7px;
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 0.75rem;
  transition: var(--transition);
  line-height: 1.4;
}

.a11y-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}

/* Search Button */
.search-btn-util {
  background: var(--secondary);
  border: none;
  color: var(--primary);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  font-weight: 700;
}

.search-btn-util:hover {
  background: var(--secondary-light);
}

/* ==========================================
       BRANDING HEADER
       ========================================== */
.branding-header {
  background: var(--bg-white);
  padding: 14px 0;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.branding-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--secondary) 50%,
    var(--primary) 100%
  );
}

.branding-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

/* Logo */
.college-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.college-logo img,
.logo-placeholder {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: var(--transition);
}

.logo-placeholder {
  /*background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);*/
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(22, 50, 105, 0.25);
  /*border: 3px solid var(--secondary);*/
  flex-shrink: 0;
}

.logo-placeholder .logo-inner-text {
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.05em;
  font-family: var(--font-en);
}

.logo-placeholder .logo-sub-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-en);
  margin-top: 2px;
}

/* Center Branding */
.college-branding-center {
  text-align: left;
}

.college-name-en {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.gold-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--secondary),
    var(--secondary-light),
    transparent
  );
  margin: 6px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.college-name-as {
  font-family: var(--font-as);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--primary-light);
  line-height: 1.2;
  margin-bottom: 5px;
}

.affiliation-text {
  font-size: clamp(0.72rem, 1.2vw, 0.85rem);
  color: #fca311;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 4px;
}

.affiliation-text .bi {
  color: var(--secondary);
  font-size: 0.85rem;
}

.affiliation-dot {
  width: 4px;
  height: 4px;
  background: var(--secondary);
  border-radius: 50%;
  display: inline-block;
}

/* Right Badges — Premium Stat Cards */
.college-badges {
  display: flex;
  flex-direction: row;
  gap: 0;
  flex-shrink: 0;
  align-items: stretch;
  background: var(--primary);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 6px 24px rgba(22, 50, 105, 0.22),
    0 1px 4px rgba(22, 50, 105, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.badge-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 18px;
  min-width: 108px;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: center;
  transition: var(--transition);
}

.badge-block:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: rgba(212, 175, 55, 0.25);
}

.badge-block:hover {
  background: rgba(255, 255, 255, 0.07);
}

.badge-icon {
  width: 34px;
  height: 34px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-bottom: 2px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.badge-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.badge-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.badge-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.naac-badge .badge-value {
  color: var(--secondary);
  font-size: 0.85rem;
}

/* ==========================================
       NAVBAR
       ========================================== */
.main-navbar {
  background: var(--primary);
  position: relative;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(22, 50, 105, 0.3);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  /*justify-content: space-between;*/
  justify-content: center;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-item:hover > .nav-link,
.nav-item.active > .nav-link {
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-item:hover > .nav-link::after,
.nav-item.active > .nav-link::after {
  left: 0;
  right: 0;
}

.nav-link .nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s;
  margin-left: 2px;
  opacity: 0.7;
}

.nav-item:hover > .nav-link .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--secondary);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  z-index: 800;
  padding: 6px 0;
}

.nav-item:hover > .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu-custom a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 400;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.dropdown-menu-custom a:last-child {
  border-bottom: none;
}

.dropdown-menu-custom a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 24px;
}

.dropdown-menu-custom a .bi {
  color: var(--secondary);
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* ==========================================
       MEGA MENU - DEPARTMENTS
       ========================================== */
/*.has-mega { position: static; }*/

/*.mega-menu {*/
/*  position: absolute;*/
/*  left: 0;*/
/*  right: 0;*/
/*  top: 100%;*/
/*  background: #fff;*/
/*  border-top: 3px solid var(--secondary);*/
/*  box-shadow: var(--shadow-lg);*/
/*  opacity: 0;*/
/*  visibility: hidden;*/
/*  transform: translateY(-10px);*/
/*  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;*/
/*  z-index: 800;*/
/*  padding: 28px 0;*/
/*}*/
/*.has-mega:hover .mega-menu {*/
/*  opacity: 1;*/
/*  visibility: visible;*/
/*  transform: translateY(0);*/
/*}*/

/*.mega-inner {*/
/*  max-width: 1400px;*/
/*  margin: 0 auto;*/
/*  padding: 0 24px;*/
/*  display: grid;*/
/*  grid-template-columns: repeat(4, 1fr);*/
/*  gap: 24px;*/
/*}*/

/*.mega-column-header {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 10px;*/
/*  padding-bottom: 10px;*/
/*  border-bottom: 2px solid var(--border);*/
/*  margin-bottom: 12px;*/
/*}*/
/*.mega-col-icon {*/
/*  width: 36px; height: 36px;*/
/*  border-radius: 8px;*/
/*  display: flex; align-items: center; justify-content: center;*/
/*  font-size: 1.1rem;*/
/*  flex-shrink: 0;*/
/*}*/
/*.mega-col-icon.arts { background: #EEF2FF; color: #4F46E5; }*/
/*.mega-col-icon.science { background: #ECFDF5; color: #059669; }*/
/*.mega-col-icon.commerce { background: #FFF7ED; color: #EA580C; }*/
/*.mega-col-icon.management { background: #FDF4FF; color: #9333EA; }*/

/*.mega-col-title {*/
/*  font-size: 0.78rem;*/
/*  font-weight: 700;*/
/*  text-transform: uppercase;*/
/*  letter-spacing: 0.08em;*/
/*  color: var(--primary);*/
/*}*/

/*.mega-dept-list a {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 8px;*/
/*  padding: 7px 10px;*/
/*  border-radius: 5px;*/
/*  color: var(--text-mid);*/
/*  font-size: 0.8rem;*/
/*  transition: var(--transition);*/
/*}*/
/*.mega-dept-list a:hover {*/
/*  background: var(--bg-light);*/
/*  color: var(--primary);*/
/*  transform: translateX(4px);*/
/*}*/
/*.mega-dept-list a .bi { font-size: 0.75rem; color: var(--text-light); }*/
/*.mega-dept-list a:hover .bi { color: var(--secondary); }*/

/* ==========================================
       MOBILE HAMBURGER
       ========================================== */
.hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin: 4px 0;
}

.hamburger-btn:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

/* ==========================================
       MOBILE MENU OVERLAY
       ========================================== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 35, 80, 0.7);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}

.mobile-overlay.open {
  display: block;
  opacity: 1;
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: min(320px, 90vw);
  height: 100vh;
  background: var(--bg-white);
  z-index: 1200;
  overflow-y: auto;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.mobile-menu-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.mobile-menu-sub {
  color: var(--secondary);
  font-size: 0.7rem;
  font-family: var(--font-as);
  margin-top: 2px;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-close-btn:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

.mobile-nav {
  flex: 1;
  padding: 8px 0;
}

.mob-nav-item {
  border-bottom: 1px solid var(--border);
}

.mob-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.mob-nav-link:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.mob-nav-link.active {
  color: var(--primary);
  background: rgba(22, 50, 105, 0.05);
}

.mob-nav-link .mob-arrow {
  font-size: 0.7rem;
  color: var(--text-light);
  transition: transform 0.25s;
}

.mob-nav-link.expanded .mob-arrow {
  transform: rotate(180deg);
}

.mob-nav-link span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mob-nav-link .bi:first-child {
  color: var(--primary);
  font-size: 0.9rem;
}

.mob-submenu {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  display: none;
  overflow: hidden;
}

.mob-submenu.open {
  display: block;
}

.mob-submenu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 10px 44px;
  color: var(--text-mid);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: var(--transition);
}

.mob-submenu a:last-child {
  border-bottom: none;
}

.mob-submenu a:hover {
  color: var(--primary);
  background: rgba(22, 50, 105, 0.05);
}

.mob-submenu a .bi {
  color: var(--text-light);
  font-size: 0.75rem;
}

.mob-mega-group {
  padding: 10px 16px;
}

.mob-mega-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  padding: 8px 4px 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.mobile-menu-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  flex-shrink: 0;
}

.mob-footer-contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: var(--text-mid);
  font-size: 0.8rem;
}

.mob-footer-contacts a:hover {
  color: var(--primary);
}

.mob-footer-contacts .bi {
  color: var(--primary);
  font-size: 0.85rem;
}

/* ==========================================
       SEARCH MODAL
       ========================================== */
.search-modal-overlay {
  display: flex;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 35, 80, 0.85);
  z-index: 2000;
  opacity: 0;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  backdrop-filter: blur(4px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.search-modal-overlay.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.search-modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  width: min(600px, 92vw);
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform 0.3s;
}

.search-modal-overlay.open .search-modal-box {
  transform: translateY(0);
}

.search-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.search-input-wrap {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.search-input-wrap:focus-within {
  border-color: var(--primary);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-en);
  color: var(--text-dark);
  background: transparent;
}

.search-submit-btn {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.search-submit-btn:hover {
  background: var(--secondary);
  color: var(--primary);
}

.search-close-btn {
  display: block;
  margin-top: 14px;
  background: none;
  border: none;
  color: var(--text-mid);
  font-size: 0.82rem;
  cursor: pointer;
  font-family: var(--font-en);
  transition: var(--transition);
}

.search-close-btn:hover {
  color: var(--primary);
}

.search-suggestions {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.search-suggestions span {
  display: inline-block;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
  margin: 3px 3px;
  cursor: pointer;
  transition: var(--transition);
}

.search-suggestions span:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==========================================
       HERO CONTENT AREA (demo)
       ========================================== */
.hero-placeholder {
  padding: 60px 24px;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-placeholder h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.hero-placeholder p {
  color: var(--text-mid);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
       RESPONSIVE
       ========================================== */
@media (max-width: 1100px) {
  .nav-link {
    padding: 0 10px;
    font-size: 0.78rem;
  }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .utility-left .contact-links,
  .util-separator {
    display: none;
  }

  .utility-center {
    flex: 1;
    justify-content: center;
  }

  .badge-block {
    min-width: unset;
  }

  .branding-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .utility-bar {
    height: 34px;
  }

  .college-badges {
    gap: 6px;
  }

  .badge-block {
    display: none !important;
  }

  .branding-inner {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .college-logo .logo-placeholder,
  .college-logo img {
    width: 70px;
    height: 70px;
  }

  .logo-placeholder .logo-inner-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .utility-bar .container-fluid {
    padding: 0 12px;
  }

  .branding-inner {
    padding: 0 14px;
    gap: 10px;
  }

  .college-name-en {
    font-size: 1.2rem;
  }

  .college-name-as {
    font-size: 0.9rem;
  }

  .navbar-inner {
    padding: 0 14px;
  }

  .social-icons {
    display: none;
  }

  .a11y-controls {
    display: none;
  }
}

/* Back To Top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    right: 15px;
    bottom: 15px;
  }
}

/* ═══════════════════════════════════════
    PAGE HERO
    ═══════════════════════════════════════ */
.dept-hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 36px 28px 32px;
}

.dept-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.dept-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.dept-hero-breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.dept-hero-breadcrumb a:hover {
  color: var(--primary);
}

.dept-hero-breadcrumb .sep {
  font-size: 0.55rem;
  opacity: 0.5;
}

.dept-hero-breadcrumb .current {
  color: var(--text-mid);
  font-weight: 500;
}

.dept-hero-title {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.dept-hero-title span {
  color: var(--secondary-dark);
}

/* Gold underline accent */
.dept-hero-title-wrap {
  display: inline-block;
  border-bottom: 3px solid var(--secondary);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.dept-hero-desc {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 560px;
}

/* ═══════════════════════════════════════
    RESPONSIVE
    ═══════════════════════════════════════ */
@media (max-width: 640px) {
  .dept-hero {
    padding: 28px 20px 24px;
  }
}

.about-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-light);
  text-align: justify;
  margin: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 28px 72px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* ──────────────────────────────────────────────────────────
   GLOBAL UTILITIES
────────────────────────────────────────────────────────── */
.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}
.bg-light-section {
  background-color: var(--bg-light);
}
.text-mid {
  color: var(--text-mid);
}

/* SECTION HEADER */
.section-header {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0;
}

/* SHARED BUTTONS */
.btn-primary-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  padding: 10px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary-solid:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-solid:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ──────────────────────────────────────────────────────────
   SECTION 1 — HERO
────────────────────────────────────────────────────────── */

.hero-slider {
  height: clamp(480px, 86vh, 820px);
}

.carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 35, 80, 0.75) 0%,
    rgba(15, 35, 80, 0.35) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.container.h-100,
.row.h-100 {
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 6px 18px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
}

.hero-title em {
  font-style: normal;
  display: block;
  color: #ffc107;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 550px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  background: #ffc107;
  color: #000;
  border: 2px solid #ffc107;
  transition: 0.3s;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.35);
  color: #000;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Indicators */

.carousel-indicators {
  margin-bottom: 30px;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  opacity: 0.6;
  background: #fff;
  margin: 0 5px;
  transition: 0.3s;
}

.carousel-indicators .active {
  width: 30px;
  border-radius: 10px;
  opacity: 1;
  background: #ffc107;
}

/* Navigation */

.hero-ctrl {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  top: 50%;
  transform: translateY(-50%);
}

.hero-ctrl:hover {
  background: #ffc107;
  border-color: #ffc107;
  color: #000;
}

.carousel-control-prev.hero-ctrl {
  left: 25px;
}

.carousel-control-next.hero-ctrl {
  right: 25px;
}

/* Mobile */

@media (max-width: 768px) {
  .hero-slider {
    height: 300px;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .hero-ctrl {
    width: 42px;
    height: 42px;
  }

  .carousel-control-prev.hero-ctrl {
    left: 10px;
  }

  .carousel-control-next.hero-ctrl {
    right: 10px;
  }
}
/* ──────────────────────────────────────────────────────────
   SECTION 2 — ANNOUNCEMENT TICKER
────────────────────────────────────────────────────────── */
.announcement-bar {
  display: flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  min-height: 46px;
  overflow: hidden;
}
.announcement-label {
  flex-shrink: 0;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 46px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 46px;
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  height: 46px;
  animation: ticker-scroll 38s linear infinite;
}
.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  padding: 0 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.ticker-item:hover {
  color: var(--secondary);
}
.ticker-all {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0 18px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}
.ticker-all:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ──────────────────────────────────────────────────────────
   SECTION 3 — QUICK ACTIONS
────────────────────────────────────────────────────────── */
.quick-actions-section {
  background: var(--bg-white);
}
.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
  width: 100%;
  min-width: 100px;
  box-shadow: var(--shadow-sm);
}
.quick-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(22, 50, 105, 0.07);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}
.quick-card:hover .quick-icon {
  background: var(--primary);
  color: #fff;
}
.quick-card span {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* ──────────────────────────────────────────────────────────
   SECTION 4 — NOTICE HUB
────────────────────────────────────────────────────────── */
.notice-box {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.notice-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.notice-box-header i {
  font-size: 1.1rem;
}
.notice-box-header--secondary {
  background: var(--primary-light);
}
.notice-box-header--accent {
  background: linear-gradient(90deg, var(--primary) 0%, #1a4a9e 100%);
}

.notice-scroll-area {
  height: 330px;
  overflow: hidden;
  position: relative;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  width: 100%;

  /* Start below the visible area */
  top: 100%;

  animation: notice-marquee 25s linear infinite;
}

.notice-scroll-area:hover .notice-list {
  animation-play-state: paused;
}

@keyframes notice-marquee {
  from {
    top: 100%;
  }
  to {
    top: -100%;
  }
}

.notice-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.notice-date {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
  padding-top: 2px;
  width: 72px;
}
.notice-link {
  color: var(--text-dark);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}
.notice-link:hover {
  color: var(--primary);
}

.notice-list--events li {
  gap: 14px;
  align-items: center;
}
.event-date-badge {
  flex-shrink: 0;
  width: 46px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.ev-day {
  font-size: 1.1rem;
  font-weight: 800;
}
.ev-mon {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary);
}
.event-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.event-info small {
  color: var(--text-light);
  font-size: 0.72rem;
}

.notice-box-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}
.btn-notice-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.btn-notice-all:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ──────────────────────────────────────────────────────────
   SECTION 5 — ABOUT
────────────────────────────────────────────────────────── */

.about-section {
  overflow-x: hidden;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 520px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 1;
  width: 80%;
  height: 80%;
  border: 3px solid var(--secondary);
  border-radius: 16px;
  opacity: 0.4;
}

.about-estd-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  z-index: 3;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 110px;
}

.about-estd-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 4px;
}

.about-estd-year {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.about-estd-sub {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.about-content .section-label {
  display: block;
  margin-bottom: 8px;
}

.about-intro {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: justify;
}

.about-feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  height: 100%;
}

.about-feature-item i {
  font-size: 1.3rem;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-feature-item p {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.5;
}

.about-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ──────────────────────────────────────────────────────────
   TABLET
────────────────────────────────────────────────────────── */

@media (max-width: 991.98px) {
  .about-img-main {
    max-height: 450px;
  }

  .about-estd-card {
    left: 10px;
  }

  .about-img-accent {
    right: 0;
  }
}

/* ──────────────────────────────────────────────────────────
   MOBILE
────────────────────────────────────────────────────────── */

@media (max-width: 767.98px) {
  .about-img-wrap {
    overflow: hidden;
    margin-bottom: 20px;
  }

  .about-img-main {
    aspect-ratio: 4/4.5;
    max-height: 380px;
  }

  .about-img-accent {
    bottom: 0;
    right: 0;
    width: 70%;
    height: 70%;
  }

  .about-estd-card {
    left: 12px;
    bottom: 15px;
    min-width: 95px;
    padding: 12px 15px;
  }

  .about-estd-year {
    font-size: 1.5rem;
  }

  .about-estd-label {
    font-size: 0.6rem;
  }

  .about-estd-sub {
    font-size: 0.62rem;
  }

  .about-intro {
    font-size: 1rem;
  }

  .about-feature-item {
    padding: 12px;
  }

  .about-feature-item strong {
    font-size: 0.88rem;
  }

  .about-feature-item p {
    font-size: 0.8rem;
  }

  .about-btns {
    justify-content: center;
  }

  .about-btns .btn {
    width: 100%;
    text-align: center;
  }
}

/* Extra protection against horizontal scroll */

html,
body {
  overflow-x: hidden;
}

/* ──────────────────────────────────────────────────────────
   SECTION 6 — PRINCIPAL
────────────────────────────────────────────────────────── */
.principal-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.principal-photo-wrap {
  position: relative;
  height: 100%;
  min-height: 411px;
}
.principal-photo {
  width: 100%;
  height: 100%;
  min-height: 411px;
  background-size: cover;
  background-position: top center;
}
.principal-name-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(15, 35, 80, 0.95) 0%,
    transparent 100%
  );
  color: #fff;
  padding: 30px 20px 16px;
}
.principal-name-tag strong {
  display: block;
  font-size: 1rem;
}
.principal-name-tag span {
  font-size: 0.78rem;
  color: var(--secondary);
}
.principal-message {
  padding: 36px 40px;
}
.principal-quote-icon {
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.5;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.principal-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ──────────────────────────────────────────────────────────
   SECTION 7 — STATISTICS
────────────────────────────────────────────────────────── */
.stats-section {
  background: var(--primary);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 28px 28px;
}
.col-lg-2-4 {
  flex: 0 0 20%;
  max-width: 20%;
}
@media (max-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (max-width: 576px) {
  .col-lg-2-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
.stat-item {
  text-align: center;
  padding: 20px 10px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 30%;
  height: 40%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.stat-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 10px;
  opacity: 0.85;
}
.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────────────────────
   SECTION 8 — NEWS CAROUSEL
────────────────────────────────────────────────────────── */
.news-carousel-wrapper {
  overflow: hidden;
}
.news-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 992px) {
  .news-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 640px) {
  .news-card {
    flex: 0 0 calc(88%);
  }
}
.news-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.news-card-body {
  padding: 20px;
}
.news-meta {
  font-size: 0.76rem;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-desc {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.news-read-more:hover {
  gap: 9px;
  color: var(--primary-dark);
}
.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--primary);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.news-nav:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.news-nav--prev {
  left: -22px;
}
.news-nav--next {
  right: -22px;
}
@media (max-width: 768px) {
  .news-nav--prev {
    left: 0;
  }
  .news-nav--next {
    right: 0;
  }
}

/* ──────────────────────────────────────────────────────────
   SECTION 9 — STUDENT SUCCESS
────────────────────────────────────────────────────────── */
.success-sub-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 18px;
}
.achievement-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.achievement-card {
  flex: 0 0 100%;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  gap: 0;
  box-shadow: var(--shadow-sm);
}
.achievement-photo {
  width: 140px;
  flex-shrink: 0;
  background-size: cover;
  background-position: top center;
}
@media (max-width: 576px) {
  .achievement-photo {
    width: 90px;
  }
}
.achievement-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 10px;
  width: fit-content;
}
.achievement-badge--sports {
  color: #1e8c5a;
  background: rgba(30, 140, 90, 0.08);
  border-color: rgba(30, 140, 90, 0.2);
}
.achievement-badge--cultural {
  color: #7b3fb5;
  background: rgba(123, 63, 181, 0.08);
  border-color: rgba(123, 63, 181, 0.2);
}
.achievement-badge--exam {
  color: var(--primary);
  background: rgba(22, 50, 105, 0.07);
  border-color: rgba(22, 50, 105, 0.2);
}
.achievement-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.achievement-title {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 10px;
}
.achievement-year {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}
.ach-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.ach-nav:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Testimonials */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}
.testimonial-slide {
  display: none;
}
.testimonial-slide.active {
  display: block;
  animation: fade-in 0.5s ease;
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.testimonial-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-quote-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  opacity: 0.5;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: top center;
  flex-shrink: 0;
  border: 2px solid var(--secondary);
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.testimonial-author span {
  font-size: 0.76rem;
  color: var(--text-light);
}
.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.t-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ──────────────────────────────────────────────────────────
   SECTION 10 — FACILITIES
────────────────────────────────────────────────────────── */
.facility-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.facility-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(22, 50, 105, 0.07);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: var(--transition);
}
.facility-card:hover .facility-icon-wrap {
  background: var(--primary);
  color: #fff;
}
.facility-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.facility-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

/* ──────────────────────────────────────────────────────────
   SECTION 11 — GALLERY
────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: block;
  background: #ddd;
}
.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item--tall {
  grid-row: span 2;
}
.gallery-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}
.gallery-item--large .gallery-img,
.gallery-item--tall .gallery-img {
  height: 100%;
  min-height: 220px;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 50, 105, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: background 0.35s ease;
  opacity: 0;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(22, 50, 105, 0.5);
  opacity: 1;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item--large {
    grid-column: span 2;
  }
  .gallery-item--tall {
    grid-row: span 1;
  }
  .gallery-img {
    height: 160px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ──────────────────────────────────────────────────────────
   SECTION 12 — IMPORTANT LINKS
────────────────────────────────────────────────────────── */
.imp-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px 10px;
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-sm);
  width: 100%;
  min-width: 80px;
}
.imp-link-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.imp-link-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(22, 50, 105, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}
.imp-link-card:hover .imp-link-icon {
  background: var(--primary);
  color: #fff;
}
.imp-link-card span {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Table New Icon */

.new-icon {
  height: 30px;
  width: 30px;
  vertical-align: middle;
}

table td {
  vertical-align: middle;
}

.notice-title {
  color: #c82333;
  font-weight: 600;
}
