/* =============================================================
   NPGC COLLEGE PORTAL — Global Stylesheet
   Organized · Deduplicated · Modular
   
   SECTIONS
   01. Variables & Reset
   02. Layout Utilities
   03. Global Animations
   04. Old Homepage Hero  (slider, dots, overlay — index.html)
   05. Inner-page Hero System  (.hero-section)
   06. Global Section Headers  (.sec-label, .sec-h, .section-title)
   07. Global Stat Cards  (.stat-card)
   08. Global Buttons & Forms
   09. Notices & Events Components
   10. Homepage-specific Sections
   11. News / Chatbot Floating Panel  (#newsBtn, #newsPanel)
   12. Policy Pages
   13. About, Vision & College Overview
   14. Admission & Academic Pages
   15. Infrastructure, Facilities & Library
   16. Syllabus & Accordion
   17. People Pages (Alumni, Principal, Administration)
   18. Gallery & Media
   19. Careers / Placement Pages
   20. Scholarship Page
   21. Generic Cards & NPGC Design Tokens
   22. Recruiter / Partner Ticker
   23. Consolidated Responsive Overrides
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   01. VARIABLES & RESET
   ───────────────────────────────────────────────────────────── */

:root {
  /* Brand colour — one source of truth */
  --primary:        #a71836;
  --primary-red:    #a71836;
  --primary-maroon: #a71836;
  --primary-black:  #1a1a1a;
  --primary-grey:   #4a4a4a;

  /* Text */
  --text-dark:  #1a1a1a;
  --text-muted: #666;
  --text-light: #666;

  /* Backgrounds */
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --bg-dark:  #2a2a2a;

  /* UI */
  --border-color: #d0d0d0;
  --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md:    0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-lg:    0 8px 20px rgba(0, 0, 0, 0.25);
  --transition:   cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  width: 100%;
  margin: 0;
  padding: 0;
}


/* ─────────────────────────────────────────────────────────────
   02. LAYOUT UTILITIES
   ───────────────────────────────────────────────────────────── */

/* Wide custom container (overrides Bootstrap's default width) */
.container {
  width: 96%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Bootstrap override: brand text colour */
.text-primary  { color: #a71836 !important; }

/* z-index utility */
.z-3 { z-index: 3 !important; }

.text-shadow-lg { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); }


/* ─────────────────────────────────────────────────────────────
   03. GLOBAL ANIMATIONS
   ───────────────────────────────────────────────────────────── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}


/* ─────────────────────────────────────────────────────────────
   04. OLD HOMEPAGE HERO  (slider + overlay — index.html)
   ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  color: #fff;
  padding: 120px 20px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  display: flex;
}
.hero-bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-1 { opacity: 1 !important; display: block; }
.hero-bg-2 { opacity: 0; display: none; }

/* Slider */
.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  display: flex;
  transition: transform 0.6s ease-in-out;
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  background-color: #333;
  background-size: cover;
  background-position: center;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.dot {
  width: 12px; height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.dot.active {
  background-color: #e74c3c;
  transform: scale(1.2);
  border-color: #e74c3c;
}

/* Hero overlay */
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(69, 10, 10, 0.9),
    rgba(127, 29, 29, 0.75),
    rgba(15, 23, 42, 0.65)
  );
  backdrop-filter: blur(3px);
  z-index: 2;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 100%;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
  width: 100%;
}
.hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
.hero-content p {
  font-size: 1.5em;
  margin-bottom: 40px;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Legacy base button (extends Bootstrap .btn for old pages) */
.btn {
  padding: 14px 35px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(135deg, #e74c3c 0%, #8b1a2c 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 26, 44, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #d43f2f 0%, #6b1420 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 26, 44, 0.5);
}
.btn-secondary {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: 2px solid white;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  border-color: #e74c3c;
}


/* ─────────────────────────────────────────────────────────────
   05. INNER-PAGE HERO SYSTEM  (.hero-section)
   ───────────────────────────────────────────────────────────── */

.hero-section {
  position: relative;
  padding: 120px 0 80px 0;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}

/* Gradient overlay used inside .hero-section */
.gradient-overlay-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(69, 10, 10, 0.8) 0%,
    rgba(0, 0, 0, 0.75) 40%,
    rgba(69, 10, 10, 0.8) 100%
  );
  z-index: 1;
}

/* Hero page title */
.main-title {
  font-family: "Inter", "Arial", sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  background: linear-gradient(to bottom, #ffffff 30%, #ff1f1f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: -3px;
  text-transform: uppercase;
}

/* Hero subtitle / description */
.main-description {
  max-width: 650px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero CTA button */
.btn-menu {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  transition: all 0.4s ease-in-out;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.btn-menu:hover {
  background: #a71836 !important;
  border-color: #a71836;
  color: #fff;
  box-shadow: 0 8px 15px rgba(230, 74, 25, 0.4);
}


/* ─────────────────────────────────────────────────────────────
   06. GLOBAL SECTION HEADERS
   ───────────────────────────────────────────────────────────── */

/* Legacy heading style */
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #1a1013;
  margin-bottom: 8px;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-red);
  border-radius: 2px;
  margin-top: 10px;
}

/* Modern section labels */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a71836;
}
.sec-h {
  font-family: "Arial", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #1a1013;
  margin: 8px 0 14px;
}
.sec-h span { color: #a71836; }

.sec-stripe {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #a71836, transparent);
  border-radius: 2px;
  margin-top: 12px;
  margin-bottom: 36px;
}
.text-center .sec-stripe {
  margin-left: auto;
  margin-right: auto;
}

/* Thin decorative underline */
.heading-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #a71836, transparent);
  border-radius: 2px;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.overview-header { text-align: center; margin-bottom: 60px; }

.legacy-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #1a1013;
  margin-bottom: 6px;
}


/* ─────────────────────────────────────────────────────────────
   07. GLOBAL STAT CARDS  (dark hero stat row)
   ───────────────────────────────────────────────────────────── */

.stat-card {
  background: rgba(11, 14, 20, 0.6);
  padding: 35px 15px;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.03);
  height: 100%;
  text-align: center;
}
.stat-card:hover {
  border-color: rgba(255, 31, 31, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}
.stat-card h3 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}
.stat-card p {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}


/* ─────────────────────────────────────────────────────────────
   08. BUTTONS & FORMS
   ───────────────────────────────────────────────────────────── */

/* Fee steps */
.fee-step-card { display: flex; align-items: flex-start; gap: 1rem; }
.fee-step-badge {
  width: 35px; height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #a71836;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 12px 25px rgba(167, 23, 54, 0.16);
  flex-shrink: 0;
}
.fee-step-icon {
  color: #a71836;
  font-size: 1.35rem;
  margin-top: 4px;
  min-width: 28px;
}
.fee-step-card p { margin-bottom: 0; color: #525252; }

/* Form focus */
.input-group-text {
  background-color: #f8f9fa;
  border-color: #e0e0e0;
  color: #a71836;
  font-size: 1rem;
}
.form-control:focus {
  border-color: #a71836;
  box-shadow: 0 0 0 4px rgba(167, 24, 54, 0.1);
}

/* Outline view button */
.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: #fff;
  color: #a71836;
  border: 2px solid #a71836;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-view:hover {
  background: #a71836;
  color: #fff;
  box-shadow: 0 8px 20px rgba(167, 24, 54, 0.2);
}

/* Infrastructure explore button */
.btn-highlights {
  display: inline-flex;
  align-items: center;
  padding: 10px 25px;
  color: #a71836 !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  border: 2px solid #a71836;
  border-radius: 50px;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: auto;
}
.btn-highlights:hover {
  background-color: #a71836;
  color: #fff !important;
}

/* PDF download button */
.pdf-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.pdf-action-btn:hover {
  color: #fff;
  box-shadow: 0 6px 16px rgba(167, 24, 54, 0.35);
  transform: translateY(-2px);
}

/* View all link */
.view-all-btn {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  color: #a71836;
  text-decoration: none;
  font-size: 0.9rem;
}
.view-all-btn:hover {
  text-decoration: underline;
  color: #7a1024;
}

/* Apply button */
.apply-btn {
  display: block;
  background: #fff;
  color: #a71836;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #a71836;
  text-align: center;
}
.apply-btn:hover {
  background: linear-gradient(135deg, #a71836, #c24d60);
  color: #fff;
  border-color: #a71836;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(167, 24, 54, 0.2);
}
.apply-btn.bg-secondary { background: #fff; color: #6c757d; border-color: #6c757d; }
.apply-btn.bg-secondary:hover { background: #6c757d; color: #fff; border-color: #6c757d; }

/* Principal profile button */
.btn-principal {
  display: inline-block;
  background: linear-gradient(135deg, #8b1a2c, #c24d60);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.3s;
}
.btn-principal:hover {
  color: #fff;
  box-shadow: 0 8px 20px rgba(139, 26, 44, 0.4);
  transform: translateY(-2px);
}


/* ─────────────────────────────────────────────────────────────
   09. NOTICES & EVENTS COMPONENTS
   ───────────────────────────────────────────────────────────── */

/* Unified notice list (standalone notices page) */
.notices-section {
  background: var(--bg-light);
  padding: 80px 20px;
}
.unified-notices-list {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}
.unified-notice-item {
  display: flex;
  align-items: center;
  padding: 24px 30px;
  gap: 30px;
  transition: background 0.3s ease;
  text-decoration: none;
}
.unified-notice-item:hover { background: rgba(167, 24, 54, 0.02); }
.notice-date {
  background: var(--primary-maroon);
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  min-width: 100px;
  flex-shrink: 0;
  letter-spacing: 1px;
}
.notice-content { flex: 1; }
.notice-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.notice-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;
}
.notice-link {
  color: var(--primary-maroon);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.unified-notice-item:hover .notice-link { border-bottom-color: var(--primary-maroon); }

/* Dual-column notice grid (homepage + pages) */
.dual-notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.notice-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}
.notice-col-header i { color: #8b1a2c; font-size: 1.1rem; }
.notice-col-header h3 { font-size: 1.05rem; font-weight: 700; margin: 0; color: #111; }

/* Notice / event card row */
.split-list { display: flex; flex-direction: column; gap: 10px; }
.split-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 13px 15px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  border-left: 3px solid #8b1a2c;
}
.split-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: inherit;
}

/* Event date badge */
.event-date-box {
  background: #8b1a2c;
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 46px;
  flex-shrink: 0;
}
.event-date-box .event-day {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}
.event-date-box .event-month {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Circular icon */
.notice-icon-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b1a2c, #c24d60);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notice-icon-circle i { color: #fff; font-size: 0.85rem; }

.split-card-content h4 { font-size: 0.88rem; font-weight: 600; margin: 0 0 2px; }
.split-card-content p  { font-size: 0.78rem; color: #777; margin: 0; }

/* View-all link below notice column */
.view-all-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: #8b1a2c;
  text-decoration: none;
  font-size: 0.88rem;
}
.view-all-link:hover { text-decoration: underline; color: #6b102c; }


/* ─────────────────────────────────────────────────────────────
   10. HOMEPAGE-SPECIFIC SECTIONS
   ───────────────────────────────────────────────────────────── */

/* Homepage hero */
.hero-home {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.hero-slider-home { position: absolute; inset: 0; z-index: 0; }
.hero-slide-home {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide-home.active { opacity: 1; }
.hero-overlay-home {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(100, 0, 10, 0.78),
    rgba(0, 0, 0, 0.7),
    rgba(100, 0, 10, 0.78)
  );
}
.hero-content-home {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  width: 100%;
}
.hero-content-home h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
}
.hero-content-home p {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Slider dots (homepage) */
.slider-dots-home {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.3s;
  border: none;
  padding: 0;
}
.hero-dot.active { background: #fff; transform: scale(1.3); }

/* Notices section background (homepage) */
.notices-section-home { background: #f7f7f9; padding: 60px 0; }

/* Homepage placements */
.placement-section-home { background: #fff; padding: 60px 0; }
.placement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.placement-card {
  background: linear-gradient(135deg, #8b1a2c, #1a1a1a);
  color: #fff;
  padding: 24px 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}
.placement-card:hover { transform: translateY(-5px); }
.placement-date { font-size: 0.72rem; opacity: 0.72; display: block; margin-bottom: 6px; }
.placement-card h3 { font-size: 0.95rem; font-weight: 700; margin: 0; }

/* Homepage quick links */
.quicklinks-section { background: var(--bg-light); padding: 80px 20px; }
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.link-btn {
  background: linear-gradient(135deg, #a71836 0%, #4a4a4a 50%, #1a1a1a 100%);
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: block;
}

/* Homepage stats */
.stats-section { background: var(--bg-white); padding: 60px 20px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.stat-box {
  background: linear-gradient(135deg, #a71836 0%, #1a1a1a 100%);
  color: white;
  padding: 50px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.stat-number { font-size: 3.5em; font-weight: bold; margin-bottom: 15px; color: #a71836; }

/* Principal section (homepage) */
.principal-section-home {
  background: linear-gradient(135deg, #f8f0f2, #fff);
  padding: 72px 0;
}
.principal-img-wrap { position: relative; }
.principal-img-wrap img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s;
}
.principal-img-wrap img:hover { transform: scale(1.02); }
.principal-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.93);
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.principal-badge .pname { font-weight: 700; color: #8b1a2c; font-size: 0.92rem; margin: 0; }
.principal-badge .prole { color: #666; font-size: 0.78rem; margin: 0; }
.principal-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; color: #8b1a2c; margin-bottom: 12px; }
.principal-text p { color: #444; line-height: 1.9; font-size: 0.98rem; text-align: justify; }
.quote-chip { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #8b1a2c, #c24d60);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quote-icon i { color: #fff; }

/* Focus cards (homepage) */
.focus-section-home { background: #fff; padding: 72px 0; }
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.focus-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 26px 18px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.focus-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); color: inherit; }
.focus-card-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.focus-card-icon i { color: #fff; font-size: 1.2rem; }
.focus-card h3 { font-size: 0.95rem; font-weight: 700; color: #111; margin: 0 0 5px; }
.focus-card p { font-size: 0.8rem; color: #666; margin: 0; line-height: 1.5; }

/* Stats section (homepage) */
.stats-section-home { background: linear-gradient(135deg, #fcf0f2, #fff); padding: 72px 0; }
.stat-box-home {
  background: #fff;
  border-radius: 18px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  border-top: 4px solid;
  transition: transform 0.35s;
  height: 100%;
}
.stat-box-home:hover { transform: translateY(-8px); }
.stat-circle-home {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.stat-circle-home i { color: #fff; font-size: 1.2rem; }
.stat-num { font-size: 2.6rem; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.stat-lbl { font-weight: 600; color: #555; font-size: 0.9rem; }


/* ─────────────────────────────────────────────────────────────
   11. FLOATING WIDGETS (News & Chatbot)
   ───────────────────────────────────────────────────────────── */

.floating-controls {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10000;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--primary-maroon);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  background: #c24d60;
}


/* Pulse animation for AI Chatbot */
.pulse {
  animation: chatbotPulse 2s infinite;
}

@keyframes chatbotPulse {
  0% { box-shadow: 0 0 0 0 rgba(167, 24, 54, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(167, 24, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(167, 24, 54, 0); }
}

/* Chatbot Window Styling */
.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 380px;
  height: 550px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10001;
  transform-origin: bottom right;
  transition: all 0.4s var(--transition);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
}

.chatbot-window.open {
  display: flex;
  opacity: 1;
  transform: scale(1) translateY(0);
}


.chatbot-body {
  flex: 1;
  background: #f8f9fa;
}

.chatbot-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 576px) {
  .chatbot-window {
    width: calc(100vw - 40px);
    right: 20px;
    height: 70vh;
  }
}



/* ─────────────────────────────────────────────────────────────
   12. POLICY PAGES
   ───────────────────────────────────────────────────────────── */

.policy-section { padding: 72px 0; }
.policy-box {
  background: #fff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
  max-width: 900px;
  margin: 0 auto;
}
.policy-badge {
  display: inline-block;
  background: #fff0f3;
  color: #8b1a2c;
  border: 1px solid #f0c0cc;
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.policy-date { font-size: 0.82rem; color: #888; margin-bottom: 28px; }
.policy-box h3 { font-size: 1.15rem; font-weight: 700; color: #111; margin: 28px 0 10px; }
.policy-box p,
.policy-box li { font-size: 0.96rem; color: #444; line-height: 1.85; }
.policy-box ul { padding-left: 20px; }
.policy-box ul li { margin-bottom: 6px; }
.policy-hr { border: none; border-top: 1px solid #f0e0e4; margin: 24px 0; }


/* ─────────────────────────────────────────────────────────────
   13. ABOUT & COLLEGE OVERVIEW PAGES
   ───────────────────────────────────────────────────────────── */

.college-overview-section,
.overview-section { padding: 72px 0; background: #fff; }

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.overview-main-text p { color: #444; line-height: 1.85; margin-bottom: 16px; }
.overview-extra-text { margin-top: 24px; }
.overview-extra-text p { color: #555; line-height: 1.8; }

/* Feature items */
.overview-features { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fafafa;
  border-radius: 12px;
  padding: 18px 20px;
  border-left: 3px solid #a71836;
}
.feature-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon i { color: #fff; font-size: 1rem; }
.feature-text h4 { font-size: 0.95rem; font-weight: 700; color: #111; margin: 0 0 4px; }
.feature-text p  { font-size: 0.85rem; color: #666; margin: 0; }

/* Highlight paragraph */
.highlight-p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1013;
  border-left: 4px solid #a71836;
  padding-left: 16px;
  margin-bottom: 18px;
}
.highlight-p i { color: #a71836; margin-right: 8px; }

/* Inline badge accent */
.badge-accent {
  display: inline-block;
  background: #fff0f3;
  color: #a71836;
  border: 1px solid #f0c0cc;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Timeline */
.college-timeline-section { padding: 72px 0; background: #f7f7f9; }
.timeline-container { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #a71836, transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  position: relative;
  margin-bottom: 40px;
}
.timeline-item.right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}
.timeline-content {
  background: #fff;
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  max-width: 340px;
  width: 100%;
  border-top: 3px solid #a71836;
  transition: transform 0.3s;
}
.timeline-content:hover { transform: translateY(-4px); }
.timeline-content h3 { font-size: 1rem; font-weight: 700; color: #111; margin-bottom: 8px; }
.timeline-content p  { font-size: 0.85rem; color: #555; line-height: 1.7; margin: 0; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 16px; height: 16px;
  background: #a71836;
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #a71836;
}
.timeline-date {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  background: #a71836;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: -26px;
}
.timeline-icon {
  width: 36px; height: 36px;
  background: rgba(167, 24, 54, 0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.timeline-icon i { color: #a71836; font-size: 0.95rem; }
.timeline-year {
  display: inline-block;
  background: #a71836;
  color: #fff;
  padding: 4px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

/* College stats strip */
.college-stats-section { padding: 60px 0; background: #1a1013; }
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.college-stats-section .stat-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s;
}
.college-stats-section .stat-card:hover { transform: translateY(-6px); }
.college-stats-section .stat-card i { font-size: 2rem; color: #e87a90; margin-bottom: 14px; display: block; }
.college-stats-section .stat-card h3 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.college-stats-section .stat-card p  { font-size: 0.85rem; opacity: 0.7; margin: 0; }

/* Overview cards */
.overview-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border-top: 4px solid #a71836;
  height: 100%;
  transition: transform 0.3s;
}
.overview-card:hover { transform: translateY(-5px); }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* Principal desk page */
.principal-section { padding: 72px 0; background: linear-gradient(135deg, #f8f0f2, #fff); }
.principal-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}
.principal-profile-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}
.principal-profile-card img { width: 100%; height: 280px; object-fit: cover; object-position: top; }
.principal-profile-card h2 { font-size: 1.1rem; font-weight: 800; color: #111; padding: 14px 16px 4px; margin: 0; }
.principal-profile-card h4 { font-size: 0.85rem; color: #a71836; font-weight: 600; margin: 0; padding: 0 16px; }
.principal-message-card { background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07); }
.principal-quote {
  border-left: 4px solid #a71836;
  padding: 16px 20px;
  background: #fff0f3;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1rem;
  color: #333;
  margin: 20px 0;
}
.principal-signature { margin-top: 20px; }
.principal-signature .name { font-weight: 800; color: #a71836; font-size: 1rem; }
.principal-signature .role { font-size: 0.85rem; color: #666; }
.principal-social { display: flex; gap: 12px; margin-top: 14px; justify-content: center; }
.principal-social i {
  width: 36px; height: 36px;
  background: rgba(167, 24, 54, 0.1);
  color: #a71836;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}
.principal-social i:hover { background: #a71836; color: #fff; }

/* Vision/Mission */
.vm-section { padding: 72px 0; background: #f7f7f9; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vm-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border-top: 4px solid #a71836;
  transition: transform 0.3s;
}
.vm-card:hover { transform: translateY(-5px); }
.vm-icon-wrapper {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.vm-icon-wrapper i { color: #fff; font-size: 1.4rem; }
.vm-content h3 { font-size: 1.4rem; font-weight: 800; color: #111; margin-bottom: 14px; }
.vm-content p  { color: #555; line-height: 1.85; }

/* Core values */
.cv-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.cv-icon i { color: #fff; font-size: 1.3rem; }
.motto-tag {
  display: inline-block;
  background: #fff0f3;
  color: #a71836;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 14px;
}

/* Ranking / accreditation */
.ranking-section { padding: 72px 0; background: #fff; }
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.ranking-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}
.ranking-box:hover { transform: translateY(-6px); }

/* Process / steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.process-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-top: 3px solid #a71836;
  transition: transform 0.3s;
  text-align: center;
}
.process-card:hover { transform: translateY(-5px); }
.step-circle {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
}

/* Reports */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.report-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.4s;
  height: 100%;
}
.report-card:hover { transform: translateY(-10px); }
.report-card-inner { padding: 36px; display: flex; flex-direction: column; height: 100%; }
.report-icon {
  width: 58px; height: 58px;
  background: rgba(167, 24, 54, 0.08);
  color: #a71836;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: all 0.3s;
}
.report-card:hover .report-icon { background: #a71836; color: #fff; }
.report-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #f8f0f2;
  color: #a71836;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.report-info h3  { font-size: 1.2rem;  font-weight: 800; color: #111;  margin-bottom: 10px; }
.report-info p   { font-size: 0.9rem;  color: #666; line-height: 1.6; margin-bottom: 20px; }
.report-action { margin-top: auto; }


/* ─────────────────────────────────────────────────────────────
   14. ADMISSION & ACADEMIC PAGES
   ───────────────────────────────────────────────────────────── */

/* Schedule cards */
.schedule-section { padding: 60px 0; background: #f7f7f9; }
.schedule-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 280px;
}
.schedule-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12); }
.schedule-card .card-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}
.schedule-card h3  { font-size: 1.1rem; font-weight: 700; margin: 1rem 0 0; }
.schedule-card .btn { margin-top: auto; border-radius: 50px; padding: 0.65rem 1.25rem; }

/* Table wrappers */
.schedule-table-container {
  padding: 40px;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}
.schedule-table-container table { min-width: 600px; }
.table-container { padding: 30px; }

/* Tab buttons */
.tab-btn {
  color: #525252;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
}
.tab-btn:hover { color: #a71836; border-color: #a71836; background: rgba(167, 23, 54, 0.06); box-shadow: 0 6px 16px rgba(167, 23, 54, 0.12); }
.tab-btn.active { background-color: #a71836; color: #fff; border-color: #a71836; box-shadow: 0 12px 28px rgba(167, 23, 54, 0.3); }

/* Nav pills (seats page) */
.nav-pills-premium { gap: 15px; justify-content: center; margin-bottom: 40px; }
.nav-pills-premium .nav-link {
  background: #fff;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  padding: 12px 25px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.nav-pills-premium .nav-link.active {
  background: linear-gradient(135deg, #a71836 0%, #7d1228 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(167, 24, 54, 0.3);
}

/* Eligibility criteria */
.eligibility-section { padding: 80px 0; background: #fdfdfd; }
.criteria-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}
.card-title-bar {
  background: linear-gradient(135deg, #a71836 0%, #450a0a 100%);
  padding: 20px 30px;
  color: #fff;
}
.card-title-bar h3 { margin: 0; font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 15px; }
.min-marks {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(167, 24, 54, 0.1);
  color: #a71836;
  font-weight: 700;
  border-radius: 6px;
}
.important-notes { background: #fff; border-radius: 15px; padding: 30px; border: 1px dashed #a71836; }
.important-notes h4 { color: #a71836; font-weight: 700; margin-bottom: 20px; }
.note-item { display: flex; gap: 15px; margin-bottom: 15px; }
.note-item i { color: #a71836; margin-top: 5px; }
.apply-footer { text-align: center; padding: 60px 0; background: linear-gradient(135deg, #fdfdfd 0%, #f0f0f0 100%); border-radius: 20px; }

/* Seats */
.seats-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}
.card-header-bar {
  background: linear-gradient(135deg, #a71836 0%, #450a0a 100%);
  padding: 20px 30px;
  color: #fff;
}
.seat-count  { font-weight: 800; color: #a71836; }
.badge-regular { background: rgba(13, 110, 253, 0.1); color: #0d6efd; padding: 5px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.badge-finance { background: rgba(40, 167, 69, 0.1);  color: #28a745; padding: 5px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }

/* Admission procedure */
.admission-content { padding: 100px 0; background: #fff; }
.section-wrapper { margin-bottom: 80px; }
.section-header { margin-bottom: 40px; display: flex; align-items: center; gap: 20px; }
.icon-box {
  width: 60px; height: 60px;
  background: #a71836;
  color: #fff !important;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(167, 23, 54, 0.2);
  flex-shrink: 0;
}
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin: 0; }
.section-header p  { color: var(--text-muted); font-size: 1.1rem; margin-top: 5px; }

.list-card {
  background: #fff;
  padding: 25px 30px 25px 80px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s var(--transition);
}
.list-card:hover { transform: translateX(10px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(167, 24, 54, 0.08); }
.list-card .badge {
  position: absolute; left: 20px; top: 50%;
  transform: translateY(-50%);
  width: 45px; height: 45px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  border: 2px solid var(--primary);
}
.list-card:hover .badge { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.1); }
.list-card ul { margin-top: 15px; padding-left: 20px; }
.list-card li  { margin-bottom: 10px; color: var(--text-muted); }

.success-card {
  background: #fdf2f4;
  padding: 24px 30px;
  border-radius: 15px;
  border-left: 5px solid var(--primary);
  margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 15px;
  transition: all 0.3s ease;
}
.success-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(167, 24, 54, 0.1); }
.success-card i { color: var(--primary); font-size: 1.2rem; margin-top: 4px; }

.danger-card {
  background: #f8f9fa;
  padding: 24px 30px;
  border-radius: 15px;
  border-left: 5px solid #333;
  margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: all 0.3s ease;
}
.danger-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); border-left-color: var(--primary); }
.danger-card i   { color: #cc0000; margin-right: 10px; }
.danger-card ul  { margin-top: 10px; font-size: 0.95rem; color: var(--text-muted); }

/* Glass note */
.glass-note {
  background: rgba(167, 24, 54, 0.03);
  border-left: 5px solid #a71836;
  border-radius: 10px;
  padding: 30px;
  margin-top: 50px;
}
.glass-note h4 { color: #a71836; font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }

/* Apply CTA banner */
.apply-cta {
  background: linear-gradient(135deg, #a71836 0%, #1a1a1a 100%);
  padding: 60px 0;
  color: #fff;
  border-radius: 20px;
  margin-top: 60px;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}
.status-badge.status-announced,
.status-announced { background: #d1fae5; color: #065f46; }
.status-badge.status-tentative,
.status-tentative  { background: #fef3c7; color: #92400e; }
.status-badge.status-dot { background: #f8f0f2; color: #a71836; }

/* Tables (shared) */
.table thead th {
  background: #f8f9fa;
  border-bottom: 2px solid #a71836;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 15px;
}
.table tbody td {
  padding: 18px 15px;
  vertical-align: middle;
  color: #555;
  border-bottom: 1px solid #eee;
}
.table tbody tr:last-child td { border-bottom: none; }

/* Apply online portal */
.portal-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.portal-card:hover { box-shadow: 0 10px 32px rgba(167, 24, 54, 0.15); }
.portal-panel-info {
  background-color: #a71836;
  color: white;
  position: relative;
  overflow: hidden;
  padding: 2.5rem !important;
}
.portal-panel-info::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.portal-panel-info::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1), rgba(255,255,255,0.4));
  background-size: 200%;
  animation: shimmerBar 3s linear infinite;
}
@keyframes shimmerBar {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.portal-panel-info > * { position: relative; z-index: 2; }
.portal-panel-info h3 {
  font-size: 1.5rem; font-weight: 700;
  position: relative; padding-bottom: 14px; margin-bottom: 24px !important;
}
.portal-panel-info h3::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: rgba(255, 255, 255, 0.45); border-radius: 2px;
}
.portal-data-item h5 {
  font-size: 1rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  margin: 6px 0; display: flex; align-items: center; gap: 8px;
}
.portal-data-item h5 i { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.portal-data-item p   { font-size: 0.94rem; line-height: 1.6; opacity: 0.85; margin: 0; }
.portal-data-item a   { color: #fff !important; text-decoration: none; font-weight: 600; transition: opacity 0.2s; }
.portal-data-item a:hover { opacity: 0.8; }

.portal-qlink-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 1.5rem; }
.portal-qlink-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 14px 18px; transition: all 0.2s;
  text-decoration: none !important; color: #fff !important;
}
.portal-qlink-row:hover { background: rgba(255,255,255,0.18); transform: translateX(5px); }
.portal-qlink-icon {
  width: 36px; height: 36px; background: rgba(255,255,255,0.15);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.portal-qlink-text strong { display: block; font-size: 0.85rem; font-weight: 600; }
.portal-qlink-text span   { font-size: 0.75rem; opacity: 0.7; }
.portal-qlink-arrow       { margin-left: auto; font-size: 0.8rem; opacity: 0.4; }

.portal-panel-form { padding: 2.5rem !important; background: #fff; }
.portal-panel-form h2 {
  font-size: 1.5rem; font-weight: 700; color: #1a1a1a;
  position: relative; padding-bottom: 14px; margin-bottom: 10px !important;
}
.portal-panel-form h2::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: #a71836; border-radius: 2px;
}

/* Fees hero */
.fees-hero { background: linear-gradient(180deg, #fff4f7 0%, #fef8f9 100%); }
.fees-hero .lead { max-width: 620px; }
.fees-step-card,
.fees-category-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; border-color: rgba(167, 24, 54, 0.12); }
.fees-step-card:hover,
.fees-category-card:hover { transform: translateY(-2px); box-shadow: 0 18px 35px rgba(0,0,0,0.06); }
.fees-hero .badge { font-size: 0.82rem; letter-spacing: 0.35px; }
.captcha-wrap { min-height: 72px; }
.captcha-img-box img { max-height: 36px; }


/* ─────────────────────────────────────────────────────────────
   15. INFRASTRUCTURE, FACILITIES & LIBRARY
   ───────────────────────────────────────────────────────────── */

.infrastructure-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.infrastructure-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); border-color: rgba(255, 31, 31, 0.4); }
.infrastructure-card-img-wrapper { position: relative; height: 230px; overflow: hidden; }
.infrastructure-card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.infrastructure-card:hover .infrastructure-card-img-wrapper img { transform: scale(1.1); }
.infrastructure-card-tag {
  position: absolute; bottom: 12px; left: 12px;
  background: #a71836; color: white;
  padding: 5px 15px;
  font-size: 0.7rem; font-weight: 700;
  border-radius: 5px; text-transform: uppercase; z-index: 2;
}
.infrastructure-card-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.infrastructure-card h4 { font-weight: 800; color: #1a1a1a; margin-bottom: 12px; font-size: 1.25rem; }
.infrastructure-card p  { font-size: 0.9rem; line-height: 1.6; color: #6c757d; }
.facility-features { padding-left: 0; list-style: none; margin-bottom: 25px; }
.facility-features li { font-size: 0.85rem; color: #4a4a4a; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.facility-features li i { color: #a71836; font-size: 0.9rem; }

/* Calendar card */
.calendar-card { border-radius: 24px; overflow: hidden; }
.calendar-card-img-wrapper { height: 220px; overflow: hidden; }
.calendar-card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.calendar-card:hover .calendar-card-img-wrapper img { transform: scale(1.04); }
.calendar-card .card-body { padding: 1.75rem 1.5rem 2rem; }
.calendar-card h3 { font-size: 1.25rem; letter-spacing: -0.03em; }
.calendar-card .btn { min-width: 160px; border-radius: 50px; padding: 0.65rem 1.25rem; white-space: nowrap; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.calendar-card .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(167, 23, 54, 0.2); }

/* Canteen / Hostel */
.canteen-section,
.hostel-section { padding: 72px 0; background: #fff; }
.timing-flex { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.time-box {
  background: linear-gradient(135deg, #a71836, #c24d60);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.time-box strong { display: block; font-size: 1.1rem; font-weight: 800; }
.time-box span   { font-size: 0.78rem; opacity: 0.85; }

/* Library services */
.timings-section { padding: 60px 0; background: #f7f7f9; }
.svc-sec  { padding: 60px 0; background: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 28px; }
.svc-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #a71836;
  transition: transform 0.3s;
}
.svc-card:hover { transform: translateY(-5px); }
.svc-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.svc-icon i { color: #fff; font-size: 1.2rem; }
.svc-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.svc-card p  { font-size: 0.82rem; color: #666; margin: 0; }
.svc-more { display: block; margin-top: 12px; font-size: 0.8rem; color: #a71836; font-weight: 600; text-decoration: none; }

/* Quick links rows */
.qlink-rows { margin-top: 24px; }
.qlink-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  text-decoration: none; color: inherit;
  border-left: 3px solid #a71836;
  transition: transform 0.25s;
}
.qlink-row:hover { transform: translateX(4px); color: inherit; }
.qlink-icon  { color: #a71836; font-size: 1.1rem; flex-shrink: 0; }
.qlink-text  { font-weight: 600; font-size: 0.92rem; flex: 1; }
.qlink-arrow { color: #a71836; font-size: 0.8rem; }


/* ─────────────────────────────────────────────────────────────
   16. SYLLABUS & ACCORDION
   ───────────────────────────────────────────────────────────── */

.syllabus-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

.subject-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
  border-left: 3px solid #a71836;
  transition: transform 0.25s;
  flex-wrap: wrap;
  align-items: flex-start;
}
.subject-card:hover { transform: translateX(4px); }
.subject-title { font-weight: 700; flex: 1; font-size: 0.95rem; color: #111; min-width: 0; }
.subject-meta  { font-size: 0.8rem; color: #666; min-width: 0; }
.subject-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-left: auto; }

.view-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #fff0f3; color: #a71836;
  font-size: 0.78rem; font-weight: 700;
  text-decoration: none;
  border: 1px solid #f0c0cc;
  transition: all 0.25s;
}
.view-btn:hover { background: #a71836; color: #fff; }

.download-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #a71836; color: #fff;
  font-size: 0.78rem; font-weight: 700;
  text-decoration: none;
  border: 1px solid #a71836;
  transition: all 0.25s;
}
.download-btn:hover { background: #8f122f; color: #fff; text-decoration: none; }

/* Bootstrap Accordion Overrides */
.accordion-item {
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 15px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.accordion-header { margin-bottom: 0; }
.accordion-button {
  padding: 18px 22px;
  font-weight: 700;
  color: #111;
  background: #fff;
}
.accordion-button:not(.collapsed) {
  background-color: rgba(167, 23, 54, 0.06);
  color: #a71836;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(167, 23, 54, 0.15);
  border-color: rgba(167, 23, 54, 0.3);
}
.accordion-button::after {
  filter: sepia(100%) saturate(2000%) hue-rotate(330deg); /* Adjust to match #a71836 */
}
.accordion-button span { display: flex; align-items: center; gap: 12px; }
.accordion-button i { color: #a71836; width: 20px; text-align: center; }

.accordion-flush .accordion-item {
  border-radius: 0 !important;
  margin-bottom: 0;
  border-left: 0; border-right: 0;
}
.accordion-flush .accordion-button {
  background: #fafafa;
  font-size: 0.95rem;
}



/* ─────────────────────────────────────────────────────────────
   17. PEOPLE PAGES (Alumni, Administration, Events)
   ───────────────────────────────────────────────────────────── */

/* Alumni profile card */
.alumni-profile-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.alumni-img-wrapper { height: 240px; width: 100%; overflow: hidden; }
.alumni-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.alumni-meta { padding: 20px; }
.alumni-pill {
  display: inline-block;
  background: #f8f0f2; color: #a71836;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; margin-bottom: 10px;
}
.alumni-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a71836, #c24d60);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.8rem; color: #fff; font-weight: 800;
}
.alumni-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Committee / custom lists */
.custom-list { list-style: none; padding: 0; }
.custom-list li { padding: 10px 0; border-bottom: 1px solid #eee; display: flex; align-items: flex-start; gap: 10px; }
.custom-list li i { color: #a71836; margin-top: 5px; font-size: 0.8rem; }

/* Events / sessions */
.sess-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); }
.sess-photo-count {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.5); color: #fff;
  border-radius: 20px; padding: 3px 10px; font-size: 0.75rem;
}
.sess-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.sess-type-badge {
  position: absolute; top: 12px; left: 12px;
  background: #a71836; color: #fff;
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700;
}
.sess-meta { display: flex; gap: 14px; font-size: 0.78rem; color: #888; }
.sess-meta i { color: #a71836; margin-right: 4px; }
.sess-btn {
  display: inline-block; margin-top: 14px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  color: #fff; padding: 8px 18px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: all 0.3s;
}
.sess-btn:hover { color: #fff; box-shadow: 0 4px 12px rgba(167, 24, 54, 0.3); }
.sess-status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; margin-bottom: 8px; }
.sess-status.soon   { background: #fef3c7; color: #92400e; }
.sess-status.active { background: #d1fae5; color: #065f46; }
.sess-status.past   { background: #f3f4f6; color: #6b7280; }
.sess-icon { margin-bottom: 10px; color: #a71836; font-size: 1.6rem; }

/* News page */
.news-section { padding: 72px 0; background: #fff; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin-top: 28px;
}
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s;
  border-left: 4px solid #a71836;
}
.news-card:hover { transform: translateY(-5px); }


/* ─────────────────────────────────────────────────────────────
   18. GALLERY & MEDIA
   ───────────────────────────────────────────────────────────── */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-top: 28px;
}
.photo-placeholder { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #eee; position: relative; }
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; }

.pg-item { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pg-item:hover img { transform: scale(1.06); }
.pg-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.pg-item:hover .pg-overlay { opacity: 1; }
.pg-icon { color: #fff; font-size: 1.8rem; }
.pg-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 16px 12px 10px;
  color: #fff; font-size: 0.82rem; font-weight: 600;
}

/* NPGC Global Lightbox overlay */
.gallery-item { position: relative; overflow: hidden; }
.gallery-item img { height: 200px; object-fit: cover; width: 100%; }
.gallery-item::after {
  content: "\f065";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex; justify-content: center; align-items: center;
  font-size: 24px;
  opacity: 0;
  transition: 0.3s;
}
.gallery-item:hover::after { cursor: pointer; opacity: 1; }


/* ─────────────────────────────────────────────────────────────
   19. CAREERS / PLACEMENT PAGES
   ───────────────────────────────────────────────────────────── */

/* Prospectus */
.info-section { padding: 80px 0; background: #fdfdfd; }
.prospectus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 28px;
}
.prospectus-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #a71836;
  transition: transform 0.3s;
}
.prospectus-box:hover { transform: translateY(-5px); }

/* Search */
.search-box-wrapper {
  display: flex; align-items: center;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto 24px;
}
.search-icon { padding: 0 16px; color: #a71836; }
.search-input-field { flex: 1; border: none; outline: none; padding: 12px 0; font-size: 0.95rem; background: transparent; }

/* Resources */
.resource-section { padding: 60px 0; background: #f7f7f9; }
.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; background: #fff; border-radius: 10px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); border-left: 3px solid #a71836;
  transition: transform 0.25s;
}
.resource-item:hover { transform: translateX(4px); }
.resource-icon { color: #a71836; font-size: 1.2rem; flex-shrink: 0; }
.resource-name { font-weight: 600; font-size: 0.95rem; flex: 1; }
.resource-info { font-size: 0.8rem; color: #888; }


/* ─────────────────────────────────────────────────────────────
   20. SCHOLARSHIP PAGE
   ───────────────────────────────────────────────────────────── */

.scholarship-hero {
  position: relative;
  background: linear-gradient(135deg, #a71836 0%, #c24d60 100%);
  color: #fff;
  padding: 120px 0 80px;
  overflow: hidden;
}
.scholarship-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/eligibility-hero.avif') center/cover no-repeat;
  opacity: 0.1; z-index: 0;
}
.scholarship-hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2); color: #fff;
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
  backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3);
}
.scholarship-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-top: 4px solid #a71836;
  height: 100%;
  transition: transform 0.3s;
}
.scholarship-card:hover { transform: translateY(-5px); }
.card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #fff; font-size: 1.4rem;
}
.eligibility-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.badge-item {
  display: inline-block;
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.badge-up     { background: rgba(167,24,54,0.1); color:#a71836; border:1px solid rgba(167,24,54,0.2); }
.badge-income { background: rgba(34,197,94,0.1);  color:#16a34a; border:1px solid rgba(34,197,94,0.2); }
.badge-merit  { background: rgba(245,158,11,0.1); color:#d97706; border:1px solid rgba(245,158,11,0.2); }
.benefit-tag {
  display: inline-block;
  background: linear-gradient(135deg, #a71836, #c24d60);
  color: #fff; padding: 6px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; margin-top: 12px; margin-bottom: 16px;
}
.checklist-section { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 80px 0; }
.doc-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; background: #fff; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease;
}
.doc-item:hover { transform: translateX(5px); }
.doc-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; flex-shrink: 0;
}
.guide-card {
  background: #fff; border-radius: 16px; padding: 30px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-top: 4px solid #a71836; position: relative; transition: transform 0.3s ease;
}
.guide-card:hover { transform: translateY(-5px); }
.step-number {
  position: absolute; top: -15px; left: 24px;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #a71836, #c24d60);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(167, 24, 54, 0.3);
}
.guide-card h4 { font-size: 1.2rem; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; margin-top: 20px; }
.guide-card p  { color: #666; line-height: 1.6; margin: 0; }


/* ─────────────────────────────────────────────────────────────
   21. GENERIC CARDS & DESIGN TOKENS
   ───────────────────────────────────────────────────────────── */

/* Bootstrap card override — borderless uniform style */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  transition: box-shadow 0.3s ease;
}
.card:hover { box-shadow: 0 10px 32px rgba(167, 24, 54, 0.22); }

/* Generic NPGC card */
.npgc-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s;
  height: 100%;
  position: relative;
}
.npgc-card:hover { transform: translateY(-5px); }
.npgc-card.border-top-accent { border-top: 4px solid #a71836; }
.npgc-card-img-wrapper { overflow: hidden; position: relative; }
.npgc-card-img-wrapper.h-220 { height: 220px; }
.npgc-card-img-wrapper.h-150 { height: 150px; }
.npgc-card-img-wrapper.h-120 { height: 120px; }
.npgc-card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; object-position: center; }
.npgc-card:hover .npgc-card-img-wrapper img { transform: scale(1.06); }

/* Small tag / badge */
.npgc-tag {
  display: inline-block;
  background: #fff0f3; color: #a71836;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; margin-bottom: 8px;
}

/* Template card */
.template-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.template-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

/* Left accent content box */
.accent-left-card {
  background: #fff;
  border-left: 5px solid #a71836;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}
.accent-left-card:hover { transform: translateX(5px); }

/* Department card (standardized "infrastructure" variant) */
.dept-card {
  min-height: 280px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 1.25rem;
  border-radius: 24px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dept-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08); }
.dept-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0; }
.dept-icon-wrapper {
  width: 72px; height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(167, 23, 54, 0.12);
  color: #a71836;
  font-size: 1.5rem;
}
.dept-card a {
  min-width: 160px;
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dept-card a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(167, 23, 54, 0.2); }

/* NAAC section */
.naac-section { padding: 72px 0; background: #fff; }
.naac-badge-section {
  background: linear-gradient(135deg, #1a1013, #2c0512);
  padding: 48px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}
.naac-grade { font-size: 5rem; font-weight: 900; color: #e87a90; line-height: 1; }

/* Achievements / course badges */
.cb-bcom  { color: rgb(59, 130, 246);   background-color: rgba(59, 130, 246, 0.65); }
.cb-bcomh { color: rgb(139, 92, 246);   background-color: rgba(139, 92, 246, 0.65); }
.cb-bca   { color: rgb(14, 122, 87);    background-color: rgba(16, 185, 129, 0.65); }
.cb-bba   { color: rgb(245, 158, 11);   background-color: rgba(245, 158, 11, 0.65); }


/* ─────────────────────────────────────────────────────────────
   22. RECRUITER / PARTNER TICKER
   ───────────────────────────────────────────────────────────── */

#mqTrack {
  animation: scrollTrack 50s linear infinite;
  width: max-content;
}
#mqTrack:hover { animation-play-state: paused; }

@keyframes scrollTrack {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.mq-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #1a1a1a;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.mq-chip i { color: #a71836; }


/* ─────────────────────────────────────────────────────────────
   23. CONSOLIDATED RESPONSIVE OVERRIDES
   ───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .focus-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .overview-content      { grid-template-columns: 1fr; }
  .principal-container   { grid-template-columns: 1fr; }
  .dual-notice-grid      { grid-template-columns: 1fr; }
  .vm-grid               { grid-template-columns: 1fr; }
  .focus-grid            { grid-template-columns: repeat(3, 1fr); }
  .schedule-table-container { padding: 15px; }
  .table     { font-size: 0.8rem; }
  .table td,
  .table th  { padding: 12px 8px !important; }
  .status-badge { padding: 4px 8px; font-size: 0.65rem; }
  .nav-pills-premium .nav-link { padding: 10px 15px; font-size: 0.75rem; }
}

@media (max-width: 768px) {
  .hero-content h1   { font-size: 2em; }
  .stats-grid        { grid-template-columns: 1fr 1fr; }
  .focus-grid        { grid-template-columns: repeat(2, 1fr); }
  .unified-notice-item { flex-direction: column; align-items: flex-start; gap: 15px; }
  .section-header    { flex-direction: column; align-items: flex-start; text-align: left; }
  .list-card         { padding-left: 30px; }
  .list-card .badge  { position: static; transform: none; margin-bottom: 15px; }
  .list-card:hover .badge { transform: scale(1.1); }
  .scholarship-hero  { padding: 100px 0 60px; }
  .eligibility-badges { justify-content: center; }
  .doc-item          { flex-direction: column; text-align: center; gap: 12px; }
  .guide-card        { padding: 24px 20px; }
  .step-number       { left: 20px; }
  .principal-img-wrap img { max-height: 300px; }
  .timeline-item,
  .timeline-item.right { justify-content: flex-start; padding: 0 0 0 50px; }
  .timeline-line     { left: 20px; }
  .timeline-dot      { left: 20px; }
  .timeline-date     { left: 50px; transform: none; }
}

@media (max-width: 640px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 80px 15px 60px;
    min-height: auto;
  }
  .main-title {
    font-size: clamp(1.8rem, 9vw, 4rem);
    letter-spacing: -1px;
  }
  .btn-menu    { font-size: 0.75rem; }
  .policy-box  { padding: 28px 20px; }
  .table       { font-size: 0.75rem; }
  .table td,
  .table th    { padding: 10px 5px !important; }
  .nav-pills-premium { flex-direction: column; align-items: center; }
  .nav-pills-premium .nav-link { width: 100%; max-width: 300px; text-align: center; }
  .stat-box-home { padding: 24px 14px; }
  .vm-grid     { grid-template-columns: 1fr; }
  .core-values-grid { grid-template-columns: 1fr 1fr; }
  .sessions-grid,
  .news-grid,
  .research-grid { grid-template-columns: 1fr; }
  .portal-panel-info  { padding: 20px 16px !important; }
  .portal-panel-form  { padding: 22px 16px 24px !important; }
  .portal-panel-info h3,
  .portal-panel-form h2 { font-size: 1.2rem; }
  .principal-container { padding: 0 16px; }
  .hero-content h1 { font-size: 2em; white-space: normal; }
}

@media (max-width: 425px) {
  .hero     { height: 100vh; }
  .hero-section {
    padding: 90px 15px 60px;
    text-align: center;
  }
  .main-title {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    line-height: 1;
    letter-spacing: -1px;
  }
  .main-description { font-size: 0.95rem; }
}

@media (max-width: 380px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .portal-panel-info { padding: 16px 12px !important; }
  .portal-panel-form { padding: 18px 12px 20px !important; }
  .portal-panel-info h3,
  .portal-panel-form h2 { font-size: 1.05rem; }
}

@media (max-width: 375px) {
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 320px) {
  .section-title { font-size: 1.5rem; }
}