/* Dnyandeep College of Pharmacy — shared redesign layer */
:root {
  --logo-navy: #14264B;
  --logo-navy-dark: #0B1934;
  --logo-navy-light: #263D68;
  --logo-green: #287A45;
  --logo-green-hover: #1D6338;
  --logo-gold: #E8751A;
  --logo-gold-glow: #F28A34;
  --accent-title-gold: #B84E0D;
  --bg-light: #F5F7FA;
  --text-main: #202B3C;
  --text-muted: #5F6C7D;
  --border-color: #E0E6EE;
  --radius: 14px;
  --shadow-sm: 0 5px 18px rgba(20, 38, 75, .06);
  --shadow-md: 0 14px 34px rgba(20, 38, 75, .11);
  --shadow-lg: 0 22px 48px rgba(11, 25, 52, .18);
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  color: var(--text-main);
  background: #fff;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: clip;
}
body :focus-visible {
  outline: 3px solid #E8751A !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(232, 117, 26, .18);
}
a { color: var(--logo-navy); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--logo-green-hover); }
img { max-width: 100%; }
.container { max-width: 1200px; }
#main-content { min-height: 60vh; }
#main-content:focus { outline: 0; }

.skip-link {
  position: fixed;
  z-index: 2000;
  top: .7rem;
  left: .7rem;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  border-radius: 8px;
  color: #fff;
  background: var(--logo-navy-dark);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* Shared institutional header and navigation */
.site-header { position: relative; z-index: 1030; background: #fff; }
.header-top { padding: 12px 0 14px; background: #fff; border-bottom: 1px solid var(--border-color); }
.header-logo { width: auto; max-width: 88px; max-height: 84px; object-fit: contain; }
.header-title h6 {
  margin: 0 0 .25rem;
  color: var(--logo-green);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.header-title h2 {
  margin: 0;
  color: var(--logo-navy);
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -.025em;
}
.header-title p { margin: .25rem 0 0; color: var(--text-muted); font-size: .78rem; line-height: 1.5; }
.site-navbar {
  min-height: 56px;
  padding: .25rem 0;
  background: var(--logo-navy);
  box-shadow: 0 5px 16px rgba(11, 25, 52, .14);
}
.site-navbar .container-fluid { max-width: 1440px; padding-inline: clamp(1rem, 3vw, 2.5rem); }
.site-navbar .navbar-nav { width: 100%; align-items: center; justify-content: center; gap: .12rem; }
.site-navbar .nav-link {
  position: relative;
  padding: .78rem .7rem;
  border-radius: 6px;
  color: rgba(255,255,255,.92);
  font-size: .83rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus-visible,
.site-navbar .nav-link.active { color: #fff; background: rgba(255,255,255,.11); }
.site-navbar .nav-link.active::after {
  position: absolute;
  right: .7rem;
  bottom: .28rem;
  left: .7rem;
  height: 2px;
  border-radius: 2px;
  background: var(--logo-gold);
  content: "";
}
.site-navbar .nav-cta {
  margin-left: .35rem;
  padding-inline: 1rem;
  color: #fff;
  background: #B84E0D;
  box-shadow: 0 3px 10px rgba(0,0,0,.13);
}
.site-navbar .nav-cta:hover,
.site-navbar .nav-cta:focus-visible { color: #fff; background: #963F08; }
.site-navbar .nav-cta::after { display: none; }
.site-navbar .dropdown-menu {
  min-width: 14rem;
  padding: .45rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.site-navbar .dropdown-item { padding: .55rem .75rem; border-radius: 6px; color: var(--text-main); font-size: .9rem; }
.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus,
.site-navbar .dropdown-item.active { color: var(--logo-navy); background: #F0F3F8; }
.site-navbar .navbar-toggler { border-color: rgba(255,255,255,.45); }
.site-navbar .navbar-toggler-icon { filter: brightness(0) invert(1); }

/* Page title treatment follows the navy and warm-orange reference. */
.page-header-wrap {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border-bottom: 1px solid var(--border-color);
  background: #F3F5F8;
  text-align: center;
}
.page-header-wrap .section-title,
.page-header-wrap .custom-page-title {
  margin: .2rem auto .65rem;
  color: var(--logo-navy) !important;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.2;
  text-wrap: balance;
}
.section-title .text-accent,
.section-title .gold-part,
.section-title .title-accent,
.custom-page-title .gold-part { color: var(--accent-title-gold) !important; }
.section-title .navy-part,
.custom-page-title .navy-part { color: var(--logo-navy) !important; }
.page-header-wrap .section-subtitle {
  max-width: 790px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(.96rem, 1.25vw, 1.08rem);
  line-height: 1.7;
}
.page-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: #718096;
  font-size: .78rem;
}
.page-breadcrumb a { color: var(--logo-navy); font-weight: 700; text-decoration: none; }
.page-breadcrumb [aria-current="page"] { max-width: min(70vw, 520px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section-title-wrap { margin-bottom: 1.65rem; }
.section-title { font-family: Poppins, Inter, sans-serif; font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.2; text-wrap: balance; }
.section-title-wrap.with-line::after { width: 46px; height: 3px; margin-top: .55rem; background: var(--logo-gold); }
.desk-section .section-title,
.desk-section .section-title .navy-part { color: #fff !important; }
.desk-section .section-title .text-accent,
.desk-section .section-title .gold-part,
.desk-section .section-title .title-accent { color: #F4A261 !important; }

/* Homepage hero: authentic campus photos with a clear route into admissions. */
#demo { position: relative; isolation: isolate; overflow: hidden; background: var(--logo-navy-dark); }
#demo::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,19,42,.88) 0%, rgba(7,19,42,.67) 43%, rgba(7,19,42,.13) 100%);
  content: "";
  pointer-events: none;
}
#demo .carousel-item img { display: block; width: 100%; height: clamp(440px, 48vw, 610px); object-fit: cover; object-position: center 45%; filter: none; }
#demo .hero-overlay-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  color: #fff;
  pointer-events: none;
}
.hero-kicker { margin: 0 0 .9rem; color: #F7B176; font-size: .78rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker span { padding-inline: .2rem; color: rgba(255,255,255,.7); }
.hero-title { max-width: 690px; margin: 0; color: #fff; font-family: Poppins, Inter, sans-serif; font-size: clamp(2.45rem, 5.3vw, 4.45rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.07; text-wrap: balance; }
.hero-title span { color: #F4A261; }
.hero-summary { max-width: 540px; margin: 1.1rem 0 1.7rem; color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; pointer-events: auto; }
.hero-actions .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .7rem 1.15rem; border-radius: 7px; font-weight: 700; text-decoration: none; }
.hero-primary { color: #fff; background: #B84E0D; border: 1px solid #B84E0D; }
.hero-primary:hover, .hero-primary:focus-visible { color: #fff; background: #963F08; border-color: #963F08; }
.hero-secondary { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.65); }
.hero-secondary:hover, .hero-secondary:focus-visible { color: var(--logo-navy); background: #fff; }
#demo .carousel-indicators { z-index: 4; margin-bottom: 1.2rem; }
#demo .carousel-indicators [data-bs-target] { border-color: #fff; background-clip: padding-box; }
#demo .carousel-indicators .active { background: var(--logo-gold); }

/* Homepage sections and entry-path cards. */
.welcome-section { padding: clamp(3rem, 6vw, 5rem) 1rem; background: #fff; }
.welcome-card { padding: clamp(1.5rem, 3vw, 2.6rem); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: var(--shadow-sm); }
.welcome-card .lead-text { color: #4D596A; font-size: 1rem; line-height: 1.85; }
.quick-actions { gap: .7rem; padding: 1.15rem 1rem; background: #F3F5F8; border-block: 1px solid var(--border-color); }
.quick-actions .btn-action { min-height: 44px; padding: .62rem 1rem; border: 1px solid var(--logo-navy); border-radius: 7px; background: var(--logo-navy); box-shadow: none; font-size: .86rem; }
.quick-actions .btn-action:hover { transform: translateY(-1px); background: var(--logo-navy-light); }
.quick-actions .btn-action-light { color: var(--logo-navy); background: #fff; }
.quick-actions .btn-action-light:hover { color: #fff; background: var(--logo-navy); }
.quick-actions .action-dropdown { position: relative; }
.quick-actions .action-dropdown > .btn-action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.quick-actions .action-dropdown > .btn-action::after { margin-left: .15rem; }
.quick-actions .action-dropdown .dropdown-menu { z-index: 1040; width: min(390px, calc(100vw - 2rem)); max-height: min(68vh, 480px); overflow-y: auto; padding: .45rem; border: 1px solid var(--border-color); border-radius: 10px; box-shadow: var(--shadow-lg); }
.quick-actions .action-dropdown .dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .65rem .75rem; border-radius: 6px; color: var(--text-main); font-size: .88rem; line-height: 1.45; white-space: normal; }
.quick-actions .action-dropdown .dropdown-item span { flex: 0 0 auto; color: var(--accent-title-gold); }
.quick-actions .action-dropdown .dropdown-item:hover,
.quick-actions .action-dropdown .dropdown-item:focus-visible { color: var(--logo-navy); background: #F0F3F8; }
.programs-section, .explore-section { padding: clamp(3.2rem, 6vw, 5.4rem) 1rem; background: #fff; }
.explore-section { background: #F5F7FA; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.7rem; }
.section-heading-row .section-title { margin: 0 0 .6rem; }
.section-eyebrow, .program-label { margin: 0 0 .4rem; color: var(--logo-green); font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.section-intro { max-width: 650px; margin: 0; color: var(--text-muted); }
.text-link { flex: 0 0 auto; color: var(--logo-navy); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--logo-green); }
.program-card { position: relative; display: flex; gap: 1.2rem; height: 100%; min-height: 225px; padding: clamp(1.35rem, 3vw, 2rem); overflow: hidden; border: 1px solid var(--border-color); border-top: 4px solid var(--logo-gold); border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program-card-green { border-top-color: var(--logo-green); }
.program-index { color: #D7DEE8; font-family: Poppins, sans-serif; font-size: 2.25rem; font-weight: 700; line-height: 1; }
.program-card h3 { margin: .1rem 0 .55rem; color: var(--logo-navy); font-size: 1.26rem; }
.program-card p:not(.program-label) { margin-bottom: .85rem; color: var(--text-muted); }
.program-link { color: var(--logo-navy); font-size: .9rem; font-weight: 700; text-decoration: none; }
.program-link span { color: var(--accent-title-gold); }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.explore-card { position: relative; min-height: 185px; padding: 1.4rem; border: 1px solid #DCE3EC; border-radius: 10px; background: #fff; color: var(--logo-navy); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.explore-card:hover { transform: translateY(-3px); border-color: #BBC9DC; box-shadow: var(--shadow-sm); color: var(--logo-navy); }
.explore-card-number { color: var(--text-muted); font-size: .68rem; font-weight: 750; letter-spacing: .1em; }
.explore-card h3 { max-width: 80%; margin: 1.1rem 0 0; font-size: 1.22rem; }
.explore-arrow { position: absolute; right: 1.25rem; bottom: 1.15rem; color: var(--accent-title-gold); font-size: 1.4rem; }

/* Shared inner-page cards, documents, people and gallery. */
.overview-card, .vision-card, .feature-card, .pillar-card, .faculty-card,
.doc-card, .stat-card, .gallery-card, .gallery-photo-card, .info-card,
.contact-card, .facility-card, .committee-card, .research-card,
.guest-feedback-card, .content-card {
  border: 1px solid var(--border-color);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.overview-card, .vision-card { margin: 1.8rem 0; padding: clamp(1.3rem, 3vw, 2rem); }
.overview-card h2, .overview-card h3, .vision-card h2, .vision-card h3 { color: var(--logo-navy); }
.feature-card, .pillar-card, .doc-card, .faculty-card, .gallery-card, .gallery-photo-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover, .pillar-card:hover, .doc-card:hover, .faculty-card:hover, .gallery-card:hover, .gallery-photo-card:hover { transform: translateY(-3px); border-color: #C5D1E0; box-shadow: var(--shadow-md); }
.feature-title, .pillar-title, .doc-title, .faculty-name, .info-title { color: var(--logo-navy); }
.feature-desc, .feature-card p, .pillar-desc { color: #536174; line-height: 1.75; }
.feature-icon-wrap, .pillar-icon-wrap, .doc-icon-wrap { color: var(--logo-green); }
.stat-card { padding: 1.3rem; border-top: 3px solid var(--logo-gold); }
.stat-number { color: var(--logo-navy); font-family: Poppins, Inter, sans-serif; font-weight: 700; }
.stat-label { color: var(--text-muted); }
.btn, .btn-doc-link, .btn-resume { transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.btn-doc-link, .btn-resume { border-radius: 7px; font-weight: 650; }
.unavailable-doc { display: inline-flex; align-items: center; color: var(--text-muted); background: #F2F4F7; cursor: default; }
input, select, textarea { max-width: 100%; }
label { color: var(--text-main); font-weight: 600; }
.table { --bs-table-color: var(--text-main); --bs-table-border-color: var(--border-color); }
.table thead th { color: var(--logo-navy); background: #F0F3F8; }
.tab-content-area { border-color: var(--border-color); border-radius: 0 0 10px 10px; }
.nav-tabs .nav-link { color: var(--logo-navy); font-weight: 650; }
.nav-tabs .nav-link.active { color: var(--logo-navy); border-color: var(--border-color) var(--border-color) #fff; }

/* Leadership and campus story remain photographic, with restrained effects. */
.desk-section { padding: clamp(3rem, 6vw, 5rem) 1rem; background: linear-gradient(135deg, #0B1934, #1C3157); }
.desk-card { border: 1px solid rgba(255,255,255,.4); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.desk-card:hover { transform: translateY(-4px); }
.desk-card .btn-desk { border-radius: 6px; background: var(--logo-navy); }
.activities-section { padding: clamp(3rem, 6vw, 5rem) 1rem; background: #F5F7FA; }
#carouselExampleControls .card { border-radius: 10px; box-shadow: var(--shadow-sm); }
#carouselExampleControls .card:hover { border-color: #D9A06F; }

/* Shared footer, dialogs, focus states and reduced-motion support. */
.site-footer { margin-top: 0; padding: 3rem 0 1.2rem; color: #E9EEF6; background: #0B1934; }
.site-footer a { color: #E9EEF6; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #F4A261; }
.footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; }
.footer-brand h3 { margin: 0 0 .25rem; color: #fff; font-size: 1.08rem; }
.footer-brand p { margin: 0; color: #B7C3D4; font-size: .87rem; }
.footer-col-title { display: block; margin-bottom: .7rem; color: #F4A261; font-size: .9rem; font-weight: 750; }
.footer-links { padding: 0; list-style: none; }
.footer-links li { margin: .38rem 0; font-size: .86rem; }
.footer-divider { border-color: rgba(255,255,255,.2); }
.footer-credit { display: flex; justify-content: space-between; gap: 1rem; color: #B7C3D4; font-size: .8rem; }
.back-to-top { border-color: rgba(255,255,255,.35); color: #fff; }
.modal-content { border: 1px solid var(--border-color); border-radius: 12px; box-shadow: var(--shadow-lg); }
.modal-header { background: var(--logo-navy); border-bottom: 3px solid var(--logo-gold); }
.modal-header .modal-title { color: #fff; }
.modal-body .btn-list-link:hover { transform: translateX(2px); }
.preloader, #preloader { pointer-events: none; }

/* Consistent modal sizing, placement and interaction across all popups. Bootstrap
   supplies focus trapping, body scroll locking, Escape and backdrop dismissal. */
.modal-dialog { width: calc(100% - 2rem); max-width: min(760px, calc(100vw - 2rem)); margin-inline: auto; }
.modal-dialog.modal-xl { max-width: min(960px, calc(100vw - 2.5rem)); }
.modal-dialog-scrollable .modal-content { max-height: calc(100dvh - 2rem); overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: 0 28px 90px rgba(4,14,31,.34); }
.modal-dialog-scrollable .modal-header { position: sticky; z-index: 3; top: 0; padding: 1.15rem 1.35rem; background: linear-gradient(130deg, #102246, #263D68); }
.modal-dialog-scrollable .modal-body { min-height: 0; overflow-y: auto; padding: 1.25rem 1.35rem; overscroll-behavior: contain; }
.modal-dialog-scrollable .modal-footer { position: sticky; z-index: 2; bottom: 0; padding: .85rem 1.35rem; background: #F8FAFC; }
.modal-kicker { margin: 0 0 .2rem; color: #F4A261; font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.modal-backdrop { --bs-backdrop-bg: #07162E; --bs-backdrop-opacity: .68; }
.modal-backdrop.show { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.modal.fade .modal-dialog { transform: translateY(12px) scale(.99); transition: transform .24s ease-out; }
.modal.show .modal-dialog { transform: none; }

/* Compact admission prompt stays in a safe corner and never blocks the page. */
.admission-prompt { position: fixed; z-index: 1025; right: auto; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); left: max(1rem, env(safe-area-inset-left, 0px)); display: flex; width: min(440px, calc(100vw - 7rem)); min-height: 236px; max-height: calc(100dvh - 2rem); overflow: hidden; border: 1px solid rgba(20,38,75,.12); border-radius: 16px; background: #fff; box-shadow: 0 18px 50px rgba(7,19,42,.24), 0 3px 10px rgba(7,19,42,.12); animation: admission-prompt-enter .28s cubic-bezier(.2,.75,.25,1) both; }
.admission-prompt[hidden] { display: none !important; }
.admission-prompt-copy { position: relative; z-index: 1; display: flex; flex: 1 1 62%; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 1rem 1.1rem; }
.admission-year-badge { display: inline-flex; align-items: center; min-height: 27px; margin: 0 0 .55rem; padding: .28rem .6rem; border: 1px solid #D8E2F0; border-radius: 999px; color: #14264B; background: #F1F5FA; font-size: .68rem; font-weight: 750; letter-spacing: .02em; }
.admission-prompt-copy h2 { max-width: 270px; margin: 0; color: #14264B; font-family: Poppins, Inter, sans-serif; font-size: clamp(1.2rem, 1.9vw, 1.48rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.12; text-wrap: balance; }
.admission-prompt-copy h2 span { color: #B84E0D; }
.admission-prompt-description { max-width: 270px; margin: .4rem 0 .55rem; color: #536174; font-size: .75rem; line-height: 1.45; }
.admission-prompt-deadline { display: grid; gap: .05rem; width: 100%; margin: 0 0 .55rem; padding: .4rem .55rem; border: 1px solid #D6E6DD; border-left: 3px solid #287A45; border-radius: 7px; background: #F4FAF6; }
.admission-deadline-label { color: #42604F; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.admission-prompt-deadline .admission-deadline-label { font-size: .57rem; letter-spacing: .04em; }
.admission-prompt-deadline strong { color: #163A29; font-size: .78rem; }
.admission-prompt-deadline small { color: #52675B; font-size: .62rem; line-height: 1.35; }
.admission-prompt-deadline.is-expired { border-color: #DCE3EC; border-left-color: #B84E0D; background: #F7F8FA; }
.admission-prompt-deadline.is-expired .admission-deadline-label,
.admission-prompt-deadline.is-expired strong { color: #263D68; }
.admission-prompt-cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 38px; padding: .5rem .7rem; border-radius: 7px; color: #fff; background: #B84E0D; box-shadow: 0 4px 12px rgba(184,78,13,.18); font-size: .74rem; font-weight: 750; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.admission-prompt-cta:hover, .admission-prompt-cta:focus-visible { transform: translateY(-1px); color: #fff; background: #963F08; box-shadow: 0 7px 16px rgba(184,78,13,.24); }
.admission-prompt-help { margin-top: .35rem; color: #263D68; font-size: .67rem; font-weight: 700; text-underline-offset: .16em; }
.admission-prompt-phone { display: inline-block; margin-top: .4rem; color: #344862; font-size: .68rem; font-weight: 650; text-underline-offset: .18em; }
.admission-prompt-visual { position: relative; flex: 0 0 38%; min-width: 0; overflow: hidden; background: #14264B; }
.admission-prompt-visual::after { position: absolute; inset: 48% 0 0; background: linear-gradient(180deg, transparent, rgba(7,19,42,.82)); content: ""; pointer-events: none; }
.admission-prompt-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.admission-prompt-caption { position: absolute; z-index: 1; right: .7rem; bottom: .7rem; left: .7rem; display: grid; gap: .1rem; color: #fff; }
.admission-prompt-caption span { color: #FFD1A6; font-size: .57rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.admission-prompt-caption strong { font-family: Poppins, Inter, sans-serif; font-size: .76rem; line-height: 1.25; }
.admission-prompt-caption small { color: rgba(255,255,255,.85); font-size: .61rem; }
.admission-prompt-close { position: absolute; z-index: 2; top: .55rem; right: .55rem; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(20,38,75,.12); border-radius: 50%; color: #14264B; background: rgba(255,255,255,.96); box-shadow: 0 3px 10px rgba(4,14,31,.16); font-size: 1.25rem; line-height: 1; cursor: pointer; transition: transform .18s ease, background-color .18s ease; }
.admission-prompt-close:hover, .admission-prompt-close:focus-visible { transform: rotate(90deg); background: #fff; }
@keyframes admission-prompt-enter { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Search is available in the shared navigation on every page. */
.site-search { position: relative; flex: 0 0 210px; margin-left: .65rem; }
.site-search .form-control { min-height: 40px; padding-inline: .8rem; border: 1px solid rgba(255,255,255,.38); border-radius: 7px; color: #fff; background: rgba(255,255,255,.1); font-size: .83rem; }
.site-search .form-control::placeholder { color: rgba(255,255,255,.78); }
.site-search .form-control:focus { color: var(--text-main); background: #fff; }
.site-search-results { position: absolute; z-index: 1100; top: calc(100% + .45rem); right: 0; left: 0; max-height: 60vh; overflow-y: auto; padding: .4rem; border: 1px solid var(--border-color); border-radius: 8px; background: #fff; box-shadow: var(--shadow-md); }
.site-search-results a { display: block; padding: .55rem .65rem; border-radius: 5px; color: var(--text-main); font-size: .87rem; text-decoration: none; }
.site-search-results a:hover, .site-search-results a:focus-visible { color: var(--logo-navy); background: #F0F3F8; }
.site-search-empty { margin: 0; padding: .65rem; color: var(--text-muted); font-size: .83rem; }

/* Evidence-led institutional proof points. */
.institution-highlights { padding: clamp(3rem, 6vw, 5rem) 1rem; background: #F5F7FA; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.highlight-card { min-height: 190px; padding: 1.35rem; border: 1px solid var(--border-color); border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); }
.highlight-number { display: block; margin-bottom: .65rem; color: var(--logo-navy); font-family: Poppins, Inter, sans-serif; font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.15; }
.highlight-card h3 { margin: 0 0 .45rem; color: var(--logo-navy); font-size: 1.02rem; }
.highlight-card p { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.65; }
.approval-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1rem; }
.approval-strip span { padding: .55rem .8rem; border: 1px solid #D9E0E9; border-radius: 999px; color: #263D68; background: #fff; font-size: .78rem; font-weight: 650; text-align: center; }
.admission-contact { padding: 2rem 1rem; color: #fff; background: linear-gradient(120deg, #14264B, #263D68); }
.admission-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.admission-contact .section-eyebrow { color: #F4A261; }
.admission-contact h2 { margin: 0 0 .45rem; color: #fff; font-family: Poppins, Inter, sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); }
.admission-contact p:not(.section-eyebrow) { max-width: 630px; margin: 0; color: #E3E9F2; }
.admission-contact-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .65rem; }
.admission-call { display: inline-flex; align-items: center; min-height: 48px; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.65); border-radius: 7px; color: #fff; font-weight: 700; text-decoration: none; }
.admission-call:hover, .admission-call:focus-visible { color: var(--logo-navy); background: #fff; }

@media (max-width: 1399.98px) {
  .site-navbar { padding: .55rem 0; }
  .site-navbar .navbar-collapse { max-height: min(72vh, 680px); overflow-y: auto; }
  .site-navbar .navbar-nav { align-items: stretch; gap: .08rem; padding: .55rem 0 .8rem; }
  .site-navbar .nav-link { padding: .65rem .8rem; }
  .site-navbar .nav-link.active::after { right: auto; bottom: .3rem; left: .8rem; width: 34px; }
  .site-navbar .nav-cta { display: inline-block; width: fit-content; margin: .35rem .6rem; padding: .62rem 1rem; }
  .site-search { width: min(100%, 360px); margin: .4rem .6rem .7rem; }
  .site-search-results { right: auto; width: 100%; }
}
@media (max-width: 767.98px) {
  .header-top { padding: 10px 0; }
  .header-logo { max-width: 58px; max-height: 58px; }
  .header-logo-container { width: 18%; }
  .header-title { width: 82%; }
  .header-title h6 { font-size: .64rem; letter-spacing: .045em; }
  .header-title h2 { font-size: clamp(.9rem, 3.3vw, 1.25rem); line-height: 1.25; }
  .header-title p { font-size: .68rem; line-height: 1.4; }
  #demo .carousel-item img { height: 510px; object-position: 58% center; }
  #demo::before { background: linear-gradient(90deg, rgba(7,19,42,.84), rgba(7,19,42,.48)); }
  #demo .hero-overlay-content { top: 47%; padding-inline: 1.35rem; }
  .hero-title { max-width: 540px; font-size: clamp(2.3rem, 10vw, 3.3rem); }
  .hero-summary { max-width: 430px; font-size: .98rem; }
  .section-heading-row { align-items: start; flex-direction: column; gap: .8rem; }
  .program-card { min-height: 0; }
  .explore-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-card { min-height: 0; }
  .admission-contact-inner { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .admission-contact-actions { width: 100%; }
  .explore-card { min-height: 145px; }
  .footer-credit { flex-direction: column; }
}
@media (max-width: 420px) {
  .header-logo { max-width: 48px; max-height: 48px; }
  .header-title h6 { font-size: .58rem; }
  .header-title h2 { font-size: .82rem; }
  .header-title p { font-size: .64rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: min(100%, 290px); }
  .program-card { gap: .75rem; padding: 1.1rem; }
  .program-index { font-size: 1.7rem; }
  .approval-strip { align-items: stretch; flex-direction: column; }
  .approval-strip span { border-radius: 7px; }
  .admission-contact-actions { align-items: stretch; flex-direction: column; }
  .admission-contact-actions .btn, .admission-call { justify-content: center; text-align: center; }
}
@media (max-width: 767.98px) {
  .modal-dialog, .modal-dialog.modal-xl { width: calc(100vw - 1rem); max-width: none; margin: .5rem auto; }
  .modal-dialog-scrollable .modal-content { max-height: calc(100dvh - 1rem); border-radius: 14px; }
  .modal-dialog-scrollable .modal-header { padding: 1rem 1rem; }
  .modal-dialog-scrollable .modal-body { padding: 1rem; }
  .modal-dialog-scrollable .modal-footer { padding: .75rem 1rem; }
}
@media (max-width: 575.98px) {
  .quick-actions .action-dropdown { flex: 0 0 100%; display: flex; justify-content: center; }
  .quick-actions .action-dropdown > .btn-action { width: min(100%, 360px); }
  .quick-actions .action-dropdown .dropdown-menu { left: 50%; width: min(420px, calc(100vw - 2rem)); transform: translateX(-50%); }
  .quick-actions > .btn-action { width: min(100%, 360px); justify-content: center; text-align: center; }
}
@media (max-width: 575.98px) {
  .admission-prompt { right: auto; bottom: calc(.8rem + env(safe-area-inset-bottom, 0px)); left: max(.8rem, env(safe-area-inset-left, 0px)); flex-direction: column; width: min(440px, calc(100vw - 7rem)); min-height: 0; max-height: min(420px, calc(100dvh - 1.5rem)); border-radius: 13px; }
  .admission-prompt-visual { order: -1; flex: 0 0 auto; width: 100%; aspect-ratio: 2.35 / 1; }
  .admission-prompt-visual::after { inset: 62% 0 0; }
  .admission-prompt-visual img { object-position: center; }
  .admission-prompt-caption { display: none; }
  .admission-prompt-copy { padding: .65rem .75rem .75rem; }
  .admission-year-badge { min-height: 24px; margin-bottom: .35rem; padding: .2rem .5rem; font-size: .62rem; }
  .admission-prompt-copy h2 { max-width: 100%; font-size: clamp(1rem, 4.8vw, 1.25rem); }
  .admission-prompt-description,
  .admission-prompt-deadline small,
  .admission-prompt-help,
  .admission-prompt-phone { display: none; }
  .admission-prompt-deadline { margin: .45rem 0; padding: .32rem .45rem; }
  .admission-prompt-deadline .admission-deadline-label { font-size: .52rem; }
  .admission-prompt-deadline strong { font-size: .7rem; }
  .admission-prompt-cta { min-height: 34px; padding: .4rem .6rem; font-size: .69rem; }
  .admission-prompt-close { top: .4rem; right: .4rem; width: 29px; height: 29px; }
}
@media (min-width: 1400px) {
  .site-navbar .navbar-nav { width: auto; flex: 1 1 auto; }
  .site-search { flex-basis: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .admission-prompt { animation: none; }
}

/* Shared, fixed quick actions: WhatsApp and context-aware page navigation. */
.floating-actions {
  position: fixed;
  z-index: 1035;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: .45rem;
  border: 1px solid rgba(20, 38, 75, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 26px rgba(17, 34, 62, .16), 0 1px 4px rgba(17, 34, 62, .08);
  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
  animation: floating-actions-enter .38s cubic-bezier(.2, .75, .25, 1) both;
}
.floating-actions .whatsapp-float,
.floating-actions .smart-scroll-button {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 7px rgba(17, 34, 62, .12);
  text-decoration: none;
  transition: transform .2s cubic-bezier(.2, .75, .25, 1), box-shadow .2s ease, background-color .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.floating-actions .whatsapp-float {
  background: #168A58;
}
.floating-actions .whatsapp-float:hover,
.floating-actions .whatsapp-float:focus-visible {
  color: #fff;
  background: #117347;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 14px rgba(17, 34, 62, .2);
}
.floating-actions .whatsapp-float::before,
.floating-actions .whatsapp-float::after { content: none; }
.floating-actions .whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }
.floating-actions .whatsapp-float svg path:first-child { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.floating-actions .smart-scroll-button {
  border-color: rgba(20, 38, 75, .08);
  color: var(--logo-navy, #14264B);
  background: rgba(255,255,255,.94);
  cursor: pointer;
}
.floating-actions .smart-scroll-button:hover,
.floating-actions .smart-scroll-button:focus-visible {
  color: #fff;
  background: var(--logo-navy, #14264B);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 14px rgba(17, 34, 62, .2);
}
.floating-actions .smart-scroll-button[hidden] { display: none; }
.smart-scroll-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.smart-scroll-icon-down,
.smart-scroll-icon-up { transform-origin: center; transition: opacity .18s ease, transform .18s ease; }
.smart-scroll-icon-down { opacity: 1; transform: translateY(0); }
.smart-scroll-icon-up { opacity: 0; transform: translateY(-3px); }
.is-top-action .smart-scroll-icon-down { opacity: 0; transform: translateY(3px); }
.is-top-action .smart-scroll-icon-up { opacity: 1; transform: translateY(0); }
.floating-actions :focus-visible { outline: 3px solid #F4A261; outline-offset: 3px; }
@keyframes floating-actions-enter {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 575.98px) {
  .floating-actions { right: max(.8rem, env(safe-area-inset-right, 0px)); bottom: calc(.8rem + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .floating-actions { animation: none; }
}
