/* ============================================================
   HR PG College — style.css
   Hiralal Ramniwas PG College, Khalilabad, Sant Kabir Nagar
   Brand Colors: Saffron (#E86A10) + Blue (#1B3F7A)
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --col-primary:       #1B3F7A;
  --col-primary-dark:  #102952;
  --col-primary-light: #EBF2FB;
  --col-accent:        #E86A10;
  --col-accent-dark:   #C45808;
  --col-accent-light:  #FEF0E6;
  --col-gold:          #C9972C;
  --col-saffron:       #E86A10;
  --col-dark:          #0D1B2A;
  --col-text:          #1E293B;
  --col-muted:         #64748B;
  --col-light-bg:      #F8FAFC;
  --col-white:         #FFFFFF;
  --col-border:        #E2EAF2;
  --col-gradient:      linear-gradient(135deg, #1B3F7A 0%, #102952 100%);
  --col-gradient-warm: linear-gradient(135deg, #E86A10 0%, #C45808 100%);
  --col-gradient-tri:  linear-gradient(135deg, #E86A10 0%, #1B3F7A 100%);
  --col-shadow-sm:     0 2px 8px rgba(27,63,122,.10);
  --col-shadow-md:     0 6px 24px rgba(27,63,122,.15);
  --col-shadow-lg:     0 16px 48px rgba(27,63,122,.20);
  --col-radius:        14px;
  --col-radius-sm:     8px;
  --font-display:      'Playfair Display', Georgia, serif;
  --font-body:         'Inter', 'Nunito Sans', sans-serif;
  --navbar-h:          72px;
}

/* ── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--col-text);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--col-dark);
}
a { color: var(--col-primary); transition: color .2s; }
a:hover { color: var(--col-accent); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Layout Helpers ─────────────────────────────────────────── */
.section-pad   { padding: 80px 0; }
.section-light { background: var(--col-light-bg); }

.section-badge {
  display: inline-block;
  background: var(--col-accent-light);
  color: var(--col-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
}
.section-title span { color: var(--col-accent); }
.divider-line {
  width: 56px; height: 4px;
  background: var(--col-accent);
  border-radius: 4px;
  margin: 14px 0 24px;
}
.divider-line.center { margin: 14px auto 24px; }

/* ── Ticker Bar ─────────────────────────────────────────────── */
.ticker-bar {
  background: #0D1B2A;
  color: rgba(255,255,255,.85);
  height: 34px;
  font-size: 12.5px;
  overflow: hidden;
  z-index: 1040;
  position: relative;
}
.adm-badge {
  background: var(--col-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.pulse-dot { animation: blink 1.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.ticker-label { font-weight: 600; color: var(--col-accent); white-space: nowrap; }
.ticker-wrap { overflow: hidden; max-width: 700px; }
.ticker-content {
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  display: inline-block;
}
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-dot { color: var(--col-accent); font-size: 10px; margin-right: 4px; }
.ticker-new { display:inline-block; background:#FF9933; color:#fff; font-size:10px; font-weight:800; padding:1px 5px; border-radius:3px; margin-right:5px; vertical-align:middle; letter-spacing:.04em; }
.ticker-notice-link { color: rgba(255,255,255,.9); text-decoration: none; }
.ticker-notice-link:hover { color: #fff; text-decoration: underline; }
.ticker-more-link { color: #FF9933; font-size: 11px; font-weight: 700; text-decoration: none; border: 1px solid #FF9933; border-radius: 10px; padding: 1px 7px; margin-left: 4px; }
.ticker-more-link:hover { background: #FF9933; color: #fff; }
.ticker-phone { color: rgba(255,255,255,.85); font-size: 12px; }

/* ── Top Bar ────────────────────────────────────────────────── */
.top-bar {
  background: var(--col-primary);
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px;
  padding: 6px 0;
}
.topbar-link { color: rgba(255,255,255,.8); }
.topbar-link i { color: var(--col-accent); }
.topbar-link:hover { color: #fff; text-decoration: none; }

.social-icon {
  display: inline-flex; align-items:center; justify-content:center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 12px;
  margin-left: 5px;
  transition: all .25s;
}
.social-icon:hover { background: var(--col-accent); color: #fff; }

.btn-apply-now {
  background: var(--col-accent);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  transition: all .25s;
  text-decoration: none;
  display: inline-block;
}
.btn-apply-now:hover { background: var(--col-accent-dark); transform: translateY(-1px); }

/* ── Google Translate Widget ────────────────────────────────── */
.gt-topbar { display: flex; align-items: center; }
/* Hide Google's top bar that shifts the page down */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }

/* ── Navbar ─────────────────────────────────────────────────── */
.main-navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(27,63,122,.10);
  padding: 0;
  min-height: var(--navbar-h);
  transition: all .3s ease;
  z-index: 1030;
}
.main-navbar.scrolled { box-shadow: var(--col-shadow-md); }
.nav-logo {
  height: 58px;
  width: auto;
  /* Clean transparent PNG — no filter needed */
}
/* Footer logo — invert to white on dark background */
.footer-logo {
  filter: brightness(0) invert(1) opacity(.85);
}
/* Admin sidebar logo — invert to white */
.admin-sidebar-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1) opacity(.85);
}
.nav-logo-fallback .logo-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--col-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
  font-family: var(--font-display);
}
.nav-brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--col-primary);
  line-height: 1.2;
}
.brand-sub {
  font-size: 10px;
  color: var(--col-accent);
  font-weight: 600;
  line-height: 1.2;
}
.brand-tagline { font-size: 9.5px; color: var(--col-muted); line-height: 1.2; }

.main-navbar .nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--col-text) !important;
  padding: 8px 10px !important;
  border-radius: var(--col-radius-sm);
  transition: all .2s;
  position: relative;
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 10px; right: 10px; height: 2px;
  background: var(--col-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--col-primary) !important; }
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { transform: scaleX(1); }

.btn-nav-cta {
  background: var(--col-gradient);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px !important;
  border-radius: 50px;
  transition: all .25s;
}
.btn-nav-cta:hover { opacity: .9; transform: translateY(-1px); }
.btn-nav-cta::after { display: none !important; }

/* Mega dropdown */
.mega-dropdown {
  min-width: 300px;
  border: none;
  border-radius: var(--col-radius);
  box-shadow: var(--col-shadow-lg);
  padding: 10px;
  border-top: 3px solid var(--col-accent);
}
.mega-dropdown .dropdown-item {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: var(--col-radius-sm);
  color: var(--col-text);
}
.mega-dropdown .dropdown-item:hover { background: var(--col-accent-light); color: var(--col-accent); }

/* ── Page Hero / Breadcrumb ─────────────────────────────────── */
.page-hero {
  background: var(--col-gradient);
  padding: 50px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: 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'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%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");
}
.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,.7); font-size: 13px; }
.breadcrumb-item.active { color: var(--col-accent); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section {
  min-height: 90vh;
  background: linear-gradient(135deg, #0D1B2A 0%, #1B3F7A 60%, #2A1200 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute; inset: 0;
  background: url('../images/banner.jpg') center center / cover no-repeat;
  opacity: .12;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(232,106,16,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(27,63,122,.3) 0%, transparent 50%);
}
/* Tricolor accent bar at top of hero */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF9933 0%, #FF9933 33%, #fff 33%, #fff 66%, #138808 66%, #138808 100%);
  z-index: 10;
}
.hero-shapes span {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(232,106,16,.12);
  animation: floatShape 6s ease-in-out infinite;
}
.hero-shapes span:nth-child(1){ width:320px;height:320px;top:-80px;right:8%;animation-delay:0s; }
.hero-shapes span:nth-child(2){ width:200px;height:200px;bottom:10%;left:3%;animation-delay:2s; }
.hero-shapes span:nth-child(3){ width:120px;height:120px;top:20%;left:28%;animation-delay:4s; }
@keyframes floatShape {
  0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-20px) rotate(10deg)}
}

.hero-content { position: relative; z-index: 5; }
.hero-est-badge {
  display: inline-flex; align-items: center;
  background: rgba(232,106,16,.15);
  border: 1px solid rgba(232,106,16,.35);
  color: #FFB347;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 8px;
}
.hero-title span { color: #FFB347; }
.hero-title-hindi {
  font-size: clamp(.85rem, 1.2vw, 1rem);
  color: rgba(255,255,255,.6);
  font-weight: 400;
  font-family: var(--font-body);
  margin-bottom: 10px;
  display: block;
}
.hero-tagline {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}
.hero-meta-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero-meta-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}
.hero-meta-badge.naac {
  background: rgba(232,106,16,.2);
  border-color: rgba(232,106,16,.4);
  color: #FFB347;
}
.btn-hero-primary {
  background: var(--col-accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  transition: all .25s;
  text-decoration: none;
  display: inline-block;
}
.btn-hero-primary:hover { background: var(--col-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,106,16,.4); }
.btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.5);
  transition: all .25s;
  text-decoration: none;
  display: inline-block;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* Quick Enquiry Card */
.hero-enquiry-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--col-radius);
  backdrop-filter: blur(14px);
  padding: 26px;
  position: relative;
  z-index: 5;
}
.hero-enquiry-card h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; font-weight: 700; }
.hero-enquiry-card .form-control {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 13px;
  border-radius: var(--col-radius-sm);
  padding: 9px 14px;
}
.hero-enquiry-card .form-control::placeholder { color: rgba(255,255,255,.5); }
.hero-enquiry-card .form-control:focus {
  background: rgba(255,255,255,.18);
  border-color: var(--col-accent);
  box-shadow: none;
  color: #fff;
}
.hero-enquiry-card select.form-control option { color: var(--col-text); background: #fff; }

/* ── Stats Strip ────────────────────────────────────────────── */
.stats-strip {
  background: #fff;
  border-radius: var(--col-radius);
  box-shadow: var(--col-shadow-lg);
  margin-top: -48px;
  position: relative;
  z-index: 20;
  border-top: 4px solid var(--col-accent);
  overflow: hidden;
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--col-border);
  transition: background .25s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--col-accent-light); }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--col-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: var(--col-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.stat-icon { font-size: 22px; color: var(--col-accent); margin-bottom: 8px; }

/* ── About Strip ────────────────────────────────────────────── */
.about-img-wrap {
  border-radius: var(--col-radius);
  overflow: hidden;
  box-shadow: var(--col-shadow-md);
  position: relative;
}
.about-img-wrap img { width: 100%; height: 360px; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--col-accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--col-radius-sm);
  font-weight: 700;
  font-size: 13px;
}
.highlight-list { list-style: none; padding: 0; margin: 0; }
.highlight-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--col-border);
  font-size: 14px;
}
.highlight-list li:last-child { border-bottom: none; }
.highlight-list li i { color: var(--col-accent); font-size: 13px; margin-top: 3px; flex-shrink: 0; }

/* ── NAAC Badge ─────────────────────────────────────────────── */
.naac-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #1B3F7A, #E86A10);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--col-radius-sm);
  font-size: 13px;
  font-weight: 700;
}
.naac-grade {
  background: #fff;
  color: var(--col-accent);
  font-size: 1.4rem;
  font-weight: 900;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
}

/* ── Department Cards ───────────────────────────────────────── */
.dept-card {
  background: #fff;
  border-radius: var(--col-radius);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--col-border);
  border-bottom: 4px solid transparent;
  box-shadow: var(--col-shadow-sm);
  transition: all .3s ease;
  height: 100%;
  cursor: pointer;
}
.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--col-shadow-md);
  border-bottom-color: var(--col-accent);
}
.dept-icon-wrap {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--col-primary-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  color: var(--col-primary);
  transition: all .3s;
}
.dept-card:hover .dept-icon-wrap { background: var(--col-accent); color: #fff; }
.dept-card h5 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.dept-card p  { font-size: 12.5px; color: var(--col-muted); margin-bottom: 8px; }
.dept-course-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--col-accent);
  background: var(--col-accent-light);
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
}

/* ── Course Cards ───────────────────────────────────────────── */
.course-card {
  background: #fff;
  border-radius: var(--col-radius);
  border: 1px solid var(--col-border);
  box-shadow: var(--col-shadow-sm);
  padding: 22px;
  height: 100%;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--col-shadow-md); border-color: var(--col-accent); }
.badge-degree {
  font-size: 10.5px; font-weight: 700; padding: 3px 10px;
  border-radius: 50px; text-transform: uppercase; letter-spacing: .04em;
}
.badge-ug   { background: #EBF5FB; color: #1B4F8A; }
.badge-pg   { background: #FEF0E6; color: #C45808; }
.badge-dip  { background: #E8F8F5; color: #1A8561; }
.badge-cert { background: #F5EEF8; color: #6C3483; }
.badge-aided { background: #D1FAE5; color: #065F46; font-size: 10px; padding: 2px 8px; border-radius: 50px; }
.badge-sf    { background: #EDE9FE; color: #5B21B6; font-size: 10px; padding: 2px 8px; border-radius: 50px; }
.course-card h5 { font-size: 1rem; font-weight: 700; margin: 10px 0 6px; }
.course-meta { font-size: 12.5px; color: var(--col-muted); }
.course-meta i { color: var(--col-accent); margin-right: 4px; }
.course-meta span { margin-right: 10px; }

/* ── Feature Cards ──────────────────────────────────────────── */
.feature-card {
  background: #fff;
  border-radius: var(--col-radius);
  border: 1px solid var(--col-border);
  padding: 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: all .3s;
  box-shadow: var(--col-shadow-sm);
  height: 100%;
}
.feature-card:hover {
  transform: translateX(6px);
  box-shadow: var(--col-shadow-md);
  border-color: var(--col-accent);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--col-radius-sm);
  background: var(--col-accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--col-accent);
  flex-shrink: 0;
  transition: all .3s;
}
.feature-card:hover .feature-icon { background: var(--col-accent); color: #fff; }
.feature-card h6 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.feature-card p  { font-size: 12.5px; color: var(--col-muted); margin: 0; line-height: 1.5; }

/* ── Faculty Cards ──────────────────────────────────────────── */
.faculty-card {
  background: #fff;
  border-radius: var(--col-radius);
  border: 1px solid var(--col-border);
  padding: 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--col-shadow-sm);
  transition: all .3s;
  height: 100%;
}
.faculty-card:hover { transform: translateY(-4px); box-shadow: var(--col-shadow-md); }
.faculty-avatar-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid var(--col-accent-light);
}
.faculty-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.faculty-info h6 { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.faculty-info small { font-size: 11.5px; color: var(--col-muted); display: block; }
.faculty-dept-tag {
  font-size: 10.5px; font-weight: 600;
  color: var(--col-accent);
  background: var(--col-accent-light);
  padding: 2px 8px; border-radius: 50px;
  display: inline-block; margin-top: 4px;
}

/* Full faculty page card */
.faculty-full-card {
  background: #fff;
  border-radius: var(--col-radius);
  border: 1px solid var(--col-border);
  box-shadow: var(--col-shadow-sm);
  padding: 24px;
  text-align: center;
  transition: all .3s;
  height: 100%;
}
.faculty-full-card:hover { transform: translateY(-6px); box-shadow: var(--col-shadow-md); }
.faculty-full-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--col-accent-light);
  margin: 0 auto 14px;
}
.faculty-full-avatar img { width: 100%; height: 100%; object-fit: cover; }
.faculty-full-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.faculty-full-card .desig { font-size: 13px; color: var(--col-accent); font-weight: 600; margin-bottom: 2px; }
.faculty-full-card .qual  { font-size: 12px; color: var(--col-muted); margin-bottom: 8px; }
.exp-badge {
  background: var(--col-accent-light);
  color: var(--col-accent);
  font-size: 11.5px; font-weight: 700;
  padding: 3px 12px; border-radius: 50px;
  display: inline-block;
}

/* ── Admission Band ─────────────────────────────────────────── */
.admission-band {
  background: var(--col-gradient);
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}
.admission-status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: 50px;
  margin-bottom: 20px;
}
.admission-status-badge .dot-open  { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: blink 1s infinite; }
.admission-status-badge .dot-closed { width: 8px; height: 8px; border-radius: 50%; background: #f87171; }
.admission-band h2 { color: #fff; font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 12px; }
.admission-band p  { color: rgba(255,255,255,.75); }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { color: rgba(255,255,255,.85); font-size: 13px; padding: 5px 0; }
.doc-list li i { color: var(--col-accent); margin-right: 8px; }

/* ── Notice Board ───────────────────────────────────────────── */
.notice-board {
  background: #fff;
  border-radius: var(--col-radius);
  border: 1px solid var(--col-border);
  box-shadow: var(--col-shadow-sm);
  overflow: hidden;
  height: 100%;
}
.notice-header {
  background: var(--col-gradient);
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; gap: 8px;
}
.notice-item {
  padding: 12px 20px;
  border-bottom: 1px solid var(--col-border);
  transition: background .2s;
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { background: var(--col-accent-light); }
.notice-item-title { font-size: 13.5px; font-weight: 600; color: var(--col-text); line-height: 1.4; }
.notice-item-date  { font-size: 11.5px; color: var(--col-muted); margin-top: 2px; }
.badge-important { background: #FEE2E2; color: #DC2626; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 50px; }
.badge-cat { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 50px; text-transform: uppercase; }
.badge-cat.exam      { background: #EDE9FE; color: #5B21B6; }
.badge-cat.admission { background: #D1FAE5; color: #065F46; }
.badge-cat.result    { background: #FEF3C7; color: #92400E; }
.badge-cat.event     { background: #DBEAFE; color: #1E40AF; }
.badge-cat.general   { background: #F3F4F6; color: #374151; }

/* ── Gallery ────────────────────────────────────────────────── */
.gallery-item {
  overflow: hidden;
  border-radius: var(--col-radius-sm);
  position: relative;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(232,106,16,.85) 100%);
  opacity: 0;
  transition: opacity .3s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 26px; }
.gallery-placeholder {
  width: 100%; height: 100%;
  background: var(--col-accent-light);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--col-accent);
}

/* ── Testimonials ───────────────────────────────────────────── */
.testi-card {
  background: #fff;
  border-radius: var(--col-radius);
  padding: 28px;
  margin: 10px;
  box-shadow: var(--col-shadow-sm);
  border: 1px solid var(--col-border);
}
.testi-stars { color: #F59E0B; font-size: 13px; margin-bottom: 10px; }
.testi-text  { font-size: 14px; color: var(--col-text); font-style: italic; line-height: 1.7; margin-bottom: 16px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--col-accent);
  color: #fff;
  font-size: 18px; font-weight: 700;
  font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-name   { font-size: 14px; font-weight: 700; }
.testi-course { font-size: 12px; color: var(--col-muted); }

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section { background: var(--col-dark); padding: 70px 0; text-align: center; }
.cta-section h2 { color: #fff; font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: 10px; }
.cta-section p  { color: rgba(255,255,255,.65); margin-bottom: 28px; }
.btn-cta-white {
  background: #fff; color: var(--col-primary); font-weight: 700;
  padding: 12px 28px; border-radius: 50px; font-size: 14px;
  transition: all .25s; text-decoration: none; display: inline-block;
}
.btn-cta-white:hover { background: var(--col-accent); color: #fff; }
.btn-cta-wa {
  background: #25D366; color: #fff; font-weight: 700;
  padding: 12px 24px; border-radius: 50px; font-size: 14px;
  transition: all .25s; text-decoration: none; display: inline-block;
}
.btn-cta-wa:hover { background: #1fba58; color: #fff; }
.btn-cta-call {
  background: var(--col-accent); color: #fff; font-weight: 700;
  padding: 12px 24px; border-radius: 50px; font-size: 14px;
  transition: all .25s; text-decoration: none; display: inline-block;
}
.btn-cta-call:hover { background: var(--col-accent-dark); color: #fff; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: #0A1628; color: rgba(255,255,255,.75); }
.footer-top  { padding: 60px 0 40px; }
.footer-logo { height: 48px; filter: brightness(0) invert(1) opacity(.8); }
.footer-brand { font-family: var(--font-display); color: #fff; font-size: 1.05rem; font-weight: 700; }
.footer-about { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-widget-title {
  color: #fff; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,.08);
  position: relative;
}
.footer-widget-title::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 30px; height: 2px; background: var(--col-accent);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 13px; transition: all .2s; }
.footer-links a:hover { color: var(--col-accent); padding-left: 4px; }
.footer-links i { font-size: 10px; margin-right: 6px; color: var(--col-accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 13px; }
.footer-contact li:last-child { border: none; }
.footer-contact i { color: var(--col-accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.6); }
.footer-contact a:hover { color: var(--col-accent); }
.footer-map iframe { border-radius: var(--col-radius-sm); opacity: .85; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 14px; margin-right: 6px; transition: all .25s;
}
.social-fb { background: #3b5998; color: #fff; }
.social-fb:hover { background: #2d4373; color: #fff; }
.social-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.social-ig:hover { opacity: .85; color: #fff; }
.social-yt { background: #c4302b; color: #fff; }
.social-yt:hover { background: #a52420; color: #fff; }
.social-wa { background: #25D366; color: #fff; }
.social-wa:hover { background: #1fba58; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--col-accent); }

/* ── WhatsApp Popup ─────────────────────────────────────────── */
.wa-float-wrap { position: fixed; bottom: 24px; right: 22px; z-index: 9999; }
.wa-float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  font-size: 26px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  animation: waPulse 2.2s infinite;
  transition: all .3s; position: relative;
}
.wa-float-btn:hover { background: #1fba58; transform: scale(1.08); }
@keyframes waPulse {
  0%  { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-badge {
  position: absolute; top: -4px; right: -4px;
  background: #EF4444; color: #fff;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.wa-popup {
  position: fixed; bottom: 90px; right: 22px;
  width: 310px;
  background: #ECE5DD;
  border-radius: var(--col-radius);
  box-shadow: var(--col-shadow-lg);
  z-index: 9998; overflow: hidden;
  display: none;
  animation: slideUp .3s ease;
}
.wa-popup.open { display: block; }
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.wa-popup-header {
  background: #075E54; padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.wa-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
}
.wa-name  { font-size: 14px; font-weight: 700; color: #fff; }
.wa-status { font-size: 11px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 4px; }
.wa-dot   { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: blink 1.4s infinite; }
.wa-close { background: none; border: none; color: rgba(255,255,255,.7); font-size: 14px; cursor: pointer; padding: 0; }
.wa-popup-body { padding: 14px 12px; }
.wa-bubble {
  background: #fff; border-radius: 0 12px 12px 12px;
  padding: 10px 14px; font-size: 13.5px; color: #111;
  margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.wa-bubble p { margin: 0; line-height: 1.5; }
.wa-time { font-size: 10px; color: #999; float: right; margin-top: 4px; }
.wa-prompt { font-size: 12px; color: #555; margin: 6px 0 8px; font-weight: 600; }
.wa-options { display: flex; flex-direction: column; gap: 6px; }
.wa-option-btn {
  background: #fff; border: 1px solid #ddd;
  border-radius: 50px; padding: 7px 14px;
  font-size: 12.5px; font-weight: 600; color: #075E54;
  text-decoration: none; text-align: center; transition: all .2s;
}
.wa-option-btn:hover { background: #075E54; color: #fff; border-color: #075E54; text-decoration: none; }

/* ── Back to Top ─────────────────────────────────────────────── */
.btn-back-top {
  position: fixed; bottom: 92px; right: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--col-primary); color: #fff;
  border: none; cursor: pointer; font-size: 14px;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--col-shadow-md); z-index: 9990; transition: all .3s;
}
.btn-back-top.show { display: flex; }
.btn-back-top:hover { background: var(--col-accent); transform: translateY(-3px); }

/* ── Filter Pills ─────────────────────────────────────────────── */
.filter-btn {
  background: #fff; border: 1.5px solid var(--col-border);
  color: var(--col-muted); font-size: 13px; font-weight: 600;
  padding: 7px 18px; border-radius: 50px; cursor: pointer;
  transition: all .25s; margin: 4px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--col-accent); color: #fff; border-color: var(--col-accent);
}

/* ── Timeline ─────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 0; bottom: 0;
  width: 2px; background: var(--col-border);
}
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-dot {
  position: absolute; left: -26px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--col-accent);
  border: 3px solid var(--col-accent-light);
}
.timeline-year { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--col-accent); letter-spacing: .06em; margin-bottom: 4px; }
.timeline-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.timeline-desc  { font-size: 13px; color: var(--col-muted); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--col-primary); color: #fff; font-weight: 600; border: none;
  padding: 10px 24px; border-radius: 50px; transition: all .25s;
  display: inline-block; text-decoration: none;
}
.btn-primary-custom:hover { background: var(--col-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-accent-custom {
  background: var(--col-accent); color: #fff; font-weight: 600; border: none;
  padding: 10px 24px; border-radius: 50px; transition: all .25s;
  display: inline-block; text-decoration: none;
}
.btn-accent-custom:hover { background: var(--col-accent-dark); color: #fff; transform: translateY(-1px); }
.view-all-link {
  font-size: 13px; font-weight: 700; color: var(--col-accent);
  border: 1.5px solid var(--col-accent);
  padding: 6px 18px; border-radius: 50px;
  transition: all .25s; text-decoration: none; display: inline-block;
}
.view-all-link:hover { background: var(--col-accent); color: #fff; }

/* ── Policy page ─────────────────────────────────────────────── */
.policy-content h4 { font-size: 1.05rem; font-weight: 700; color: var(--col-primary); margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--col-accent-light); }
.policy-content h5 { font-size: .95rem; font-weight: 700; color: var(--col-dark); margin: 16px 0 8px; }
.policy-content ul  { padding-left: 20px; margin-bottom: 14px; }
.policy-content ul li { margin-bottom: 5px; }
.policy-content p   { margin-bottom: 12px; }
@media print {
  .main-navbar,.ticker-bar,.top-bar,.site-footer,.wa-float-wrap,.btn-back-top,.col-lg-4{display:none!important;}
  .col-lg-8{width:100%!important;max-width:100%!important;flex:0 0 100%!important;}
}

/* ── Admin ────────────────────────────────────────────────────── */
body.admin-body { background: #F4F6FA; font-family: var(--font-body); }
.admin-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 250px;
  background: linear-gradient(180deg, #0A1628 0%, #1B3F7A 100%);
  z-index: 100; overflow-y: auto; transition: transform .3s;
}
.admin-sidebar-logo { padding: 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-logo img { height: 38px; filter: brightness(0) invert(1) opacity(.85); }
.admin-sidebar-logo h6 { color: #fff; font-size: 13px; margin: 6px 0 0; font-weight: 700; }
.admin-sidebar-logo small { color: rgba(255,255,255,.5); font-size: 10.5px; }
.sidebar-section-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.3); padding: 14px 18px 4px; }
.sidebar-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 18px; color: rgba(255,255,255,.65);
  font-size: 13px; font-weight: 500; text-decoration: none;
  border-left: 3px solid transparent; transition: all .2s;
}
.sidebar-nav-link i { width: 18px; text-align: center; font-size: 14px; }
.sidebar-nav-link:hover, .sidebar-nav-link.active {
  color: #fff; background: rgba(255,255,255,.08); border-left-color: var(--col-accent); text-decoration: none;
}
.sidebar-badge {
  margin-left: auto; background: #EF4444; color: #fff;
  font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 50px;
}
.admin-main { margin-left: 250px; min-height: 100vh; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--col-border);
  padding: 12px 24px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50; box-shadow: var(--col-shadow-sm);
}
.admin-topbar h5 { margin: 0; font-size: 16px; font-weight: 700; }
.admin-content { padding: 28px 24px; }
.stat-card {
  border-radius: var(--col-radius); padding: 22px; color: #fff;
  box-shadow: var(--col-shadow-md); transition: transform .25s; height: 100%;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-card .sc-num { font-size: 2rem; font-weight: 800; line-height: 1; font-family: var(--font-display); }
.stat-card .sc-label { font-size: 12px; opacity: .85; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.stat-card .sc-icon { font-size: 2.5rem; opacity: .2; position: absolute; right: 18px; top: 18px; }
.sc-blue   { background: linear-gradient(135deg,#1B3F7A,#2563EB); }
.sc-orange { background: linear-gradient(135deg,#E86A10,#F59E0B); }
.sc-red    { background: linear-gradient(135deg,#DC2626,#EF4444); }
.sc-purple { background: linear-gradient(135deg,#5B21B6,#7C3AED); }
.admin-table th { background: var(--col-accent-light); color: var(--col-accent); font-size: 12.5px; font-weight: 700; border: none; }
.admin-table td { font-size: 13px; vertical-align: middle; border-color: var(--col-border); }
.admin-table tr:hover td { background: var(--col-light-bg); }
.admin-card {
  background: #fff; border-radius: var(--col-radius); padding: 24px;
  box-shadow: var(--col-shadow-sm); border: 1px solid var(--col-border); margin-bottom: 24px;
}
.admin-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--col-border); }
.nav-pills .nav-link { border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--col-accent); padding: 7px 18px; border: 1.5px solid var(--col-accent); }
.nav-pills .nav-link.active { background: var(--col-accent); color: #fff; border-color: var(--col-accent); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main    { margin-left: 0; }
  .hero-section  { min-height: auto; padding: 60px 0; }
  .stats-strip   { margin-top: 0; }
  .stat-item     { border-right: none; border-bottom: 1px solid var(--col-border); }
  .stat-item:last-child { border-bottom: none; }

  /* ── Mobile Navbar ── */
  .main-navbar { min-height: auto; }

  /* Collapsed nav panel */
  #navbarMain {
    background: #fff;
    border-top: 2px solid var(--col-accent);
    max-height: 80vh;
    overflow-y: auto;
    padding: 8px 0 16px;
    box-shadow: 0 8px 24px rgba(27,63,122,.12);
  }

  /* Nav items stacked vertically */
  .main-navbar .nav-link {
    font-size: 14px;
    padding: 10px 20px !important;
    border-bottom: 1px solid #f0f4fa;
    border-radius: 0;
  }
  .main-navbar .nav-link::after { display: none; }

  /* Active / hover state */
  .main-navbar .nav-link.active,
  .main-navbar .nav-link:hover {
    background: #f4f7fb;
    color: var(--col-primary) !important;
    padding-left: 28px !important;
  }

  /* Dropdown toggle arrow */
  .main-navbar .dropdown-toggle::after {
    margin-left: auto;
    float: right;
    margin-top: 6px;
  }

  /* Mega dropdowns — flat on mobile */
  .mega-dropdown {
    position: static !important;
    float: none !important;
    min-width: 100% !important;
    width: 100% !important;
    border: none !important;
    border-top: 1px solid #e8edf5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #f8fafd !important;
    padding: 4px 0 8px !important;
    margin: 0 !important;
  }

  /* Remove two-column split inside Academics dropdown */
  .mega-dropdown .row.no-gutters { flex-direction: column; }
  .mega-dropdown .col-5,
  .mega-dropdown .col-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    border-right: none !important;
  }

  /* Section labels inside dropdown */
  .mega-dropdown [style*="text-transform:uppercase"],
  .mega-dropdown [style*="text-transform: uppercase"] {
    padding: 8px 20px 4px !important;
    font-size: 10px !important;
  }

  /* Dropdown items on mobile */
  .mega-dropdown .dropdown-item {
    font-size: 13px !important;
    padding: 8px 20px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #edf1f8;
    background: transparent;
  }
  .mega-dropdown .dropdown-item:hover { background: #eaf0fa !important; padding-left: 28px !important; }

  /* Department grid inside Academics — 2 cols on mobile */
  .mega-dropdown .row.no-gutters .row.no-gutters { flex-direction: row; flex-wrap: wrap; }
  .mega-dropdown .row.no-gutters .row.no-gutters .col-6 { width: 50%; flex: 0 0 50%; max-width: 50%; }

  /* CTA button in navbar */
  .btn-nav-cta {
    display: block;
    margin: 8px 16px 4px;
    text-align: center;
  }

  /* Align items */
  .navbar-nav.ml-auto { margin-left: 0 !important; }
}

@media (max-width: 767px) {
  .section-pad { padding: 50px 0; }
  .ticker-wrap { max-width: 200px; }
  .wa-popup    { width: 280px; right: 10px; }
  .page-hero   { padding: 36px 0 28px; }

  /* Extra small: department grid becomes full-width */
  .mega-dropdown .row.no-gutters .row.no-gutters .col-6 {
    width: 100%; flex: 0 0 100%; max-width: 100%;
  }

  /* Brand text trim on very small screens */
  .brand-tagline { display: none; }
  .brand-sub     { display: none; }
  .nav-logo      { height: 44px; }
}
