/* Claudine College of Nursing — Toga-inspired academic kit */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --brand: #ac0051;
  --brand-dark: #8a0041;
  --brand-soft: #fce8f2;
  --ink: #14121f;
  --muted: #7a7a7a;
  --line: #e8e4ee;
  --surface: #ffffff;
  --fog: #f7f5fa;
  --nav-top: #1a204d;
  --nav-main: #0b1131;
  --hero-overlay: linear-gradient(115deg, rgba(20, 10, 28, 0.92) 0%, rgba(80, 8, 48, 0.72) 55%, rgba(20, 10, 28, 0.45) 100%);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(20, 18, 31, 0.1);
  --container: 1180px;
  --page-pad: 1.25rem;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--muted);
  background: var(--surface);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(var(--page-pad), env(safe-area-inset-left, 0px))
    max(var(--page-pad), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.section {
  padding: 5.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: 1.35rem; }

.lead {
  font-size: 1.05rem;
  max-width: 36rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--brand);
}

/* Topbar — Toga navy */
.topbar {
  background: var(--nav-top);
  color: #ffffff;
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
  padding-block: 0.4rem;
}

.topbar a {
  color: #ffffff;
}

.topbar a:hover {
  color: #ffd7ec;
}

.topbar-right {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Header — Toga deep navy menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header .container {
  position: relative;
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(5, 8, 28, 0.45);
  background: #080d28;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: visible;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
}

.brand-text strong {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: nowrap;
}

.nav a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  position: relative;
  white-space: nowrap;
}

.nav .btn,
.nav .btn-primary {
  min-height: 42px;
  padding: 0.65rem 1.35rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: #fff;
}

.nav .btn:hover,
.nav .btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.nav .btn::after {
  display: none;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}

.nav a:hover {
  color: #ffd7ec;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: #ffb6db;
}

/* Facilities dropdown — matches college site style */
.nav-dropdown {
  position: relative;
}

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-drop-toggle .caret {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 30px rgba(5, 8, 28, 0.18);
  padding: 0.35rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 130;
}

.dropdown-menu a {
  display: block;
  color: #1a1a1a !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.1rem;
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--nav-main);
  color: #fff !important;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-drop-toggle .caret,
.nav-dropdown.open .nav-drop-toggle .caret {
  transform: rotate(180deg);
}

.nav-dropdown:hover .nav-drop-toggle,
.nav-dropdown.open .nav-drop-toggle,
.nav-drop-toggle.active {
  color: #ffb6db;
}

/* Facility detail layout */
.facility-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: start;
}

.facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.facility-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.facility-gallery a:hover img,
.facility-gallery img:hover {
  transform: scale(1.04);
}

.facility-hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.facility-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.facility-side h3 {
  background: var(--nav-main);
  color: #fff;
  padding: 1rem 1.2rem;
  font-size: 1.05rem;
}

.facility-side a {
  display: block;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

.facility-side a:last-child {
  border-bottom: none;
}

.facility-side a:hover,
.facility-side a.active {
  background: var(--nav-main);
  color: #fff;
}

/* About milestone timeline */
.year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 2rem;
}

.year-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.year-tab.active,
.year-tab:hover {
  background: var(--nav-main);
  border-color: var(--nav-main);
  color: #fff;
}

.year-panel {
  display: none;
}

.year-panel.active {
  display: block;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding-left: 1.4rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--nav-main));
}

.timeline-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 28px rgba(20, 18, 31, 0.04);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.28rem;
  top: 1.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(172, 0, 81, 0.15);
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  color: var(--nav-main);
}

.timeline-item p {
  font-size: 0.95rem;
}

.timeline-item p + p {
  margin-top: 0.65rem;
}

/* Events & Blog — one-by-one slider */
.events-blog {
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(172, 0, 81, 0.08), transparent 60%),
    var(--fog);
  overflow: hidden;
}

.eb-slider {
  position: relative;
  margin-top: 2rem;
}

.eb-track {
  position: relative;
}

.eb-slide {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 17, 49, 0.12);
  animation: eb-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.eb-slide.active {
  display: grid;
}

@keyframes eb-in {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.eb-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.eb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s ease;
}

.eb-slide.active .eb-media img {
  transform: scale(1);
}

.eb-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(11, 17, 49, 0.08));
  pointer-events: none;
}

.eb-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.eb-badge.blog {
  background: var(--nav-main);
}

.eb-content {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, #fff 0%, #fff9fc 100%);
}

.eb-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.eb-content h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--nav-main);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.eb-content p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.eb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.eb-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nav-main);
  background: rgba(11, 17, 49, 0.06);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.eb-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}

.eb-nav {
  display: flex;
  gap: 0.55rem;
}

.eb-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--nav-main);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.eb-btn:hover {
  background: var(--nav-main);
  border-color: var(--nav-main);
  color: #fff;
  transform: translateY(-2px);
}

.eb-dots {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.eb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 17, 49, 0.18);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
}

.eb-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--brand);
}

.eb-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), #ff4fa3);
  z-index: 5;
}

.eb-slide.active .eb-progress {
  animation: eb-progress 5.5s linear forwards;
}

@keyframes eb-progress {
  from { width: 0; }
  to { width: 100%; }
}

.eb-slide,
.eb-slide .eb-content,
.eb-slide .eb-media,
.eb-card[data-event] {
  cursor: pointer;
}

.event-detail-kicker {
  color: #ffd7ec;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.event-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 1.6rem;
  align-items: start;
}

.event-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(20, 18, 31, 0.08);
}

.event-detail-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--nav-main);
}

.event-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-detail-media .eb-badge {
  z-index: 2;
}

.event-detail-body {
  padding: 1.8rem 1.7rem 2rem;
}

.event-detail-body h2 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.event-detail-copy {
  margin-top: 1.1rem;
}

.event-detail-copy p {
  margin-bottom: 1rem;
  color: #5c5868;
  font-size: 1rem;
  line-height: 1.8;
}

.event-detail-copy p:last-child {
  margin-bottom: 0;
}

.event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.event-detail-aside {
  background: linear-gradient(180deg, #f8f7fb, #fff);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
  position: sticky;
  top: 96px;
}

.event-detail-aside h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.event-related-list {
  display: grid;
  gap: 0.85rem;
}

.event-related-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.event-related-card:hover {
  background: #fff;
  border-color: rgba(172, 0, 81, 0.22);
  transform: translateX(4px);
}

.event-related-card img {
  width: 84px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
}

.event-related-card span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.2rem;
}

.event-related-card h4 {
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--ink);
}

.eb-blog-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}

.eb-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.eb-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 17, 49, 0.12);
}

.eb-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.eb-card:hover img {
  transform: scale(1.05);
}

.eb-card .body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.eb-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.45rem;
}

.eb-card h4 {
  font-size: 1.05rem;
  color: var(--nav-main);
  margin-bottom: 0.45rem;
}

.eb-card p {
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #140a1c;
}

.hero-inner {
  padding: 7rem 0 5rem;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: #ffd7ec;
  opacity: 0;
  animation: rise 0.8s ease 0.1s forwards;
}

.hero h1 {
  color: #fff;
  max-width: 14ch;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 0.9s ease 0.25s forwards;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  opacity: 0;
  animation: rise 0.9s ease 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  opacity: 0;
  animation: rise 0.9s ease 0.55s forwards;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature {
  background: rgba(10, 6, 16, 0.55);
  padding: 1.5rem 1.35rem;
  backdrop-filter: blur(8px);
}

.hero-feature .num {
  font-family: var(--font-display);
  color: #ffb6db;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.hero-feature h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 0 80px 0 80px;
}

.experience-badge {
  position: absolute;
  left: -1rem;
  bottom: 2rem;
  background: var(--brand);
  color: #fff;
  padding: 1.4rem 1.5rem;
  min-width: 140px;
  box-shadow: var(--shadow);
}

.experience-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.about-points {
  display: grid;
  gap: 1.1rem;
  margin: 1.75rem 0 2rem;
}

.about-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
}

.about-point .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.about-point h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

/* Motto / Vision */
.motto {
  background: var(--fog);
}

.motto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.motto-item {
  background: #fff;
  padding: 2rem 1.6rem;
  border-top: 3px solid var(--brand);
  box-shadow: 0 10px 30px rgba(20, 18, 31, 0.04);
}

.motto-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.motto-item p {
  margin-top: 0.7rem;
  font-size: 0.95rem;
}

/* Departments */
.dept-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.dept-item {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.dept-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: -2;
}

.dept-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 28, 0.15), rgba(20, 10, 28, 0.88));
  z-index: -1;
}

.dept-item:hover img {
  transform: scale(1.08);
}

.dept-item .body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
}

.dept-item h3 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.dept-item p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

/* Why choose */
.why {
  background:
    linear-gradient(120deg, rgba(20, 10, 28, 0.94), rgba(169, 2, 98, 0.88)),
    url('https://leonardhospital.com/Images/college/F_image2.jpg') center/cover;
  color: #fff;
}

.why h2,
.why h3 {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.why-list {
  display: grid;
  gap: 1.5rem;
}

.why-item h3 {
  margin-bottom: 0.4rem;
}

.why-item p {
  color: rgba(255, 255, 255, 0.82);
}

.why-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.why-panel h4 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.why-panel p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.4rem;
}

/* Apply steps */
.apply-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.steps {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.step:hover {
  border-color: var(--brand);
  transform: translateX(4px);
}

.step .n {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.contact-panel {
  background: var(--ink);
  color: #d7d3df;
  padding: 2rem;
}

.contact-panel h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-panel p {
  margin-bottom: 1.25rem;
}

/* Online admission application (Kalpatharu-style sections) */
.apply-online {
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(172, 0, 81, 0.05), transparent 55%),
    linear-gradient(180deg, #f7f5fa 0%, #fff 40%, #f7f5fa 100%);
}

.apply-online-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 1.75rem;
  align-items: start;
}

.apply-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem 1.6rem 2rem;
  box-shadow: 0 18px 48px rgba(20, 18, 31, 0.07);
}

.apply-form-intro h2 {
  margin-bottom: 0.45rem;
}

.apply-form-intro p {
  max-width: 46rem;
}

.apply-form {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.35rem;
}

.apply-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.4rem;
  background: linear-gradient(180deg, #fcfbfd, #fff);
  margin: 0;
}

.apply-section legend {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.apply-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.apply-optional {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.apply-hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.35rem 0 1rem;
}

.apply-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}

.apply-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.apply-grid-2 .apply-field {
  margin-bottom: 0.95rem;
}

.apply-section .apply-field:last-child,
.apply-section .apply-grid-2:last-child .apply-field {
  margin-bottom: 0;
}

.apply-field label,
.apply-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.apply-field label em,
.apply-label em {
  color: var(--brand);
  font-style: normal;
}

.apply-field input,
.apply-field select,
.apply-field textarea {
  width: 100%;
  border: 1px solid #ddd7e4;
  background: #fff;
  color: var(--ink);
  padding: 0.82rem 0.95rem;
  border-radius: 10px;
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  outline: none;
  border-color: rgba(172, 0, 81, 0.55);
  box-shadow: 0 0 0 3px rgba(172, 0, 81, 0.12);
}

.apply-field textarea {
  resize: vertical;
  min-height: 110px;
}

.apply-field input[type="file"] {
  padding: 0.65rem 0.75rem;
  background: #faf8fc;
  font-size: 0.88rem;
}

.apply-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  padding: 0.7rem 0.2rem 0.2rem;
}

.apply-radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: #4d4958;
  cursor: pointer;
}

.apply-radios input {
  width: auto;
  accent-color: var(--brand);
}

.apply-submit-row {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.25rem;
}

.apply-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.apply-submit-btn {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: 1rem;
}

.apply-form-status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--brand);
  font-weight: 600;
}

.apply-side {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 96px;
}

.apply-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.2rem;
  box-shadow: 0 12px 30px rgba(20, 18, 31, 0.05);
}

.apply-side-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.apply-process {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  counter-reset: applystep;
}

.apply-process li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.92rem;
  color: #5c5868;
  counter-increment: applystep;
}

.apply-process li::before {
  content: counter(applystep);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font: inherit;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .btn {
  width: 100%;
}

/* Testimonials */
.testimonials {
  background: var(--fog);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.testimonial {
  background: #fff;
  padding: 1.8rem;
  border-left: 3px solid var(--brand);
  box-shadow: 0 10px 28px rgba(20, 18, 31, 0.04);
}

.testimonial p {
  font-size: 0.98rem;
  margin-bottom: 1.2rem;
  color: #4d4a58;
}

.testimonial strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
}

/* Gallery strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.gallery-strip a {
  overflow: hidden;
  display: block;
  aspect-ratio: 1.15;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-strip a:hover img {
  transform: scale(1.06);
}

/* CTA band */
.cta-band {
  background: var(--brand);
  color: #fff;
  padding: 3rem 0;
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  max-width: 18ch;
}

/* Page hero */
.page-hero {
  background:
    linear-gradient(115deg, rgba(20, 10, 28, 0.9), rgba(169, 2, 98, 0.65)),
    url('https://leonardhospital.com/Images/college/F_image.jpg') center/cover;
  color: #fff;
  padding: 6.5rem 0 4rem;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 40rem;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  color: #ffd7ec;
}

.breadcrumb a:hover {
  color: #fff;
}

/* Content helpers */
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media.reverse .copy { order: 2; }

.info-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.info-list li {
  padding-left: 1.3rem;
  position: relative;
}

.info-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.course-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.course-tab {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.course-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.course-panel {
  display: none;
  background: var(--fog);
  padding: 1.8rem;
  border: 1px solid var(--line);
}

.course-panel.active {
  display: block;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.35rem;
}

/* Leadership / board cards */
.leadership {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(172, 0, 81, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(26, 32, 77, 0.08), transparent 50%),
    linear-gradient(180deg, #f8f7fb 0%, #fff 48%, #f5f3f8 100%);
  overflow: hidden;
}

.leadership::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 32, 77, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: 0.55;
}

.leadership .container {
  position: relative;
  z-index: 1;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.leader-card {
  background: #fff;
  border: 1px solid rgba(232, 228, 238, 0.95);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(20, 18, 31, 0.07);
  text-align: center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 55px rgba(20, 18, 31, 0.14);
  border-color: rgba(172, 0, 81, 0.28);
}

.leader-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1a204d;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.leader-card:hover .leader-photo img {
  transform: scale(1.08);
}

.leader-glow {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(11, 17, 49, 0.55));
  pointer-events: none;
  opacity: 0.85;
}

.leader-body {
  padding: 1.35rem 1.2rem 1.55rem;
  position: relative;
}

.leader-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 42px;
  height: 3px;
  margin-left: -21px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0.55);
  transition: transform 0.4s ease;
}

.leader-card:hover .leader-body::before {
  transform: scaleX(1);
}

.leader-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.leader-role {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
}

.leader-bio {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 28ch;
  margin-inline: auto;
}

.leader-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.facility {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.facility:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.facility img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.facility .body {
  padding: 1.25rem;
}

.facility h3 {
  margin-bottom: 0.45rem;
}

.gallery-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.gallery-page a {
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}

.gallery-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-page a:hover img {
  transform: scale(1.05);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-card {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.contact-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.contact-card .body {
  padding: 1.35rem;
}

.contact-card h3 {
  margin-bottom: 0.7rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
}

.map-embed {
  margin-top: 2rem;
  border: 1px solid var(--line);
  min-height: 360px;
  background: var(--fog);
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

/* Footer */
.site-footer {
  background: #100e18;
  color: #b9b4c4;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand img {
  width: 64px;
  margin-bottom: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-credit {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1180px) {
  .brand-text span { display: none; }
  .nav { gap: 0.75rem; }
}

@media (max-width: 1040px) {
  :root {
    --page-pad: 1rem;
  }

  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-wrap {
    min-height: 72px;
    gap: 0.65rem;
    width: 100%;
  }
  .brand {
    flex: 1 1 auto;
    max-width: none;
    overflow: visible;
    min-width: 0;
  }
  .brand img {
    width: 46px;
    height: 46px;
  }
  .brand-text strong {
    font-size: 0.9rem;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: var(--nav-main);
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem 0 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    box-shadow: 0 18px 40px rgba(5, 8, 28, 0.45);
    z-index: 120;
    max-height: min(78vh, 640px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
  }
  .nav a::after { display: none; }
  .nav .btn {
    width: 100%;
    margin-top: 0.55rem;
    border-radius: 999px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-drop-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.92) !important;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .dropdown-menu a:hover,
  .dropdown-menu a.active {
    background: var(--brand);
    color: #fff !important;
  }

  .facility-layout,
  .facility-gallery {
    grid-template-columns: 1fr;
  }

  .facility-side {
    position: static;
  }

  .facility-hero-img {
    height: 240px;
  }

  .eb-slide,
  .eb-blog-row,
  .event-detail-layout,
  .apply-online-layout,
  .apply-grid-2 {
    grid-template-columns: 1fr;
  }

  .apply-side {
    position: static;
  }

  .apply-form-wrap {
    padding: 1.25rem 1rem 1.5rem;
  }

  .eb-media {
    min-height: 260px;
  }

  .eb-track {
    min-height: 0;
  }

  .eb-content {
    padding: 1.5rem 1.25rem 1.7rem;
  }

  .event-detail-aside {
    position: static;
  }

  .hero-features,
  .about-grid,
  .motto-grid,
  .dept-grid,
  .why-grid,
  .apply-grid,
  .testimonial-grid,
  .content-grid,
  .split-media,
  .facility-grid,
  .leader-grid,
  .gallery-page,
  .contact-cards,
  .footer-grid,
  .gallery-strip,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .leader-grid .leader-card:last-child {
    grid-column: 1 / -1;
    max-width: 340px;
    margin-inline: auto;
    width: 100%;
  }

  .about-media img { height: 380px; border-radius: 0 40px 0 40px; }
  .experience-badge { left: 0.75rem; }
  .split-media.reverse .copy { order: 0; }
}

@media (max-width: 680px) {
  :root {
    --page-pad: 1.15rem;
  }

  body {
    overflow-x: hidden;
  }

  .topbar { display: none; }

  .nav-wrap {
    min-height: 64px;
  }

  .brand {
    gap: 0.55rem;
    overflow: visible;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 0.8rem;
    letter-spacing: -0.01em;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
  }

  .brand-text span { display: none; }

  .menu-toggle {
    width: 42px;
    height: 42px;
    margin-left: 0;
  }

  .hero {
    min-height: 78vh;
    align-items: end;
  }

  .hero-inner {
    padding: 4.5rem 0 2.2rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8.5vw, 2.3rem);
    max-width: 14ch;
  }

  .hero .lead {
    font-size: 0.95rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    border-radius: 14px;
  }

  .hero-feature {
    padding: 1.1rem 1rem;
  }

  .section { padding: 3.4rem 0; }

  .hero-features,
  .about-grid,
  .motto-grid,
  .dept-grid,
  .why-grid,
  .apply-grid,
  .testimonial-grid,
  .content-grid,
  .split-media,
  .facility-grid,
  .leader-grid,
  .gallery-page,
  .contact-cards,
  .footer-grid,
  .gallery-strip,
  .stats {
    grid-template-columns: 1fr;
  }

  .leader-grid .leader-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .leader-photo {
    aspect-ratio: 5 / 4;
  }

  .about-media img {
    height: 280px;
    border-radius: 0 36px 0 36px;
  }

  .experience-badge {
    left: 0.75rem;
    bottom: 1rem;
    min-width: 110px;
    padding: 1rem 1.1rem;
  }

  .experience-badge strong {
    font-size: 1.8rem;
  }

  .dept-head {
    align-items: start;
  }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .btn {
    width: 100%;
  }

  .page-hero {
    padding: 4.25rem 0 2.6rem;
    overflow-x: clip;
  }

  .page-hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    line-height: 1.22;
    max-width: none;
    width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .page-hero p {
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .breadcrumb {
    font-size: 0.8rem;
    word-break: break-word;
  }

  h1 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem 0 1.25rem;
  }

  .back-top {
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  }
}
