/* ================================================================
   enhance.css — Visual polish for Institute of Nursing Islamia Hospital
   Load AFTER style.css.
   RULE: No new HTML elements. No colour value changes.
         Only spacing, sizing, shadows, borders, transitions, layout.
   ================================================================ */


/* ── GLOBAL ──────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif !important;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.logo-name,
.footer-logo,
.footer-heading,
.section-heading h2,
.banner-wraper h1,
.about-section h3,
.vision-modal-header h4 {
  font-family: 'Times New Roman', Georgia, serif !important;
}

/* Nav, buttons and small UI labels stay in DM Sans for sharpness */
.navbar-nav .nav-item .nav-link,
.header-link a,
.vision-read-more,
.mission-read-more,
.content h5,
.footer-content-wrap ul li a,
.footer-ctredit {
  font-family: 'DM Sans', sans-serif !important;
}

p {
  font-family: 'DM Sans', sans-serif !important;
  line-height: 1.85;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

a {
  transition: color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

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

section {
  margin-top: 0;
  padding: 75px 0;
}


/* ── TOPBAR ──────────────────────────────────────────────────── */

.topbar {
  height: 5px !important;
  background: linear-gradient(90deg,
    #003e7d 0%,
    #044fb5 30%,
    #0586ee 55%,
    #044fb5 75%,
    #003e7d 100%) !important;
  box-shadow: 0 2px 8px rgba(4, 79, 181, 0.4) !important;
}


/* ── HEADER ──────────────────────────────────────────────────── */

header {
  box-shadow:
    0 2px 0 rgba(4, 79, 181, 0.08),
    0 6px 24px rgba(0, 0, 0, 0.11);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header > .container {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Logo column */
.logo-section {
  display: flex;
  align-items: center;
  padding: 6px 0;
  min-width: 0;
}

.logo-section > div {
  width: 100%;
  min-width: 0;
}

.logo-section > div {
  border-left: 4px solid #044fb5;
  padding-left: 16px;
}

.logo-name {
  font-size: 22px;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.affilation {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

.estd {
  margin-top: 2px;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  opacity: 0.8;
}

/* Header CTA buttons */
.col-lg-4 .header-link {
  float: none;
  display: flex;
  flex-shrink: 1;
  min-width: 0;
  margin: 0;
}

.col-lg-4 .header-link a {
  min-width: 0;
}

/* ── HEADER 7 : 5 COLUMN RATIO (large screens) ───────────────── */
@media (min-width: 992px) {
  /* Logo column — 7/12 = 58.3333% */
  header > .container > .row > .col-lg-8 {
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
  }

  /* Buttons column — 5/12 = 41.6667% */
  header > .container > .row > .col-lg-4 {
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    padding-top: 4px;
    gap: 6px;
    min-width: 0;
  }

  /* Scale up logo text to use the extra column space */
  .logo-name {
    font-size: 27px;
  }

  .affilation {
    font-size: 15.5px;
  }

  .estd {
    font-size: 14px;
  }
}

.header-link a {
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 11.5px;
  letter-spacing: 0.2px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  transition:
    background 0.22s ease,
    transform 0.18s ease,
    box-shadow 0.22s ease;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 3px 10px rgba(4, 79, 181, 0.3);
}

.header-link a i {
  font-size: 16px;
  line-height: 1;
}

.header-link a:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 6px 18px rgba(4, 79, 181, 0.45);
  text-decoration: none;
}

.header-link a:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(4, 79, 181, 0.25);
}


/* ── NAVBAR ──────────────────────────────────────────────────── */

.navbar-color {
  box-shadow:
    0 3px 0 rgba(5, 134, 238, 0.15),
    0 4px 14px rgba(0, 0, 0, 0.22);
}

.navbar-nav .nav-item .nav-link {
  padding: 14px 16px !important;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  border-bottom: 3px solid transparent;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease !important;
  position: relative;
}

.navbar-nav .nav-item .nav-link:hover {
  border-bottom-color: #0586ee !important;
}

.navbar-nav .nav-item .nav-link.activee {
  border-bottom: 3px solid #0586ee !important;
  color: #003e7d !important;
}


/* ── BANNER / HERO CAROUSEL ──────────────────────────────────── */

.banner-wraper {
  position: relative;
  overflow: hidden;
  background: #001230 !important;
  height: 75vh;
  max-height: 75vh;
}

/* Carousel track — slides sit inside here */
.bc-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bc-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.bc-slide.bc-active {
  opacity: 1;
}

/* Multi-layer gradient overlay — reduced opacity so images show clearly */
.banner-wraper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      108deg,
      rgba(0, 18, 60, 0.38) 0%,
      rgba(0, 40, 100, 0.28) 45%,
      rgba(0, 62, 125, 0.12) 100%
    );
  z-index: 1;
  pointer-events: none;
}

/* Vignette along bottom */
.banner-wraper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(0, 10, 35, 0.2));
  z-index: 1;
  pointer-events: none;
}

/* Hero text — above overlays */
.banner-wraper .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.banner-wraper h1 {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.3;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.5),
    0 3px 12px rgba(0, 0, 0, 0.4);
  font-weight: 600;
  max-width: 600px;
  letter-spacing: 0;
}

.banner-wraper h1 .default-color {
  color: #ffffff !important;
  position: relative;
  display: inline-block;
  padding: 2px 10px 4px;
  background: #003e7d;
  border-radius: 5px;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 3px 12px rgba(0, 0, 0, 0.3);
}

/* Prev / Next arrow buttons */
.bc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0, 62, 125, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  user-select: none;
}

.bc-btn:hover {
  background: rgba(0, 62, 125, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.bc-prev { left: 18px; }
.bc-next { right: 18px; }

/* Dot indicators */
.bc-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}

.bc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.bc-dot.bc-active {
  background: #ffffff;
  transform: scale(1.35);
}


/* ── NOTICE / SCROLL BAR ─────────────────────────────────────── */

.scroll-notice {
  display: flex;
  align-items: center;
  padding: 9px 20px;
  gap: 16px;
}

.scroll-notice h3 {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: #003e7d;
  border-bottom: none !important;
  border-right: 2px dashed #03C;
  padding: 0 16px 0 0;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-notice marquee {
  font-size: 13.5px;
  font-weight: 500;
  color: #003e7d;
  flex: 1;
}


/* ── WELCOME SECTION ─────────────────────────────────────────── */

main > section:first-child {
  padding: 70px 0 60px;
  background: #fff;
}

main > section:first-child h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 2px solid #edf2f9;
  line-height: 1.28;
  letter-spacing: -0.3px;
  position: relative;
}

/* Coloured accent under the section title */
main > section:first-child h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #003e7d, #044fb5);
}

main > section:first-child > .container > .row > .col-lg-12 > .row > .col-lg-12 p {
  font-size: 16px;
  line-height: 1.9;
  color: #4a5568;
}

/* Vision / Mission cards */
.wraper-box {
  display: flex;
  align-items: flex-start;
  border: none;
  border-radius: 12px;
  padding: 30px 24px;
  margin-bottom: 22px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
  position: relative;
  overflow: hidden;
  background: #f4f8ff;
  min-height: 220px;
}

/* ::before — blurred background image layer */
.wraper-box::before {
  content: '';
  position: absolute;
  inset: -12px;          /* overshoot to hide blur edge fringing */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(5px);
  z-index: 0;
  border-radius: 12px;
}

/* Vision card image on ::before */
.col-lg-6.col-md-6:nth-child(1) .wraper-box::before,
.col-md-6:first-child .wraper-box::before {
  background-image: url('https://images.unsplash.com/photo-1504805572947-34fad45aed93?w=900&auto=format&fit=crop&q=80');
}

/* Mission card image on ::before */
.col-lg-6.col-md-6:nth-child(2) .wraper-box::before,
.col-md-6:last-child .wraper-box::before {
  background-image: url('https://images.unsplash.com/photo-1532938911079-1b06ac7ceec7?w=900&auto=format&fit=crop&q=80');
}

/* ::after — dark tint over full card + right-edge fade into background */
.wraper-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(0, 18, 60, 0.75) 0%,
      rgba(0, 18, 60, 0.75) 60%,
      rgba(244, 248, 255, 0.95) 100%
    );
  z-index: 1;
  border-radius: 12px;
}

/* All direct children sit above both pseudo-elements */
.wraper-box .icon,
.wraper-box .content {
  position: relative;
  z-index: 2;
}

.wraper-box:hover {
  box-shadow:
    0 6px 0 rgba(4, 79, 181, 0.2),
    0 14px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.wraper-box .icon {
  flex-shrink: 0;
  margin-top: 2px;
  margin-right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 4px 14px rgba(0, 0, 0, 0.3);
  transition:
    background 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wraper-box .icon i {
  font-size: 22px;
  line-height: 1;
  color: #ffffff !important;
}

.wraper-box:hover .icon {
  background: rgba(255, 255, 255, 0.25) !important;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.4);
  transform: scale(1.1);
}

.content {
  padding-top: 0;
  flex: 1;
}

.content h5 {
  padding: 7px 16px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-top: none !important;
  border-bottom: none !important;
  display: inline-block;
}

.content p {
  font-size: 14.5px;
  line-height: 1.82;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ── VISION / MISSION BOX — constrained height with clipped text ─ */

.vision-box,
.mission-box {
  min-height: unset;
  align-items: flex-start;
}

/* Clip only the paragraph so the button stays visible */
.vision-box .content p,
.mission-box .content p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 12px;
}

.vision-read-more,
.mission-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  position: relative;
  z-index: 3;
  text-decoration: none;
}

.vision-read-more:hover,
.mission-read-more:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  color: #ffffff !important;
  text-decoration: none;
}

/* ── VISION / MISSION MODAL ─────────────────────────────────── */

.vision-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 40, 0.75);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.vision-modal-overlay.vm-open {
  display: flex;
}

.vision-modal {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow:
    0 4px 0 rgba(4, 79, 181, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.35);
  animation: vmSlideIn 0.3s ease;
}

@keyframes vmSlideIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.vision-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 18px;
  border-bottom: 2px solid #edf2f9;
  position: relative;
}

.vision-modal-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 28px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #003e7d, #0586ee);
}

.vision-modal-header h4 {
  font-size: 20px;
  font-weight: 700;
  color: #003e7d;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
}

.vision-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4f8ff;
  border: 1px solid #dde7f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #003e7d;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.vision-modal-close:hover {
  background: #003e7d;
  color: #fff;
  transform: rotate(90deg);
}

.vision-modal-body {
  padding: 24px 28px 28px;
}

.vision-modal-body p {
  font-size: 15.5px;
  line-height: 1.9;
  color: #4a5568;
  margin: 0;
}

@media (max-width: 480px) {
  .vision-modal-header,
  .vision-modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* ── INFORMATION SECTION ─────────────────────────────────────── */

.info-wraper {
  padding: 80px 0;
  position: relative;
}

/* Dark gradient overlay — deeper and more dramatic */
.info-wraper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(0, 10, 40, 0.72) 0%,
      rgba(0, 30, 80, 0.65) 50%,
      rgba(0, 20, 55, 0.72) 100%
    );
  z-index: 0;
}

.info-wraper > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  padding: 16px 0 32px;
}

.section-heading h2 {
  font-size: 34px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.section-heading h2:after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  border-radius: 3px;
  bottom: -16px;
  background: rgba(255, 255, 255, 0.7);
}

/* Info link cards */
.info-details ul {
  gap: 14px;
  margin-top: 24px;
}

.info-details ul li {
  flex-basis: calc(33.333% - 10px);
}

.info-details ul li a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 10px rgba(0, 0, 0, 0.12);
}

.info-details ul li a:hover {
  background: rgba(69, 164, 251, 0.28);
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 22px rgba(0, 0, 0, 0.22) !important;
}

.info-details ul li a i {
  font-size: 15px;
  margin-left: 10px;
  flex-shrink: 0;
  transition: transform 0.25s ease !important;
  opacity: 0.8;
}

.info-details ul li a:hover i {
  transform: translateX(5px);
  opacity: 1;
  margin-right: 0 !important;
}

/* Quote block */
.info-wraper .row.justify-content-center {
  margin-top: 44px;
}

.info-wraper .row.justify-content-center p {
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.9;
  padding: 26px 32px;
  border-left: 4px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 0 10px 10px 0;
  margin: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

/* Opening quotation mark decoration */
.info-wraper .row.justify-content-center p::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 72px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  font-style: normal;
  font-weight: 700;
  pointer-events: none;
}


/* ── ABOUT / COURSES SECTION ─────────────────────────────────── */

main > section:nth-child(3) {
  background: #f4f8ff;
}

.about-section {
  padding: 36px 40px;
  box-shadow:
    0 2px 0 rgba(4, 79, 181, 0.06),
    0 6px 32px rgba(0, 62, 125, 0.1);
  border-radius: 14px !important;
  border-color: #c8d8ee !important;
  background: #fff !important;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.about-section:hover {
  box-shadow:
    0 2px 0 rgba(4, 79, 181, 0.08),
    0 12px 48px rgba(0, 62, 125, 0.14);
  transform: translateY(-2px);
}

.about-section .row {
  align-items: center;
}

.about-section h3 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #dde7f5;
  letter-spacing: 0.3px;
  position: relative;
}

.about-section h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #003e7d, #0586ee);
}

.about-section p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 12px;
  color: #4a5568;
}

.about-section a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  background: #003e7d;
  color: #fff !important;
  border-radius: 7px;
  transition:
    background 0.22s ease,
    transform 0.18s ease,
    box-shadow 0.22s ease;
  margin-top: 6px;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 4px 14px rgba(0, 62, 125, 0.3);
  letter-spacing: 0.3px;
}

.about-section a:hover {
  background: #044fb5;
  transform: translateY(-2px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 8px 22px rgba(0, 62, 125, 0.42);
  text-decoration: none;
}

.about-section a:active {
  transform: translateY(0);
}

.about-section img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow:
    0 4px 0 rgba(0, 62, 125, 0.1),
    0 10px 36px rgba(0, 0, 0, 0.16);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.about-section:hover img {
  box-shadow:
    0 4px 0 rgba(0, 62, 125, 0.12),
    0 16px 50px rgba(0, 0, 0, 0.2);
  transform: scale(1.01);
}


/* ── CONTACT SECTION ─────────────────────────────────────────── */

section.bg-primary {
  padding: 55px 0;
  margin-top: 0;
}

.contact-wraper {
  display: flex;
  align-items: center;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  margin: 8px 0;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 12px rgba(0, 0, 0, 0.1);
}

.contact-wraper:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 6px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.contact-wraper img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-right: 4px;
  transition: transform 0.25s ease;
}

.contact-wraper:hover img {
  transform: scale(1.08);
}

.contact-body {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-body a {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.2px;
  transition: opacity 0.2s;
}

.contact-body a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.contact-body span {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 3px;
  letter-spacing: 0.2px;
}


/* ── FOOTER ──────────────────────────────────────────────────── */

footer {
  display: block;
  padding: 52px 0 10px;
  border-top: 4px solid #003e7d;
  box-shadow: inset 0 4px 0 rgba(4, 79, 181, 0.08);
}

.footer-logo {
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid #dde7f5;
  letter-spacing: 0.3px;
}

.footer-heading {
  font-size: 13px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
}

/* Accent line under heading */
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #003e7d, #044fb5);
}

/* Footer links */
.footer-content-wrap ul li a {
  padding-left: 18px;
  position: relative;
  transition:
    padding-left 0.22s ease,
    color 0.22s ease;
  font-size: 14px;
  line-height: 1.5;
}

.footer-content-wrap ul li a::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: #003e7d;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  transition: transform 0.22s ease;
}

.footer-content-wrap ul li a:hover {
  padding-left: 24px;
  color: #003e7d !important;
  text-decoration: none;
}

.footer-content-wrap ul li a:hover::before {
  transform: translateX(3px);
}

.footer-content-wrap ul li {
  margin: 10px 0;
  border-bottom: 1px solid #edf2f9;
  padding-bottom: 8px;
}

.footer-content-wrap ul li:last-child {
  border-bottom: none;
}

/* Address text */
.footer-content-wrap span {
  display: block;
  margin-top: 12px;
  line-height: 1.75;
  font-size: 14px;
}

/* Map */
footer iframe {
  display: block;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Credit bar */
.footer-ctredit {
  display: block;
  margin-top: 36px;
  padding: 18px 20px;
  font-size: 13px;
  letter-spacing: 0.4px;
}

/* Footer columns */
.footer-content-wrap {
  padding-right: 16px;
}


/* ── RESPONSIVE ──────────────────────────────────────────────── */

@media (max-width: 991px) {
  .info-details ul li {
    flex-basis: calc(50% - 8px);
  }

  .banner-wraper h1 {
    font-size: 36px;
  }

  .about-section {
    padding: 28px 26px;
  }
}

@media (max-width: 768px) {
  .col-lg-4 {
    display: block;
    text-align: center;
    margin-top: 14px;
  }

  .col-lg-4 .header-link {
    display: inline-block;
    margin: 4px 3px;
  }

  .logo-section > div {
    border-left: none;
    border-top: 3px solid #044fb5;
    padding-left: 0;
    padding-top: 12px;
    text-align: center;
  }

  section {
    padding: 50px 0;
  }

  .info-details ul li {
    flex-basis: 100%;
  }

  .about-section {
    padding: 24px 20px;
  }

  .about-section img {
    height: 220px;
    margin-top: 22px;
  }

  .wraper-box {
    padding: 20px 18px;
  }

  .scroll-notice {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 16px;
  }

  .scroll-notice h3 {
    border-right: none;
    border-bottom: 2px dashed #03C;
    padding: 0 0 7px;
  }

  .contact-wraper {
    margin-bottom: 14px;
  }

  .contact-wraper:hover {
    transform: none;
  }

  .footer-content-wrap {
    padding-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .logo-name {
    font-size: 20px;
  }

  .affilation,
  .estd {
    font-size: 13px;
  }

  .banner-wraper h1 {
    font-size: 26px;
    letter-spacing: -0.2px;
  }

  .about-section img {
    height: 180px;
  }

  .section-heading h2 {
    font-size: 26px;
  }
}

/* ── COURSE TABLES ───────────────────────────────────────────── */

/* Section label above each table group */
.section-container .heading {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #003e7d;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 3px solid #003e7d;
  letter-spacing: 0.5px;
}

.section-container h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #044fb5;
  margin: 18px 0 4px;
  letter-spacing: 0.4px;
}

/* Wrapper */
.table-responsive {
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(4, 79, 181, 0.08),
    0 6px 28px rgba(0, 62, 125, 0.1);
  margin-bottom: 12px;
}

/* Reset Bootstrap striped so we control colours */
.section-container .table {
  margin-bottom: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-collapse: collapse;
  width: 100%;
}

/* Header row */
.section-container .table thead tr,
.section-container .table > tbody > tr:first-child:has(th),
.section-container .table tr:first-child {
  background: linear-gradient(90deg, #003e7d 0%, #044fb5 100%);
}

.section-container .table th {
  background: linear-gradient(90deg, #003e7d 0%, #044fb5 100%);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 14px 16px;
  border: none;
  white-space: nowrap;
  vertical-align: middle;
}

/* Body rows */
.section-container .table td {
  padding: 12px 16px;
  color: #3d4f63;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid #e8eef7;
  vertical-align: middle;
}

/* Alternating row colours */
.section-container .table.table-striped > tbody > tr:nth-of-type(odd) td {
  background-color: #f4f8ff;
}

.section-container .table.table-striped > tbody > tr:nth-of-type(even) td {
  background-color: #ffffff;
}

/* Hover highlight */
.section-container .table tbody tr {
  transition: background 0.18s ease;
}

.section-container .table tbody tr:hover td {
  background-color: #ddeaf9 !important;
  color: #003e7d;
}

/* First column — slightly bolder */
.section-container .table td:first-child {
  font-weight: 600;
  color: #003e7d;
  white-space: nowrap;
}

/* Last row total/summary styling */
.section-container .table tbody tr:last-child td {
  font-weight: 700;
  background: #e8eef7 !important;
  color: #003e7d;
  border-top: 2px solid #b8ccee;
}

@media (max-width: 768px) {
  .section-container .table th,
  .section-container .table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .section-container .heading {
    font-size: 18px;
  }
}

/* ── FEES PAGE ───────────────────────────────────────────────── */

/* Section wrapper used on Fees page tables */
.fees-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #003e7d;
  margin-bottom: 10px;
}

.fees-section > p {
  font-size: 15.5px;
  color: #4a5568;
  margin-bottom: 0;
}

/* Course sub-headings (GNM, B.Sc.) */
.fees-table-wrap h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #044fb5;
  margin: 32px 0 4px;
  padding-left: 14px;
  border-left: 4px solid #0586ee;
  line-height: 1.3;
}

/* Admission fee highlight card */
.fees-admission-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(105deg, #003e7d 0%, #044fb5 100%);
  color: #fff;
  border-radius: 10px;
  padding: 18px 28px;
  margin: 16px 0 28px;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 62, 125, 0.3);
}

.fees-admission-card .fac-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  display: block;
}

.fees-admission-card .fac-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

/* Table styles for fees page — mirrors .section-container tables */
.fees-table-wrap .table-responsive {
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(4, 79, 181, 0.08),
    0 6px 28px rgba(0, 62, 125, 0.1);
  margin-bottom: 8px;
}

.fees-table-wrap .table {
  margin-bottom: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-collapse: collapse;
  width: 100%;
}

.fees-table-wrap .table th {
  background: linear-gradient(90deg, #003e7d 0%, #044fb5 100%);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 14px 16px;
  border: none;
  white-space: nowrap;
  vertical-align: middle;
}

.fees-table-wrap .table td {
  padding: 12px 16px;
  color: #3d4f63;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid #e8eef7;
  vertical-align: middle;
}

.fees-table-wrap .table.table-striped > tbody > tr:nth-of-type(odd) td {
  background-color: #f4f8ff;
}

.fees-table-wrap .table.table-striped > tbody > tr:nth-of-type(even) td {
  background-color: #ffffff;
}

.fees-table-wrap .table tbody tr {
  transition: background 0.18s ease;
}

.fees-table-wrap .table tbody tr:hover td {
  background-color: #ddeaf9 !important;
  color: #003e7d;
}

/* First column label */
.fees-table-wrap .table td:first-child {
  font-weight: 600;
  color: #003e7d;
  white-space: nowrap;
}

/* Total / summary row */
.fees-table-wrap .table tbody tr:last-child td {
  font-weight: 700;
  background: #e8eef7 !important;
  color: #003e7d;
  border-top: 2px solid #b8ccee;
}

/* Amount cells — right-align numbers */
.fees-table-wrap .table td:not(:first-child),
.fees-table-wrap .table th:not(:first-child) {
  text-align: right;
}

/* Fees notes ordered list */
.fees-notes {
  margin: 8px 0 0;
  padding-left: 20px;
}

.fees-notes li {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 6px;
}

.fees-notes li::marker {
  color: #003e7d;
  font-weight: 700;
}

.fees-notes li a {
  color: #044fb5;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .fees-table-wrap .table th,
  .fees-table-wrap .table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .fees-admission-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 20px;
  }

  .fees-admission-card .fac-amount {
    font-size: 22px;
  }
}

/* ── GUIDELINES / SECTION-CONTAINER LIST STYLES ─────────────── */

/* Section title block used on inner pages */
.section-heading2 {
  padding: 16px 0 32px;
  text-align: left;
}

.section-heading2 h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 32px;
  font-weight: 700;
  color: #003e7d;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  margin-bottom: 6px;
  padding-bottom: 16px;
}

.section-heading2 h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #003e7d, #0586ee);
  border-radius: 3px;
}

.section-heading2 h3 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  color: #4a5568;
  margin-top: 8px;
  letter-spacing: 0.2px;
}

/* ── Ordered list (roman / decimal) inside .section-container ── */

.section-container ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: guidelines-counter;
}

.section-container ol[type="i"] {
  counter-reset: roman-counter;
}

.section-container ol li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 10px;
  background: #f7faff;
  border: 1px solid #dde7f5;
  border-left: 4px solid #003e7d;
  border-radius: 0 8px 8px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #3d4f63;
  line-height: 1.75;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  list-style: none;
}

.section-container ol li::before {
  content: none; /* remove any inherited pseudo content */
}

/* Counter badge */
.section-container ol li .guide-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003e7d, #044fb5);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 62, 125, 0.3);
  letter-spacing: 0;
  margin-top: 1px;
}

.section-container ol li:hover {
  background: #edf4ff;
  border-left-color: #0586ee;
  box-shadow: 0 4px 16px rgba(0, 62, 125, 0.1);
  transform: translateX(4px);
}

/* Unordered list inside .section-container — enhance the existing heart style */
.section-container ul li {
  padding: 14px 18px 14px 36px;
  background: #f7faff;
  border: 1px solid #dde7f5;
  border-left: 4px solid #003e7d;
  border-radius: 0 8px 8px 0;
  margin-bottom: 10px;
  font-size: 15px !important;
  color: #3d4f63 !important;
  line-height: 1.75;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.section-container ul li:hover {
  background: #edf4ff;
  border-left-color: #0586ee;
  box-shadow: 0 4px 16px rgba(0, 62, 125, 0.1);
  transform: translateX(4px);
}

.section-container ul li:before {
  color: #0586ee !important;
  font-size: 14px;
  margin-left: -1.6em;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .section-container ol li {
    padding: 14px 16px;
    font-size: 14px;
    gap: 12px;
  }

  .section-container ol li .guide-num {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .section-heading2 h2 {
    font-size: 24px;
  }
}

/* ── FOR STUDENTS PAGE ───────────────────────────────────────── */

/* Course sub-headings: A. GNM, B. B.Sc */
.for-students h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 19px;
  font-weight: 700;
  color: #003e7d;
  margin: 32px 0 16px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #edf4ff 0%, transparent 100%);
  border-left: 4px solid #003e7d;
  border-radius: 0 6px 6px 0;
  display: inline-block;
  width: 100%;
}

/* Grading sub-heading */
.for-students h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 17px;
  font-weight: 700;
  color: #044fb5;
  margin: 28px 0 8px;
  padding-left: 14px;
  border-left: 3px solid #0586ee;
}

/* Intro paragraph */
.for-students > .mt-3,
.for-students p.mt-3 {
  font-size: 15.5px;
  color: #4a5568;
  line-height: 1.85;
  background: #f7faff;
  border-left: 4px solid #b8ccee;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin-bottom: 8px;
}

/* ── Nested ol (roman sub-list inside point 16) ── */
.section-container ol ol {
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
}

.section-container ol ol li {
  background: rgba(4, 79, 181, 0.06);
  border-left-color: #0586ee;
  border-left-width: 3px;
  padding: 12px 18px;
  font-size: 14px;
  margin-bottom: 6px;
  transform: none !important; /* no slide on nested hover */
}

.section-container ol ol li:hover {
  background: rgba(4, 79, 181, 0.12);
  box-shadow: none;
  transform: translateX(2px) !important;
}

.section-container ol ol li .guide-num {
  width: 26px;
  height: 26px;
  font-size: 10.5px;
  background: linear-gradient(135deg, #044fb5, #0586ee);
}

/* Inline paragraphs inside ol li (e.g. examples in GNM point 4) */
.section-container ol li p {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: #4a5568;
  font-style: italic;
  line-height: 1.7;
}

/* Grading table — reuse fees-table-wrap styles */
.for-students .table-responsive {
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(4, 79, 181, 0.08),
    0 6px 28px rgba(0, 62, 125, 0.1);
  margin-bottom: 28px;
  max-width: 420px;
}

.for-students .table {
  margin-bottom: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-collapse: collapse;
  width: 100%;
}

.for-students .table th {
  background: linear-gradient(90deg, #003e7d 0%, #044fb5 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 13px 18px;
  border: none;
}

.for-students .table td {
  padding: 11px 18px;
  color: #3d4f63;
  border-top: 1px solid #e8eef7;
  vertical-align: middle;
}

.for-students .table.table-striped > tbody > tr:nth-of-type(odd) td {
  background-color: #f4f8ff;
}

.for-students .table.table-striped > tbody > tr:nth-of-type(even) td {
  background-color: #ffffff;
}

.for-students .table tbody tr:hover td {
  background-color: #ddeaf9 !important;
  color: #003e7d;
}

.for-students .table td:first-child {
  font-weight: 600;
  color: #003e7d;
}

.for-students .table td:last-child {
  text-align: right;
  font-weight: 500;
}

/* Stipend highlight */
.stipend-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(105deg, #003e7d 0%, #044fb5 100%);
  color: #fff;
  border-radius: 10px;
  padding: 22px 28px;
  margin-top: 16px;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 62, 125, 0.3);
  max-width: 520px;
}

.stipend-card i {
  font-size: 36px;
  opacity: 0.85;
  flex-shrink: 0;
}

.stipend-card .sc-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.95;
}

.stipend-card .sc-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  display: block;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .for-students h3 {
    font-size: 17px;
  }

  .for-students .table-responsive {
    max-width: 100%;
  }

  .stipend-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 20px;
  }
}
