/* Hindu College of Pharmacy — PHP site styles */
:root {
  --navy: #1e3a8a;
  --navy-dark: #152c6e;
  --navy-light: #2d4fad;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --text: #1f2937;
  --muted: #6b7280;
  --max: 1280px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.serif { font-family: 'Merriweather', serif; }

.topbar {
  background: var(--navy-dark);
  color: #e5e7eb;
  font-size: 0.875rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}
.topbar-inner, .header-inner, .container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar-left { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
}
.badge-gold { background: var(--gold-light); color: var(--navy-dark); }
.badge-green { background: #22c55e; color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 0.85rem; }
.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  color: #fff;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.social-icon svg { width: 0.85rem; height: 0.85rem; display: block; }
.social-fb { background: #1877f2; }
.social-yt { background: #ff0000; }
.social-ig { background: linear-gradient(45deg, #f58529, #dd2a7b 45%, #8134af 70%, #515bd4); }
.social-icon:hover { transform: translateY(-1px); opacity: 0.92; color: #fff; }
.topbar-call {
  color: #e5e7eb;
  font-weight: 600;
  white-space: nowrap;
}
.topbar-call .call-label {
  color: var(--gold-light);
  font-weight: 800;
  margin-right: 0.2rem;
}
.topbar-call:hover { color: var(--gold-light); }

.site-header {
  background: linear-gradient(to bottom, #eff6ff, #fff 60%);
  border-bottom: 4px solid var(--navy);
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
  overflow: visible;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1rem;
}
.brand { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; }
.brand img.logo { width: 7.5rem; height: 7.5rem; object-fit: contain; flex-shrink: 0; }
.brand-text { flex: 1; text-align: center; min-width: 0; }
.brand-text h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  color: #1e3a8a;
  font-weight: 900;
  line-height: 1.15;
}
.auto-badge {
  display: inline-block;
  margin-top: 0.5rem;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fbbf24;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 1rem;
  border-radius: 0.35rem;
}
.brand-meta {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.45;
}
.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-actions .naac { height: 7.5rem; width: auto; object-fit: contain; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.7rem 1.25rem;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #d97706; }
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.45);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

/* Nav */
.main-nav {
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  overflow: visible;
}
.nav-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: visible;
}
.nav-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}
.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.7rem 0.4rem;
  white-space: nowrap;
  width: 100%;
  height: 100%;
}
.nav-link:hover { color: var(--gold-light); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  border: 1px solid #e5e7eb;
  padding: 0.25rem 0;
  z-index: 200;
}
.nav-item:hover > .dropdown { display: block; }
.nav-item.align-right > .dropdown { left: auto; right: 0; }
.dropdown::before {
  content: '';
  position: absolute;
  top: -0.45rem;
  left: 0;
  right: 0;
  height: 0.45rem;
}
.dropdown a, .dropdown .has-sub > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  color: #374151;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.dropdown a:hover, .dropdown .has-sub:hover > button {
  background: #eff6ff;
  color: #1e3a8a;
}
.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 14rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  border: 1px solid #e5e7eb;
  padding: 0.25rem 0;
  z-index: 210;
}
.has-sub { position: relative; }
.has-sub:hover > .submenu { display: block; }
.nav-item.align-right .submenu { left: auto; right: 100%; }

.codes-bar {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
  padding: 0.55rem 1rem;
  text-align: center;
  font-weight: 800;
  color: var(--navy-dark);
  font-size: 0.85rem;
  border-bottom: 2px solid #d97706;
}
.codes-bar .code {
  background: #fff;
  padding: 0.1rem 0.45rem;
  border-radius: 0.25rem;
  letter-spacing: 0.08em;
}
.codes-bar .pill {
  background: var(--navy-dark);
  color: var(--gold-light);
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  color: #fff;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,78,0.95), rgba(30,58,138,0.75), rgba(45,79,173,0.55));
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}
.hero-content .admit {
  display: inline-block;
  background: rgba(251,191,36,0.2);
  border: 1px solid rgba(251,191,36,0.4);
  color: #fcd34d;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0 0 1rem;
  line-height: 1.2;
  max-width: 36rem;
}
.hero-content h2 span { color: var(--gold-light); }
.hero-content p { color: #dbeafe; font-size: 1.05rem; max-width: 34rem; margin: 0 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.4rem;
}
.hero-dots button {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { width: 2rem; background: var(--gold-light); }

.ticker {
  background: rgba(245, 158, 11, 0.95);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  background: var(--navy-dark);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.55rem 1rem;
  flex-shrink: 0;
  letter-spacing: 0.06em;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-text {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 35s linear infinite;
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.875rem;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.stats {
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  color: #fff;
  padding: 2.5rem 1rem;
}
.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stats-grid .num { font-size: 1.85rem; font-weight: 900; }
.stats-grid .lbl { color: #bfdbfe; font-size: 0.875rem; margin-top: 0.25rem; }

.section { padding: 3.5rem 1rem; }
.section-muted { background: #f9fafb; }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title .eyebrow {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.section-title h2 {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 900;
  color: #111827;
}
.section-title p { color: var(--muted); margin: 0.5rem auto 0; max-width: 36rem; font-size: 0.9rem; }

.principal-grid {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}
.principal-photo {
  width: 18rem;
  height: 18rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  border: 4px solid #dbeafe;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.principal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.principal-meta { text-align: center; }
.principal-meta h3 { margin: 0.85rem 0 0.2rem; color: #1e3a8a; font-size: 1.2rem; }
.principal-meta .qual { color: #d97706; font-weight: 800; font-size: 0.875rem; margin: 0; }
.principal-meta .desig { color: #4b5563; font-weight: 600; font-size: 0.875rem; margin: 0.15rem 0 0; }

.principal-desk-hero {
  text-align: center;
  margin: 0 auto 2.25rem;
  max-width: 28rem;
}
.principal-photo-lg {
  width: min(22rem, 85vw);
  height: min(22rem, 85vw);
  border-width: 5px;
  border-radius: 1.15rem;
  box-shadow: 0 14px 32px rgba(30, 58, 138, 0.18);
}
.principal-desk-name {
  margin: 1.15rem 0 0.35rem !important;
  font-size: 1.55rem !important;
  color: #1e3a8a !important;
  text-align: center;
}
.principal-desk-hero .qual {
  color: #d97706;
  font-weight: 800;
  font-size: 1rem;
  margin: 0;
}
.principal-desk-hero .desig {
  color: #4b5563;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.25rem 0 0;
}
.principal-card {
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  padding: 1.75rem;
}
.principal-card p { color: #374151; font-size: 0.95rem; line-height: 1.65; margin: 0 0 1rem; }
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  border-radius: 0.5rem;
}
.btn-light:hover { background: #eff6ff; }

.two-col {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.card-head {
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  color: #fff;
  padding: 1rem 1.25rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-head a { color: #fcd34d; font-size: 0.75rem; font-weight: 600; }
.announce-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f9fafb;
}
.announce-item:hover { background: #f8fafc; }
.announce-date { text-align: center; min-width: 3rem; }
.announce-date .d { color: #1d4ed8; font-weight: 800; font-size: 0.875rem; }
.announce-date .m { color: #9ca3af; font-size: 0.7rem; }
.tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
}
.tag-green { background: #dcfce7; color: #15803d; }
.tag-blue { background: #dbeafe; color: #1d4ed8; }
.tag-amber { background: #fef3c7; color: #b45309; }
.tag-purple { background: #f3e8ff; color: #7e22ce; }
.tag-rose { background: #ffe4e6; color: #e11d48; }
.tag-cyan { background: #cffafe; color: #0e7490; }
.tag-gray { background: #f3f4f6; color: #374151; }
.announce-item p { margin: 0; font-size: 0.875rem; color: #374151; }
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 1rem;
}
.quick-grid a {
  display: block;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.6rem 0.7rem;
  border-radius: 0.5rem;
}
.quick-grid a:hover { background: #dbeafe; }

.programs-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.program-card {
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  transition: 0.25s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.program-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.program-top { color: #fff; padding: 1.25rem; font-weight: 800; font-size: 0.9rem; }
.program-top.teal { background: linear-gradient(135deg, #0d9488, #047857); }
.program-top.blue { background: linear-gradient(135deg, #2563eb, #4338ca); }
.program-top.violet { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.program-top.rose { background: linear-gradient(135deg, #e11d48, #b91c1c); }
.program-top.amber { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.program-body { padding: 1rem; display: flex; justify-content: space-between; font-size: 0.75rem; color: #6b7280; }
.program-body span:first-child { color: #1d4ed8; font-weight: 700; }

.features-grid, .recruiters-grid, .gallery-grid, .pstats-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.features-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  border-radius: 1rem;
  padding: 1.5rem;
  color: #fff;
  min-height: 10rem;
}
.feature-card.amber { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.feature-card.blue { background: linear-gradient(135deg, #2563eb, #4338ca); }
.feature-card.emerald { background: linear-gradient(135deg, #059669, #0d9488); }
.feature-card.violet { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.feature-card.cyan { background: linear-gradient(135deg, #0891b2, #0284c7); }
.feature-card.rose { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.feature-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: 0.875rem; opacity: 0.92; line-height: 1.5; }

.recruiters-grid { grid-template-columns: repeat(4, 1fr); }
.recruiter {
  border-radius: 1rem;
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
.recruiter.blue { background: linear-gradient(135deg, #2563eb, #4338ca); }
.recruiter.violet { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.recruiter.cyan { background: linear-gradient(135deg, #0891b2, #0284c7); }
.recruiter.emerald { background: linear-gradient(135deg, #059669, #0d9488); }
.recruiter.rose { background: linear-gradient(135deg, #f43f5e, #dc2626); }
.recruiter.amber { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.recruiter.indigo { background: linear-gradient(135deg, #4f46e5, #6d28d9); }
.recruiter.teal { background: linear-gradient(135deg, #0d9488, #0284c7); }
.recruiter.fuchsia { background: linear-gradient(135deg, #c026d3, #e11d48); }
.recruiter.slate { background: linear-gradient(135deg, #475569, #3f3f46); }
.recruiter.lime { background: linear-gradient(135deg, #65a30d, #059669); }
.recruiter.orange { background: linear-gradient(135deg, #f97316, #eab308); }

.pstats-grid { grid-template-columns: repeat(4, 1fr); margin-top: 1.5rem; }
.pstat {
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}
.pstat .n { font-size: 2rem; font-weight: 900; }
.pstat .l { margin-top: 0.35rem; font-size: 0.875rem; opacity: 0.9; }
.pstat.amber { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.pstat.emerald { background: linear-gradient(135deg, #10b981, #0d9488); }
.pstat.blue { background: linear-gradient(135deg, #3b82f6, #4f46e5); }
.pstat.violet { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  height: 11rem;
  border-radius: 1rem;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
}
.gallery-item.blue { background: linear-gradient(135deg, #60a5fa, #4f46e5); }
.gallery-item.amber { background: linear-gradient(135deg, #fbbf24, #f97316); }
.gallery-item.green { background: linear-gradient(135deg, #4ade80, #0d9488); }
.gallery-item.purple { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.gallery-item.rose { background: linear-gradient(135deg, #fb7185, #db2777); }
.gallery-item.cyan { background: linear-gradient(135deg, #22d3ee, #3b82f6); }

.site-footer {
  background: #0f1f4e;
  color: #fff;
  padding: 3.5rem 1rem 1.5rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.footer-brand { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.footer-brand img { width: 4.5rem; height: 4.5rem; object-fit: contain; }
.footer-brand strong { display: block; font-size: 0.9rem; }
.footer-brand span { color: var(--gold-light); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.site-footer h4 { color: var(--gold-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 1rem; }
.site-footer p, .site-footer li { color: #93c5fd; font-size: 0.8rem; line-height: 1.55; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid #1e3a8a;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #60a5fa;
  font-size: 0.75rem;
}

.mobile-nav {
  display: none;
  background: var(--navy-dark);
  max-height: 24rem;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav details { border-bottom: 1px solid #1e3a8a; }
.mobile-nav summary, .mobile-nav > a {
  display: block;
  padding: 0.85rem 1rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.mobile-nav .sub a {
  display: block;
  padding: 0.45rem 1.5rem;
  color: #bfdbfe;
  font-size: 0.8rem;
}
.mobile-nav .sub .nested { padding-left: 2.25rem; color: #93c5fd; }

/* ---------- Inner pages ---------- */
.page-banner {
  background: linear-gradient(135deg, #0f1f4a 0%, #1e3a8a 55%, #2d4fad 100%);
  color: #fff;
  padding: 2.25rem 1rem 2.5rem;
}
.page-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.page-banner .breadcrumb {
  font-size: 0.78rem;
  color: #93c5fd;
  margin-bottom: 0.85rem;
}
.page-banner .breadcrumb a { color: #bfdbfe; }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb span { margin: 0 0.35rem; opacity: 0.7; }
.page-banner .eyebrow {
  display: inline-block;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}
.page-banner h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  color: #fff;
}
.page-banner p {
  margin: 0.65rem 0 0;
  max-width: 42rem;
  color: #bfdbfe;
  font-size: 0.95rem;
  line-height: 1.55;
}

.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1rem 3.5rem;
}
.page-prose {
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.75;
}
.page-prose > :first-child { margin-top: 0; }
.page-prose h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.35rem;
  color: #1e3a8a;
  font-weight: 800;
}
.page-prose h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.1rem;
  color: #1e3a8a;
  font-weight: 800;
}
.page-prose p { margin: 0 0 1rem; }
.page-prose ul, .page-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.page-prose li { margin-bottom: 0.4rem; }
.page-prose .lead {
  font-size: 1.05rem;
  color: #1f2937;
  font-weight: 500;
}

.content-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.25rem;
}
.content-card.accent {
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
  border-color: #dbeafe;
}
.vision-box {
  background: linear-gradient(135deg, #1e3a8a, #2d4fad);
  color: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.vision-box h2 { color: #fbbf24; margin: 0 0 0.75rem; font-size: 1.15rem; }
.vision-box p { margin: 0; font-size: 1.15rem; line-height: 1.6; font-weight: 600; }

.mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.mission-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 1rem 1.1rem;
}
.mission-list .num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #1e3a8a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.peo-grid {
  display: grid;
  gap: 1rem;
}
.peo-item {
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1rem 1.15rem;
}
.peo-item strong {
  display: block;
  color: #92400e;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.person-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  padding: 1.15rem;
  text-align: center;
}
.person-card.lead {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #eff6ff, #fff);
}
.person-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #1e3a8a;
}
.person-card .role {
  margin: 0;
  color: #d97706;
  font-weight: 700;
  font-size: 0.85rem;
}
.person-card .meta {
  margin: 0.35rem 0 0;
  color: #6b7280;
  font-size: 0.8rem;
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  background: #fff;
  margin-bottom: 1.5rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 640px;
}
.data-table th,
.data-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid #f3f4f6;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  background: #1e3a8a;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.data-table tr:nth-child(even) td { background: #f9fafb; }
.data-table .dept-row td {
  background: #eff6ff !important;
  color: #1e3a8a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
}

.award-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: award;
  display: grid;
  gap: 0.75rem;
}
.award-list li {
  counter-increment: award;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 1rem 1.1rem;
}
.award-list li::before {
  content: counter(award);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fbbf24;
  color: #78350f;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.85rem;
}

.staff-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.staff-group {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
}
.staff-group h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #1e3a8a;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #fbbf24;
}
.staff-group ol, .staff-group ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #374151;
  font-size: 0.88rem;
}
.staff-group li { margin-bottom: 0.35rem; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.check-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
}
.check-item::before {
  content: "✓";
  color: #059669;
  font-weight: 900;
}

.media-frame {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  margin: 1rem 0 1.5rem;
  text-align: center;
}
.media-frame img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.history-table { min-width: 480px; }

.oath-box {
  background: linear-gradient(180deg, #fffbeb, #fff);
  border: 1px solid #fde68a;
  border-radius: 1rem;
  padding: 1.75rem;
}
.oath-box ol {
  margin: 0;
  padding-left: 1.2rem;
}
.oath-box li {
  margin-bottom: 0.75rem;
  color: #374151;
  line-height: 1.65;
}

.profile-hero-img {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding: 0.65rem;
}
.profile-hero-img img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  object-position: center;
}
.inauguration-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  align-items: center;
}
.inauguration-card .media-frame img {
  width: 100%;
  max-height: 14rem;
  object-fit: cover;
}
.profile-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}
.profile-gallery .media-frame {
  margin: 0;
  height: 100%;
}
.profile-gallery img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.gb-list {
  display: grid;
  gap: 1.15rem;
}
.gb-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.15rem;
}
.gb-card-lead {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
}
.gb-photo {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 3px solid #dbeafe;
  background: #e8eefc;
  flex-shrink: 0;
}
.gb-photo img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.gb-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  color: #1e3a8a;
}
.gb-meta {
  margin: 0;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 600;
}
.gb-role {
  margin: 0.2rem 0 0.65rem;
  color: #d97706;
  font-weight: 800;
  font-size: 0.92rem;
}
.gb-bio {
  margin: 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.65;
}

.program-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.program-fact {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 1rem 1.1rem;
}
.program-fact .lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.35rem;
}
.program-fact strong {
  color: #1e3a8a;
  font-size: 0.98rem;
  line-height: 1.35;
}
.program-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}
.program-btn-outline {
  background: #fff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}
.program-btn-outline:hover {
  background: #eff6ff;
}
.program-faculty .faculty-photo {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  overflow: hidden;
  border: 3px solid #dbeafe;
  background: #f3f4f6;
}
.program-faculty .faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.faculty-profile-link {
  display: inline-block;
  margin-top: 0.65rem;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 0.85rem;
}
.faculty-profile-link:hover { color: #d97706; }

.faculty-profile-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  padding: 1.35rem;
  margin-bottom: 2rem;
}
.faculty-profile-photo {
  width: 220px;
  height: 260px;
  border-radius: 1rem;
  overflow: hidden;
  border: 4px solid #dbeafe;
  background: #fff;
}
.faculty-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.faculty-profile-meta h2 {
  margin: 0 0 0.35rem !important;
  color: #1e3a8a !important;
  font-size: 1.45rem !important;
}
.faculty-profile-meta .role {
  margin: 0 0 1rem;
  color: #d97706;
  font-weight: 800;
  font-size: 1rem;
}
.faculty-quick {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faculty-quick li {
  margin-bottom: 0.45rem;
  color: #374151;
  font-size: 0.95rem;
}
.faculty-quick a { color: #1e3a8a; font-weight: 700; }

.outcome-table td a {
  color: #1e3a8a;
  font-weight: 800;
}
.outcome-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.outcome-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: #1e3a8a;
  transition: 0.2s;
}
.outcome-card:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
  transform: translateY(-2px);
}
.outcome-card strong {
  font-size: 0.92rem;
  line-height: 1.4;
}
.outcome-card span {
  color: #d97706;
  font-weight: 800;
  font-size: 0.82rem;
}

.resource-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}
.resource-gallery figure {
  margin: 0;
}
.resource-gallery .media-frame {
  margin: 0;
}
.resource-gallery img {
  width: 100%;
  height: 11.5rem;
  object-fit: cover;
  display: block;
}
.resource-gallery figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
  text-align: center;
}
.resource-wide {
  margin: 1.25rem 0 1.75rem;
}
.resource-wide .media-frame {
  margin: 0;
}
.resource-wide img {
  width: 100%;
  height: auto;
  max-height: 34rem;
  object-fit: contain;
  display: block;
  background: #f8fafc;
}
.resource-wide figcaption {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #374151;
  text-align: center;
}

.pdf-frame {
  width: 100%;
  height: 78vh;
  min-height: 28rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #f8fafc;
  margin: 0 0 1.75rem;
}
.pdf-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.weblink-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.5rem;
}
.weblink-list a {
  display: block;
  padding: 0.7rem 0.95rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.65rem;
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 700;
}
.weblink-list a:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.weblink-list span {
  display: block;
  margin-top: 0.2rem;
  font-weight: 500;
  color: #6b7280;
  font-size: 0.78rem;
  word-break: break-all;
}
.data-table td a {
  color: #1e3a8a;
  font-weight: 800;
}

.helpline-box {
  background: linear-gradient(135deg, #fff7ed, #eff6ff);
  border: 1px solid #fed7aa;
  border-radius: 0.85rem;
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0 0;
}
.helpline-box h2 {
  margin-top: 0 !important;
}
.helpline-box .program-facts {
  margin-bottom: 0.85rem;
}
.helpline-box .program-links {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.contact-page {
  background: #f8fafc;
}
.contact-cards-wrap {
  padding: 2rem 1rem 2.25rem;
}
.contact-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 15px;
  box-shadow: 5px 5px 20px rgba(15, 23, 42, 0.08);
  padding: 2rem 1.35rem 1.75rem;
  text-align: center;
  min-height: 19rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card-icon {
  width: 5rem;
  height: 5rem;
  color: #dc2626;
  margin-bottom: 0.35rem;
  flex-shrink: 0;
}
.contact-card-icon svg {
  width: 100%;
  height: 100%;
}
.contact-card h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}
.contact-card p {
  margin: 0 0 0.35rem;
  line-height: 1.55;
  color: #111827;
  font-size: 0.95rem;
}
.contact-card p:last-child {
  margin-bottom: 0;
}
.contact-card a {
  color: inherit;
  text-decoration: none;
}
.contact-card a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.contact-map-full {
  width: 100%;
  line-height: 0;
  background: #e5e7eb;
}
.contact-map-full iframe {
  width: 100%;
  height: 26rem;
  border: 0;
  display: block;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
  margin: 0 0 1.75rem;
}
.activity-card {
  margin: 0;
}
.activity-card .media-frame {
  margin: 0 0 0.75rem;
}
.activity-card img {
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  display: block;
}
.activity-card h3 {
  margin: 0 0 0.4rem !important;
  font-size: 1rem !important;
  color: #1e3a8a !important;
}
.activity-card p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: #4b5563;
}
.activity-card a {
  color: #d97706;
  font-weight: 800;
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .faculty-profile-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .faculty-profile-photo {
    margin: 0 auto;
  }
  .faculty-quick { text-align: left; }
  .inauguration-grid,
  .profile-gallery {
    grid-template-columns: 1fr;
  }
  .profile-gallery img {
    height: 12rem;
  }
  .gb-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .gb-photo {
    margin: 0 auto;
  }
}

@media (max-width: 1100px) {
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .naac { height: 5rem; }
}
@media (max-width: 900px) {
  .stats-grid, .features-grid, .recruiters-grid, .pstats-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { min-height: 17rem; }
  .two-col, .principal-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-text h1 { font-size: 1.4rem; }
  .brand img.logo { width: 5rem; height: 5rem; }
}
@media (max-width: 640px) {
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; }
  .contact-map-full iframe { height: 20rem; }
  .header-actions .btn-gold { display: none; }
}
