﻿/* ============================================================
   MPSP — Maharana Pratap School of Pharmacy, Lucknow
   style.css  |  Variables + Base + All Components
   Stack: Bootstrap 5.3 + jQuery 3.7 + Slick + GLightbox + AOS
   ============================================================ */

/* ── 1. CSS VARIABLES ──────────────────────────────────────── */
:root {
  --primary: #1B4F8A;
  --primary-dark: #0f2d5e;
  --secondary: #0D9488;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --dark: #0f1f3d;
  --body-text: #4B5563;
  --light-bg: #F8FAFC;
  --white: #FFFFFF;
  --border: #E5E7EB;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. BASE RESET & BODY ───────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* overflow-x: hidden removed — it breaks position:sticky on the navbar.
     Horizontal clipping is handled per-section in responsive.css */
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* overflow-x: hidden removed — breaks sticky; section-level clips handle AOS overflow */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* section padding default */
.mpsp-section {
  padding: 100px 0;
}

/* ── 3. TOPBAR ─────────────────────────────────────────────── */
.mpsp-topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.90);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-left a,
.topbar-right a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.topbar-left a:hover,
.topbar-right a:hover {
  color: var(--accent);
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 12px;
  transition: var(--transition);
}

.topbar-social:hover {
  background: var(--accent);
  color: #1a1a1a !important;
  transform: translateY(-2px);
}

/* ── 4. IDENTITY BAR ───────────────────────────────────────── */
.mpsp-identity-bar {
  background: var(--white);
  border-bottom: 3px solid var(--accent);
  padding: 0px;
}

.identity-logo-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.identity-logo-left img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.identity-center {
  text-align: center;
  padding: 8px 0;
}

.identity-parent {
  font-size: 13px;
  color: var(--secondary);
  margin: 0 0 4px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.identity-name {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 800;
  color: var(--primary);
  margin: 6px 0;
  line-height: 1.15;
  font-family: var(--font-heading);
}

.identity-affiliation {
  font-size: 14px;
  color: var(--secondary);
  margin: 4px 0 0;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.identity-logo-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.identity-logo-right img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* ── 5. MAIN NAVBAR ────────────────────────────────────────── */
.mpsp-navbar {
  background: var(--white);
  padding: 0px 0;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.mpsp-navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
  border-bottom-color: transparent;
}

.mpsp-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary) !important;
}

.mpsp-navbar .navbar-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.mpsp-navbar .nav-link {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--dark) !important;
  padding: 10px 16px !important;
  transition: var(--transition);
  position: relative;
}

.mpsp-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  border: 0;                 /* strip Bootstrap's leftover dropdown-caret border (was painting blue over the bar) */
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 1px;
}

.mpsp-navbar .nav-link:hover,
.mpsp-navbar .nav-link.active {
  color: var(--primary) !important;
}

.mpsp-navbar .nav-link:hover::after,
.mpsp-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.mpsp-navbar .dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 220px;
  border-top: 3px solid var(--accent);
}

.mpsp-navbar .dropdown-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  padding: 9px 20px 9px 20px;
  transition: var(--transition);
  position: relative;
  border-left: 3px solid transparent;
}

.mpsp-navbar .dropdown-item:hover {
  background-color: rgba(27, 79, 138, 0.06);
  color: var(--primary);
  border-left-color: var(--secondary);
  padding-left: 24px;
}

/* Active item — MPSP logo blue + orange accent bar */
.mpsp-navbar .dropdown-item.active {
  background-color: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  letter-spacing: 0.2px;
}

/* Suppress Bootstrap's own :active flash overriding our colour */
.mpsp-navbar .dropdown-item:active {
  background-color: var(--primary-dark);
  color: #ffffff !important;
}

.mpsp-navbar .btn-apply,
.mpsp-identity-bar .btn-apply {
  background: var(--accent);
  color: #1a1a1a;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  border: none;
  white-space: nowrap;
  transition: var(--transition);
}

.mpsp-navbar .btn-apply:hover,
.mpsp-identity-bar .btn-apply:hover {
  background: var(--accent-hover);
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* hamburger icon color + touch target */
.mpsp-navbar .navbar-toggler {
  border-color: var(--primary);
  min-height: 44px;
  min-width: 44px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mpsp-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231B4F8A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── 6. TYPOGRAPHY HELPERS ─────────────────────────────────── */

/* ── Left-aligned heading box (default — inside col-lg-* layouts) ── */
.section-label {
  display: block;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.title-shape {
  position: relative;
  display: inline-block;
}

.title-shape::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
}

.section-title {
  display: block;
  text-align: left;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 28px;
  /* space for ::after underline (bottom:-10px) + gap */
  padding-bottom: 14px;
}

.section-subtitle {
  display: block;
  text-align: left;
  font-size: 15.5px;
  color: var(--body-text);
  max-width: 600px;
  margin: 0 0 28px;
  /* left-aligned — no auto centering */
  line-height: 1.7;
}

/* ── Centered section heading box (.text-center.mb-5) — overrides above ── */

.text-center .section-label {
  text-align: center;
}

.text-center .section-title {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 10px;
}

.text-center .title-shape::after {
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
}

.text-center .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  max-width: 660px;
}

/* ── 7. NOTICE / MARQUEE BAR ───────────────────────────────── */
.mpsp-notice-bar {
  background: var(--accent);
  color: #1a1a1a;
  padding: 10px 0;
  font-weight: 600;
  font-size: 14px;
}

.mpsp-notice-bar marquee {
  display: inline-block;
  vertical-align: middle;
}

.notice-label {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 16px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ── 8. HERO SECTION ───────────────────────────────────────── */
.mpsp-hero {
  min-height: 680px;
  background: linear-gradient(135deg, #0f2d5e 0%, #1B4F8A 60%, #0D9488 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

/* decorative blob behind content */
.mpsp-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-quote-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 14px 18px;
  max-width: 360px;
}

.hero-quote-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}

.hero-quote-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 4px;
  font-style: italic;
  line-height: 1.5;
}

.hero-quote-card small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* shape decorators */
.hero-shape-1 {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), transparent);
  opacity: 0.45;
}

.hero-shape-2 {
  position: absolute;
  bottom: 30px;
  left: -25px;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(245, 158, 11, 0.5);
  border-radius: 50%;
}

/* ── 9. ABOUT SECTION ──────────────────────────────────────── */
.about-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-img-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  text-align: center;
  min-width: 110px;
  border-left: 4px solid var(--accent);
}

.about-exp-badge .h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: block;
}

.about-exp-badge span {
  font-size: 12px;
  color: var(--body-text);
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

.about-mini-box {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 18px;
  height: 100%;
  border-bottom: 3px solid var(--primary);
  transition: var(--transition);
}

.about-mini-box:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.about-mini-box i {
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}

.about-mini-box h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.about-mini-box p {
  font-size: 13px;
  color: var(--body-text);
  margin: 0;
}

/* ── 10. STATS BAND ────────────────────────────────────────── */
.mpsp-stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 70px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.20);
  align-self: center;
}

/* ── 11. PROGRAMS / COURSES ────────────────────────────────── */
.mpsp-programs {
  background: var(--light-bg);
}

.programs-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.programs-tabs .nav-link {
  border-radius: var(--radius-pill) !important;
  padding: 9px 22px !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--body-text);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.programs-tabs .nav-link:hover,
.programs-tabs .nav-link.active {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 14px rgba(27, 79, 138, 0.25);
}

.program-card {
  border-radius: var(--radius) !important;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  border: none !important;
  box-shadow: var(--shadow-sm);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-img-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 2;   /* matches the 1536×1024 course banners → shown in full, no crop */
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}

.program-card:hover .program-img-wrap img {
  transform: scale(1.06);
}

.program-card .card-body {
  padding: 20px;
}

.program-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.program-tags .badge {
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  padding: 4px 8px;
}

.badge-primary-light {
  background: rgba(27, 79, 138, 0.10);
  color: var(--primary);
}

.program-card .card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 10px 0 8px;
  color: var(--dark);
}

.program-card .card-text {
  font-size: 13.5px;
  color: var(--body-text);
  line-height: 1.6;
}

.program-card .know-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
}

.program-card .know-more:hover {
  color: var(--secondary);
  gap: 8px;
}

/* stat card variant */
.program-stat-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 36px 28px !important;
  min-height: 340px;
}

.program-stat-card .display-4 {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.program-stat-card p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 24px;
}

/* Force all text in the stat / lateral-entry card to white */
.program-stat-card,
.program-stat-card h1,
.program-stat-card h2,
.program-stat-card h3,
.program-stat-card h4,
.program-stat-card h5,
.program-stat-card h6,
.program-stat-card span,
.program-stat-card small,
.program-stat-card .small {
  color: var(--white) !important;
}

/* ── 12. HOW TO APPLY ──────────────────────────────────────── */
.mpsp-apply {
  background: var(--white);
}

.apply-phone-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 32px;
  border-left: 4px solid var(--primary);
}

.apply-phone-box .phone-label {
  font-size: 12px;
  color: var(--body-text);
  margin: 0 0 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.apply-phone-box a {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.apply-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

.apply-step h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--dark);
  padding-top: 10px;
}

.apply-step p {
  font-size: 14px;
  color: var(--body-text);
  margin: 0;
}

.apply-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.apply-video-wrap {
  display: block;
  /* needed when element is <a> */
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  /* no underline on anchor variant */
  color: inherit;
}

.apply-video-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.apply-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 62, 0.35);
  transition: var(--transition);
}

.apply-video-wrap:hover::after {
  background: rgba(15, 29, 62, 0.50);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
}

.play-btn:hover {
  background: var(--white);
  color: var(--primary);
  transform: translate(-50%, -50%) scale(1.10);
}

/* ── 13. CLINICAL TRAINING ─────────────────────────────────── */
.mpsp-clinical {
  background: var(--light-bg);
}

.clinical-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  cursor: pointer;
}

.clinical-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.clinical-card:hover img {
  transform: scale(1.07);
}

.clinical-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 29, 62, 0.88) 0%, rgba(15, 29, 62, 0.20) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.clinical-overlay h5 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  transform: translateY(8px);
  transition: var(--transition);
}

.clinical-overlay p {
  color: rgba(255, 255, 255, 0.80);
  font-size: 13.5px;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
}

.clinical-card:hover .clinical-overlay h5 {
  transform: translateY(0);
}

.clinical-card:hover .clinical-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* ── 14. EVENTS ────────────────────────────────────────────── */
.mpsp-events {
  background: var(--white);
}

.event-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
  height: 100%;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.event-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}

.event-card:hover .event-img-wrap img {
  transform: scale(1.05);
}

.event-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  min-width: 52px;
  line-height: 1.2;
  font-family: var(--font-heading);
}

.event-date-badge .day {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.event-date-badge .month {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.event-body {
  padding: 20px;
}

.event-meta {
  font-size: 12.5px;
  color: var(--body-text);
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.event-meta i {
  color: var(--secondary);
}

.event-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.event-title a {
  color: var(--dark);
}

.event-title a:hover {
  color: var(--primary);
}

/* ── 15. FACILITIES ────────────────────────────────────────── */
.mpsp-facilities {
  background: var(--light-bg);
}

.facility-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.facility-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.fac-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(27, 79, 138, 0.10);
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.facility-item h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--dark);
}

.facility-item p {
  font-size: 14px;
  color: var(--body-text);
  margin: 0;
}

.facilities-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.facilities-caption {
  font-size: 13px;
  color: var(--body-text);
  text-align: center;
  margin-top: 12px;
}

/* ── 16. TESTIMONIALS ──────────────────────────────────────── */
.mpsp-testimonials {
  background: var(--white);
  padding: 100px 0 120px;
}

.testimonial-card {
  text-align: center;
  padding: 20px 40px 40px;
}

.testimonial-stars {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 17px;
  line-height: 1.8;
  color: var(--body-text);
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 80px;
  line-height: 0;
  color: rgba(27, 79, 138, 0.10);
  position: absolute;
  top: 28px;
  left: -10px;
  font-family: Georgia, serif;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  margin: 0 auto 14px;
}

.testimonial-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 13px;
  color: var(--body-text);
}

/* Slick dot overrides for testimonials */
.testimonial-slider .slick-dots {
  bottom: -40px;
}

.testimonial-slider .slick-dots li button::before {
  font-size: 10px;
  color: var(--border);
  opacity: 1;
}

.testimonial-slider .slick-dots li.slick-active button::before {
  color: var(--primary);
  opacity: 1;
}

/* ── 17. PLACEMENT PARTNERS ─────────────────────────────────── */
.mpsp-partners {
  background: var(--light-bg);
  padding: 60px 0;
}

/* Clip Slick infinite track from causing horizontal scroll */
.partner-slider,
.recruiter-slider {
  overflow: hidden;
}

/* Each Slick slide wrapper — centres the logo card */
.partner-item {
  padding: 0 14px;
}

/* Static recruiter grid — all logos in a single shot (no slider) */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}

.partner-grid .partner-item-box {
  flex: 1 1 150px;
  max-width: 180px;
}

/* White card box for each logo */
.partner-item-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.partner-item-box:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(27, 79, 138, 0.10);
}

.partner-item-box img {
  max-height: 58px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(50%);
  opacity: 0.80;
  transition: var(--transition);
  display: block;
}

.partner-item-box:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}

.partner-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--body-text);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 36px;
}

/* ── 18. MAP & CTA ─────────────────────────────────────────── */
.mpsp-map {
  position: relative;
}

.mpsp-map iframe {
  display: block;
}

.map-cta-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.map-cta-card h4 {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.map-cta-card p {
  color: rgba(255, 255, 255, 0.80);
  font-size: 15px;
  margin-bottom: 24px;
}

.map-cta-card .address-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

.map-cta-card .address-line i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── 19. WELCOME POPUP ─────────────────────────────────────── */
/* Square image popup — dialog sized so the square always fits
   within BOTH the viewport width and height, on every device.   */

/* Centre the dialog perfectly on every side, regardless of which
   utility classes Bootstrap applies. */
#welcomeModal.modal {
  display: none;                /* Bootstrap toggles this to block via .show */
}
#welcomeModal.modal.show {
  display: flex !important;
  align-items: center;          /* vertical centre */
  justify-content: center;      /* horizontal centre */
}

#welcomeModal .modal-dialog {
  width: 100%;
  max-width: min(94vw, 560px);  /* sized by width; banner keeps its natural ratio */
  margin: auto;                 /* equal gap on all sides */
}

@media (min-width: 768px) {
  #welcomeModal .modal-dialog { max-width: 600px; }
}

#welcomeModal .modal-content {
  border: 4px solid var(--accent);           /* themed gold frame */
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#welcomeModal .modal-body {
  padding: 0;
  position: relative;
}

#welcomeModal .popup-img-link {
  display: block;
  line-height: 0;
}

#welcomeModal .modal-body img,
#welcomeModal .popup-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 905;     /* match the banner so nothing is cropped */
  max-height: 88vh;             /* never overflow on short screens */
  object-fit: contain;
  display: block;
}

.popup-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(15, 29, 62, 0.70);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.popup-close-btn:hover {
  background: var(--accent);
  color: #1a1a1a;
}

/* ── 20. FOOTER ────────────────────────────────────────────── */
.mpsp-footer {
  background: #0f1f3d;
  color: #94a3b8;
  padding: 80px 0 0;
}

.footer-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 5px;
  background: #fff;
  border-radius: 50%;
}

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8 !important;
  font-size: 14px;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--accent);
  color: #1a1a1a !important;
  transform: translateY(-3px);
}

.footer-heading {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--font-heading);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  color: var(--secondary);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-newsletter .input-group {
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-newsletter .form-control {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 14px;
  padding: 12px 16px;
}

.footer-newsletter .form-control::placeholder {
  color: #64748b;
}

.footer-newsletter .form-control:focus {
  background: transparent;
  box-shadow: none;
  color: var(--white);
}

.footer-newsletter .btn-subscribe {
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 13px;
  border: none;
  padding: 0 20px;
  transition: var(--transition);
}

.footer-newsletter .btn-subscribe:hover {
  background: var(--accent-hover);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #94a3b8;
}

.footer-contact-item i {
  color: var(--secondary);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-item a {
  color: #94a3b8;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-disclaimer-row {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: 16px;
}

.footer-disclaimer-row .col-lg-8 {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

.footer-disclaimer-heading {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.70);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.footer-disclaimer-text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.8;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  margin-top: 28px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
}

.footer-bottom a {
  color: #64748b;
  font-size: 13.5px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ── 21. INNER PAGE BANNER ─────────────────────────────────── */
.mpsp-page-banner {
  padding: 20px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.banner-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.mpsp-page-banner .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.mpsp-page-banner .breadcrumb-item,
.mpsp-page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.mpsp-page-banner .breadcrumb-item.active {
  color: var(--accent);
}

.mpsp-page-banner .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.40);
}

/* ── 22. GALLERY ───────────────────────────────────────────── */
.mpsp-gallery {
  background: var(--light-bg);
}

.gallery-album-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 240px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-album-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-album-card:hover img {
  transform: scale(1.06);
}

.gallery-album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 29, 62, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.gallery-album-overlay h6 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.gallery-grid-item {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-grid-item:hover img {
  transform: scale(1.08);
}

/* ── 23. DOWNLOADS PAGE ────────────────────────────────────── */
.downloads-table th {
  background: var(--light-bg);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  border-top: none;
}

.downloads-table td {
  font-size: 14px;
  vertical-align: middle;
  color: var(--body-text);
}

.downloads-table .btn-download {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  transition: var(--transition);
}

.downloads-table .btn-download:hover {
  background: var(--secondary);
  color: var(--white);
}

.download-filter-btn {
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  transition: var(--transition);
}

/* ── 24. ENQUIRY / CONTACT FORMS ───────────────────────────── */
.mpsp-form-section {
  background: var(--light-bg);
}

.mpsp-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
}

.mpsp-form-card .form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.mpsp-form-card .form-control,
.mpsp-form-card .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 14.5px;
  padding: 11px 14px;
  color: var(--dark);
  transition: var(--transition);
}

.mpsp-form-card .form-control:focus,
.mpsp-form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.12);
}

.mpsp-form-card .form-control.is-invalid,
.mpsp-form-card .form-select.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

/* ── 25. FACULTY / TEAM CARDS ──────────────────────────────── */
.faculty-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
  text-align: center;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.faculty-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.faculty-card .faculty-body {
  padding: 18px 16px;
}

.faculty-card .faculty-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.faculty-card .faculty-designation {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.faculty-card .faculty-qual {
  font-size: 12.5px;
  color: var(--body-text);
}

/* ── 26. PLACEMENTS PAGE ───────────────────────────────────── */
.placement-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  text-align: center;
  border-bottom: 4px solid var(--primary);
  transition: var(--transition);
}

.placement-stat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.placement-stat-card .big-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
  display: block;
}

.placement-stat-card p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--body-text);
  font-weight: 500;
}

/* ── 27. CAREER PAGE ───────────────────────────────────────── */
.career-position-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  border-left: 4px solid var(--secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.career-position-card:hover {
  box-shadow: var(--shadow);
  border-left-color: var(--primary);
}

.career-position-card h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.career-position-card .position-meta {
  font-size: 13px;
  color: var(--body-text);
}

/* ── 28. SITEMAP PAGE ──────────────────────────────────────── */
.sitemap-section h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.sitemap-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-section ul li {
  margin-bottom: 7px;
}

.sitemap-section ul li a {
  font-size: 14px;
  color: var(--body-text);
  display: flex;
  align-items: center;
  gap: 7px;
}

.sitemap-section ul li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  color: var(--secondary);
}

.sitemap-section ul li a:hover {
  color: var(--primary);
}

/* ── 29. UTILITY CLASSES ───────────────────────────────────── */
.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

/* ── Course page main programme heading (h2.fw-bold.mb-3) ── */
h2.fw-bold.mb-3 {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
  position: relative;
  padding-bottom: 14px;
}

h2.fw-bold.mb-3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

/* ── Course sub-section h5 (Eligibility Criteria, etc.) ── */
h5.fw-bold.mb-3:not(.text-white) {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
  line-height: 1.3;
}

/* ── Need Guidance h6 ── */
h6.fw-bold.mb-3 {
  /* color: var(--white) !important; */
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.text-accent {
  color: var(--accent) !important;
}

.bg-primary-custom {
  background: var(--primary) !important;
}

.bg-secondary-custom {
  background: var(--secondary) !important;
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  padding: 12px 28px;
  font-size: 14.5px;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 79, 138, 0.30);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  font-weight: 700;
  padding: 10px 26px;
  font-size: 14.5px;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.rounded-pill-custom {
  border-radius: var(--radius-pill) !important;
}

/* AOS delay helpers */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* ── 30. ABOUT / MESSAGE / VALUE CARD COMPONENTS ────────────── */

/* Value cards (vision / mission / values) */
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: transparent;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(27, 79, 138, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.value-card h4,
.value-card h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--body-text);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

.mission-list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.mission-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14.5px;
  color: var(--body-text);
  line-height: 1.6;
}

.mission-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--secondary);
  font-size: 13px;
}

/* Affiliation cards */
.affiliation-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  transition: var(--transition);
}

.affiliation-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: transparent;
}

.affil-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(27, 79, 138, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}

.affil-img {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.affil-img img {
  max-height: 90px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.10));
  transition: var(--transition);
}

.affiliation-card:hover .affil-img img {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 12px rgba(27, 79, 138, 0.18));
}

.affiliation-card h6 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

/* CTA Band (used on inner pages) */
.mpsp-cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 0;
  overflow: visible;
}

/* Ensure AOS never clips CTA band content */
.mpsp-cta-band .row {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.mpsp-cta-band h3 {
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.mpsp-cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 0;
}

/* ── 31. MESSAGE PAGES (Chairman / Principal) ────────────────── */

.message-person-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 22px;
}

/* Framed portrait box used on message pages */
.message-person-photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 7 / 8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-lg);
}

.message-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
  transition: transform 0.5s ease;
}

.message-person-card:hover .message-person-photo img {
  transform: scale(1.05);
}

.message-photo-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.message-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.message-person-card:hover .message-photo-wrap img {
  transform: scale(1.04);
}

.message-designation-box {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-top: 3px solid var(--primary);
}

.msg-designation-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(27, 79, 138, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.message-designation-box h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
  font-size: 15px;
}

.message-designation-box p {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  margin: 0;
}

.message-designation-box small {
  color: var(--body-text);
  font-size: 12px;
}

/* Nav box inside message pages */
.message-nav-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.message-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--body-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.message-nav-link:last-child {
  border-bottom: none;
}

.message-nav-link:hover {
  color: var(--primary);
}

.message-nav-link .ms-auto {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.5;
}

/* Opening quote block */
.message-opening-quote {
  position: relative;
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px 20px 56px;
  margin-top: 24px;
}

.message-quote-icon {
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 22px;
  color: var(--primary);
  opacity: 0.7;
}

.message-quote-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.55;
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
}

/* Message body text */
.message-body p {
  color: var(--body-text);
  line-height: 1.8;
  font-size: 15.5px;
  margin-bottom: 16px;
}

.message-body p:last-child {
  margin-bottom: 0;
}

/* Signature block */
.message-signature-block {
  padding-top: 24px;
}

.signature-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin-bottom: 14px;
}

.message-signature-block h5 {
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--dark);
  margin-bottom: 2px;
}

.message-signature-block p {
  margin-bottom: 2px;
  font-size: 14px;
}

.message-signature-block small {
  font-size: 13px;
}

/* =====================================================
   SECTION 32: COURSE DETAIL PAGES
   course-anm.html, course-gnm.html, course-bsc-nursing.html,
   course-pb-bsc.html, course-bmlt.html, course-dott.html
   ===================================================== */

/* Course image wrap */
.course-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.course-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;   /* matches the 1536×1024 course banners → shown in full, no crop */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.course-img-wrap:hover img {
  transform: scale(1.03);
}

/* Quick stats card */
.course-quick-stats {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.course-quick-stats h5.fw-bold.text-primary {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary) !important;
  margin-bottom: 0 !important;
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, rgba(27, 79, 138, 0.06), rgba(13, 148, 136, 0.04));
  border-bottom: 2px solid var(--border);
  border-left: 4px solid var(--primary);
  letter-spacing: 0.2px;
  font-family: var(--font-heading);
}

.quick-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.quick-stat-item:nth-child(2n) {
  border-right: none;
}

.quick-stat-item:nth-child(3),
.quick-stat-item:nth-child(4) {
  border-bottom: none;
}

.quick-stat-item i {
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.quick-stat-item div {
  display: flex;
  flex-direction: column;
}

.quick-stat-item span {
  font-size: 11px;
  color: var(--body-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-stat-item strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-heading);
}

/* Course callout (for PB BSc info) */
.course-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(27, 79, 138, 0.06);
  border: 1px solid rgba(27, 79, 138, 0.18);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.course-callout-icon {
  font-size: 22px;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.course-callout strong {
  display: block;
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 4px;
}

.course-callout p {
  color: var(--body-text);
}

/* Course detail tabs */
.course-detail-tabs {
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.course-detail-tabs .nav-item {
  margin-bottom: 0;
}

.course-detail-tabs .nav-link {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--body-text);
  transition: var(--transition);
  margin-bottom: -2px;
}

.course-detail-tabs .nav-link:hover {
  color: var(--primary);
}

.course-detail-tabs .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: transparent;
}

/* Course tab content */
.course-tab-content {
  padding-top: 24px;
}

.course-tab-content p {
  color: var(--body-text);
  line-height: 1.8;
  font-size: 15px;
}

/* Course highlight list */
.course-highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--body-text);
  border-bottom: 1px solid var(--border);
}

.course-highlight-list li:last-child {
  border-bottom: none;
}

.course-highlight-list li i {
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Syllabus year block */
.syllabus-year {
  background: var(--light-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.syllabus-year-badge {
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  letter-spacing: 0.3px;
}

.syllabus-list {
  list-style: none;
  padding: 12px 16px;
  margin: 0;
  columns: 2;
  column-gap: 20px;
}

.syllabus-list li {
  font-size: 14px;
  color: var(--body-text);
  padding: 5px 0 5px 18px;
  position: relative;
  break-inside: avoid;
}

.syllabus-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 12px;
  top: 6px;
}

/* Career grid */
.career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.career-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: var(--transition);
}

.career-item:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.career-item:hover i,
.career-item:hover span {
  color: white;
}

.career-item i {
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  transition: color 0.2s;
}

.career-item span {
  font-size: 13px;
  color: var(--body-text);
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.2s;
}

/* Course info table (eligibility) */
.course-info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 14px;
}

.course-info-table tr {
  border-bottom: 1px solid var(--border);
}

.course-info-table tr:last-child {
  border-bottom: none;
}

.course-info-table td {
  padding: 12px 16px;
  color: var(--body-text);
  line-height: 1.5;
  vertical-align: top;
}

.course-info-table td:first-child {
  background: var(--light-bg);
  font-weight: 600;
  width: 34%;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}

.course-info-table tr:nth-child(even) td:last-child {
  background: rgba(248, 250, 252, 0.5);
}

/* Know more link on cards */
.know-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.know-more:hover {
  color: var(--secondary);
  gap: 10px;
}

.know-more i {
  font-size: 12px;
}

/* Badge light variant */
.badge-primary-light {
  background: rgba(27, 79, 138, 0.10) !important;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 11px;
}

/* =====================================================
   Responsive: course pages
   ===================================================== */
@media (max-width: 768px) {
  .syllabus-list {
    columns: 1;
  }

  .career-grid {
    grid-template-columns: 1fr;
  }

  .course-info-table td:first-child {
    width: auto;
    white-space: normal;
  }

  .course-img-wrap img {
    height: auto;   /* keep native 3:2 ratio on mobile too — no crop */
  }
}

/* =====================================================
   SECTION 33: INFRASTRUCTURE PAGE
   ===================================================== */
.infra-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27, 79, 138, 0.08);
  border: 1px solid rgba(27, 79, 138, 0.18);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.infra-img-grid .infra-img-main img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 280px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.infra-img-row img {
  border-radius: var(--radius);
  height: 130px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* Facility full item (numbered sections) */
.facility-full-item .facility-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.facility-full-item .facility-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.facility-full-item .facility-img-wrap:hover img {
  transform: scale(1.04);
}

.facility-img-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: var(--shadow);
}

.facility-content {
  padding-left: 12px;
}

.facility-number {
  font-size: 52px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
  opacity: 0.15;
  display: block;
  margin-bottom: -12px;
}

.facility-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.facility-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facility-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--body-text);
  border-bottom: 1px solid var(--border);
}

.facility-feature-list li:last-child {
  border-bottom: none;
}

.facility-feature-list li i {
  color: var(--secondary);
  font-size: 10px;
  margin-top: 5px;
  flex-shrink: 0;
}

/* Campus gallery strip */
.campus-gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}

.campus-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.campus-gallery-item:hover img {
  transform: scale(1.06);
}

.campus-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 62, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  color: white;
  font-size: 24px;
  opacity: 0;
  transition: all 0.3s;
}

.campus-gallery-item:hover .campus-gallery-overlay {
  background: rgba(15, 29, 62, 0.55);
  opacity: 1;
}

/* =====================================================
   SECTION 34: LABORATORIES PAGE
   ===================================================== */
.lab-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px 12px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--body-text);
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  height: 100%;
}

.lab-nav-card i {
  font-size: 26px;
  color: var(--primary);
  transition: color 0.2s;
}

.lab-nav-card:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.lab-nav-card:hover i {
  color: white;
}

.lab-main-img-wrap {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lab-main-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lab-main-img-wrap:hover img {
  transform: scale(1.04);
}

.lab-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 62, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  opacity: 0;
  transition: all 0.3s;
}

.lab-main-img-wrap:hover .lab-img-overlay {
  background: rgba(15, 29, 62, 0.50);
  opacity: 1;
}

.lab-badge {
  display: inline-block;
  background: rgba(27, 79, 138, 0.10);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.lab-for {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 16px;
}

.lab-equipment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lab-equipment-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  color: var(--body-text);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.lab-equipment-tag i {
  color: var(--secondary);
  font-size: 10px;
}

/* Lab summary table */
.lab-summary-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
  background: white;
}

.lab-summary-table thead tr {
  background: var(--primary);
  color: white;
}

.lab-summary-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
}

.lab-summary-table td {
  padding: 13px 16px;
  color: var(--body-text);
  border-top: 1px solid var(--border);
  vertical-align: middle;
}

.lab-summary-table tbody tr:hover td {
  background: rgba(27, 79, 138, 0.04);
}

.lab-table-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-heading);
}

/* =====================================================
   SECTION 35: GALLERY PAGE
   ===================================================== */
.gallery-album-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.gallery-album-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-album-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-album-card:hover img {
  transform: scale(1.07);
}

.gallery-album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 29, 62, 0.82) 0%, rgba(15, 29, 62, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.gallery-album-title {
  color: white;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 0 4px;
}

.gallery-album-count {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.gallery-album-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  color: white;
  font-size: 32px;
  opacity: 0;
  transition: all 0.3s;
}

.gallery-album-card:hover .gallery-album-icon {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Individual photo in album grid */
.gallery-photo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-photo-item a {
  display: block;
}

.gallery-photo-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-photo-item:hover img {
  transform: scale(1.06);
}

.gallery-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 62, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  opacity: 0;
  transition: all 0.3s;
}

.gallery-photo-item:hover .gallery-photo-overlay {
  background: rgba(15, 29, 62, 0.52);
  opacity: 1;
}

/* =====================================================
   SECTION 36: PLACEMENTS PAGE
   ===================================================== */
.placement-stat-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.placement-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.placement-stat-number {
  font-size: 52px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
}

.placement-stat-label {
  font-size: 15px;
  color: var(--body-text);
  margin-top: 8px;
  font-weight: 500;
}

.placement-story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.placement-story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.placement-story-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.placement-employer-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.1);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-top: 8px;
}

.recruiter-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  height: 90px;
}

.recruiter-logo-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.recruiter-logo-item img {
  height: 40px;
  object-fit: contain;
  filter: grayscale(60%);
  transition: filter 0.3s;
}

.recruiter-logo-item:hover img {
  filter: grayscale(0%);
}

/* =====================================================
   SECTION 37: FACULTY & TEAM PAGE
   ===================================================== */
.faculty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.faculty-photo-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.faculty-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-photo-wrap img {
  transform: scale(1.05);
}

.faculty-card-body {
  padding: 20px 16px;
}

.faculty-card-body h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.faculty-designation {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.faculty-qualification {
  font-size: 12px;
  color: var(--body-text);
}

.faculty-filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  background: white;
  color: var(--body-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.faculty-filter-btn.active,
.faculty-filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Team card (leadership) */
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.team-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-card h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.team-role {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 13.5px;
  color: var(--body-text);
}

/* =====================================================
   SECTION 38: ENQUIRY / CONTACT FORMS
   ===================================================== */
.enquiry-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.enquiry-form-wrap .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.enquiry-form-wrap .form-control,
.enquiry-form-wrap .form-select {
  border-color: var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  padding: 10px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.enquiry-form-wrap .form-control:focus,
.enquiry-form-wrap .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.12);
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contact-info-item-lg {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item-lg:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(27, 79, 138, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item-lg h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-info-item-lg p {
  font-size: 14px;
  color: var(--body-text);
  margin: 0;
  line-height: 1.6;
}

/* =====================================================
   SECTION 39: DOWNLOADS PAGE
   ===================================================== */
.download-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 20px;
}

.download-category-header i {
  font-size: 22px;
  color: var(--primary);
}

.download-category-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-heading);
}

/* Downloads page section group headings */
.container>h4.fw-bold.text-primary {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--primary) !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  letter-spacing: 0.2px;
  line-height: 1.3;
}

.download-table {
  overflow-x: auto;
  /* horizontal scroll on narrow screens */
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
  background: white;
  margin-bottom: 40px;
}

.download-table thead tr {
  background: var(--light-bg);
}

.download-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  color: var(--dark);
  border-bottom: 2px solid var(--border);
}

.download-table td {
  padding: 13px 16px;
  color: var(--body-text);
  border-top: 1px solid var(--border);
  vertical-align: middle;
}

.download-table tbody tr:hover td {
  background: rgba(27, 79, 138, 0.03);
}

.download-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.download-type-badge.pdf {
  background: rgba(220, 38, 38, 0.10);
  color: #dc2626;
}

.download-type-badge.docx {
  background: rgba(37, 99, 235, 0.10);
  color: #2563eb;
}

.download-type-badge.image {
  background: rgba(13, 148, 136, 0.10);
  color: var(--secondary);
}

.download-type-badge.badge-admission {
  background: rgba(27, 79, 138, 0.10);
  color: var(--primary);
}

.download-type-badge.badge-info {
  background: rgba(13, 148, 136, 0.10);
  color: var(--secondary);
}

.download-type-badge.badge-approval {
  background: rgba(220, 38, 38, 0.10);
  color: #dc2626;
}

.download-type-badge.badge-committee {
  background: rgba(245, 158, 11, 0.10);
  color: #d97706;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.2s;
}

.download-btn:hover {
  background: var(--primary-dark);
  color: white;
}

/* =====================================================
   SECTION 40: CAREER PAGE
   ===================================================== */
.career-post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.career-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.career-post-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.career-post-card h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.career-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--body-text);
  margin-bottom: 14px;
}

.career-post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.career-post-meta i {
  color: var(--secondary);
}

/* =====================================================
   SECTION 41: SITEMAP PAGE
   ===================================================== */
.sitemap-section-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
}

.sitemap-section-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  font-family: var(--font-heading);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-links li {
  padding: 5px 0;
}

.sitemap-links a {
  font-size: 14px;
  color: var(--body-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.sitemap-links a:hover {
  color: var(--primary);
}

.sitemap-links a::before {
  content: '→';
  color: var(--secondary);
  font-size: 12px;
  flex-shrink: 0;
}

/* =====================================================
   SECTION 42: RECOGNITION & AFFILIATION PAGE
   ===================================================== */
.recognition-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.recognition-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.recognition-logo {
  height: 90px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.10));
  transition: var(--transition);
}

.recognition-card:hover .recognition-logo {
  transform: scale(1.07);
  filter: drop-shadow(0 4px 14px rgba(27, 79, 138, 0.18));
}

.recognition-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.recognition-card p {
  font-size: 13px;
  color: var(--body-text);
}

.recognition-badge-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: center;
}

.recognition-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(13, 148, 136, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

/* =====================================================
   SECTION 43: HERO CAROUSEL
   ===================================================== */
.hero-carousel .hero-main-img {
  height: 440px;
  object-fit: cover;
}

.hero-carousel-indicators {
  bottom: 12px;
  margin: 0;
  gap: 6px;
}

.hero-carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 14px 4px;
  background-clip: content-box;
  background-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: background-color 0.3s;
  flex-shrink: 0;
  margin: 0 3px;
}

.hero-carousel-indicators .active {
  background-color: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* =====================================================
   SECTION 44: LAB CARD HOVER
   ===================================================== */
.lab-card {
  transition: var(--transition);
}

.lab-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.lab-card .card-img-top,
.lab-card .position-relative img {
  transition: var(--transition);
}

.lab-card:hover .position-relative img {
  transform: scale(1.04);
}


/* =====================================================
   SECTION 45: IDENTITY BAR — ADDRESS LINE (Task 2)
   ===================================================== */
.identity-address {
  font-size: 18px;
  color: #8b6800;
  margin: 2px 0 0 0;
  font-weight: 500;
}


/* =====================================================
   SECTION 46: HEADER CALL BUTTON (Task 4)
   ===================================================== */
.header-call-btn {
  font-size: 14px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .header-call-btn .fa-phone-alt {
    margin-right: 0 !important;
  }

  .header-call-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
}


/* =====================================================
   SECTION 47: DROPDOWN FIX (Task 9)
   ===================================================== */
.mpsp-navbar .dropdown-menu {
  z-index: 9999 !important;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0px 0;
  min-width: 220px;
}


.sticky-top {
  overflow: visible !important;
}

nav.sticky-top {
  overflow: visible !important;
}