/* Beautiful Read More button for news cards */
.news-readmore-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92%;
  margin: 1.7rem auto 0 auto;
  padding: 0.78em 0.2em 0.78em 0.2em;
  background: linear-gradient(90deg, #0c5f55 0%, #c38e2f 100%);
  color: #fff !important;
  font-size: 1.13rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(12,95,85,0.13), 0 2px 12px rgba(195,142,47,0.10);
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
  cursor: pointer;
  gap: 0.5em;
}
.news-readmore-btn:hover, .news-readmore-btn:focus {
  background: linear-gradient(90deg, #c38e2f 0%, #0c5f55 100%);
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(195,142,47,0.18);
  transform: translateY(-2px) scale(1.04);
}
.news-readmore-arrow svg {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.2em;
}
/* Stronger separation between news boxes */
.news-grid .update-card {
  margin-bottom: 3.5rem;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
  box-shadow: 0 8px 36px 0 rgba(12, 95, 85, 0.13), 0 1.5px 8px 0 rgba(195, 142, 47, 0.07);
}
@media (min-width: 900px) {
  .news-grid {
    gap: 4.5rem 3.5rem !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
/* Add more gap between news boxes in news grid */
.news-grid .update-card {
  margin-bottom: 2.2rem;
}
@media (min-width: 700px) {
  .news-grid {
    gap: 3.2rem 2.8rem !important;
  }
}
/* NEWS PAGE DESIGN */
.news-content {
  padding: 2.5rem 0 3.5rem;
  background: linear-gradient(180deg, #f7fcfa 60%, #f4f8f7 100%);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem 2rem;
  margin-top: 2.2rem;
}

.news-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .news-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .news-grid-three {
    grid-template-columns: 1fr;
  }
}

/* --- Enhanced News Card Design --- */
.news-card {
  background: #fff;
  border-radius: 22px;
  border: none;
  box-shadow: 0 8px 36px 0 rgba(12, 95, 85, 0.13), 0 1.5px 8px 0 rgba(195, 142, 47, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.28s, transform 0.28s, border-color 0.28s;
  position: relative;
  min-height: 340px;
}
.news-card:hover {
  box-shadow: 0 22px 54px 0 rgba(195, 142, 47, 0.18), 0 4px 18px 0 rgba(12, 95, 85, 0.13);
  transform: translateY(-10px) scale(1.025);
}
.news-card-feature {
  grid-column: span 2;
  min-height: 380px;
  background: linear-gradient(120deg, #fffbe7 60%, #f9f6f2 100%);
  box-shadow: 0 24px 64px rgba(195, 142, 47, 0.13), 0 2px 12px rgba(12, 95, 85, 0.09);
  border: 2.5px solid #c38e2f;
}
@media (max-width: 900px) {
  .news-card-feature {
    grid-column: span 1;
  }
}
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 22px 22px 0 0;
  background: #f4f8f7;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 16px rgba(12, 95, 85, 0.07);
}
.news-card-feature .news-card-img {
  height: 260px;
}
.news-card-img::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 60%;
  background: linear-gradient(180deg, rgba(12,95,85,0.01) 0%, rgba(12,95,85,0.13) 100%);
  z-index: 2;
  pointer-events: none;
}
.news-card-body {
  padding: 1.7rem 1.4rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  position: relative;
}
.news-card-label {
  position: absolute;
  top: -18px;
  left: 1.4rem;
  display: inline-block;
  background: linear-gradient(90deg, #0c5f55 60%, #c38e2f 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 10px;
  padding: 0.32em 1.1em;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(12, 95, 85, 0.13);
  z-index: 3;
  border: 2px solid #fff;
}
.news-card h3 {
  font-size: 1.22rem;
  color: #0c5f55;
  margin-bottom: 0.55em;
  font-family: 'Lora', serif;
  font-weight: 800;
  line-height: 1.22;
  margin-top: 1.2em;
  letter-spacing: -0.01em;
}
.news-card p {
  color: #476664;
  font-size: 1.06rem;
  margin-bottom: 0.7em;
  line-height: 1.7;
}
.news-meta {
  color: #c38e2f;
  font-size: 0.97rem;
  font-weight: 700;
  margin-top: auto;
  letter-spacing: 0.7px;
}
.news-card .inline-link {
  margin-top: 0.5em;
  font-size: 1.06rem;
  color: #0c5f55;
  font-weight: 800;
  text-decoration: underline;
  transition: color 0.2s;
}
.news-card .inline-link:hover {
  color: #c38e2f;
}
.nav-item.has-dropdown {
  position: relative;
}
.simple-dropdown.onlinejobs-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 100;
  border: 1.5px solid rgba(200, 240, 224, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, #219a6e 80%, #1a7c53 100%) !important;
  box-shadow: 0 8px 24px rgba(2, 38, 18, 0.18);
  padding: 1rem .3rem;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.2s, background 0.2s;
  padding: 0;
  margin-top: 0.05em;
  pointer-events: auto;
}

.onlinejobs-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
  width: 100%;
  

}
.onlinejobs-list li {
  margin-bottom: 0.7em;
  list-style: none;
}
.onlinejobs-list li:last-child {
  margin-bottom: 0;
}
.onlinejobs-link {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: #1e2e28;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.48;
  padding: 0.52rem 0.72rem 0.52rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(160, 148, 120, 0.25);
  background: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 0.28rem;
  position: relative;
  text-decoration: none;
}
.onlinejobs-link::before {
  content: "→";
  font-size: 1.1rem;
  color: #5a6f5e;
  font-weight: 600;
  margin-right: 0.38rem;
  position: static;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
}
.onlinejobs-link:hover {
  color: #0d1e18;
  background: rgba(26, 50, 38, 0.08);
  border-color: rgba(26, 50, 38, 0.2);
}
.nav-item.has-dropdown:hover .simple-dropdown,
.nav-item.has-dropdown:focus-within .simple-dropdown,
.nav-item.has-dropdown.open .simple-dropdown {
  display: block;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
:root {
  --bg: #f4f8f7;
  --surface: #ffffff;
  --text: #152422;
  --muted: #55706b;
  --brand: #0c5f55;
  --brand-strong: #094740;
  --gold: #c38e2f;
  --line: #d8e6e2;
  --radius: 22px;
  --shadow: 0 18px 34px rgba(8, 49, 44, 0.08);
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 0% 10%, rgba(12, 95, 85, 0.08), transparent 42%),
    radial-gradient(circle at 90% 25%, rgba(195, 142, 47, 0.12), transparent 45%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  font-family: "Lora", serif;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(50px);
  z-index: -1;
  opacity: 0.5;
}

.orb-1 {
  width: 380px;
  height: 380px;
  background: rgba(12, 95, 85, 0.16);
  top: -130px;
  left: -80px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(195, 142, 47, 0.18);
  right: -120px;
  top: 35%;
}

.news-popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  z-index: 320;
  background: rgba(7, 26, 24, 0.52);
  backdrop-filter: blur(3px);
  opacity: 0;
  transform: scale(1.01);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.news-popup.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.news-popup.hide {
  opacity: 0;
  transform: scale(1.01);
  pointer-events: none;
}

.news-popup-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(199, 221, 216, 0.7);
  padding: 0;
  background: #ffffff;
  box-shadow: 0 32px 72px rgba(7, 38, 35, 0.32), 0 2px 8px rgba(7, 38, 35, 0.08);
  overflow: hidden;
}

.news-popup-dialog::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #067834, #0c9471, #1f8aa8);
}

.news-popup-dialog > *:not(.news-popup-close) {
  padding-inline: 1.55rem;
}

.news-popup-handle {
  display: none;
}

.news-popup-label {
  padding-top: 1.4rem;
}

.news-popup-links {
  padding-bottom: 1.4rem;
}

.news-popup-label {
  color: #067834;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.68rem;
  margin-bottom: 0.28rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.news-popup-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #067834;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.news-popup h3 {
  font-size: clamp(1.18rem, 2vw, 1.62rem);
  color: #0b2825;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.news-popup-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.news-popup-list li {
  padding: 0.82rem 1rem;
  border-radius: 12px;
  border: 1px solid #d5e9e4;
  background: linear-gradient(135deg, #f7fbfa, #eef8f5);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-popup-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 0.28rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #067834;
  border: 2px solid rgba(6, 120, 52, 0.25);
}

.news-popup-list li:hover {
  border-color: #9ecfbf;
  box-shadow: 0 4px 14px rgba(6, 120, 52, 0.1);
}

.news-popup-list a {
  color: #1a3c37;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.news-popup-list a:hover {
  color: #067834;
}

.news-popup-links {
  margin-top: 0.95rem;
  padding-top: 0.88rem;
  border-top: 1px solid rgba(199, 221, 216, 0.65);
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.news-popup-links a {
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #b8d8d2;
  color: #0c5045;
  font-size: 0.82rem;
  font-weight: 600;
  background: linear-gradient(135deg, #f0faf7, #e6f5f0);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.news-popup-links a:hover {
  border-color: #67a99b;
  background: linear-gradient(135deg, #daf2eb, #c8eae0);
  transform: translateY(-1px);
}

.news-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(199, 221, 216, 0.8);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #1e4e48;
  background: rgba(240, 250, 247, 0.95);
  font-size: 1.15rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.15s ease;
  z-index: 2;
}

.news-popup-close:hover {
  background: #d8f0ea;
  transform: rotate(90deg);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 250;
  display: flex;
  align-items: stretch;
  padding-top: 4px;
  background: linear-gradient(180deg, #067834 0%, #066f31 58%, #055f2a 100%);
  border-bottom: 1px solid rgba(199, 223, 214, 0.22);
  width: 100%;
}

main {
  padding-top: 125px;
}

main > *:first-child {
  margin-top: 0 !important;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7d5a88, #0f9471, #1f8aa8);
}

/* --- New topbar layout --- */
.topbar-brand {
  width: 150px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0.28rem 0.46rem;
  box-sizing: border-box;
  background: linear-gradient(180deg, #076f34 0%, #055e2c 100%);
  border-right: 1px solid rgba(203, 227, 218, 0.32);
  box-shadow: inset -1px 0 0 rgba(236, 248, 243, 0.1);
}

.topbar-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1.2rem;
  min-height: 62px;
  padding: 0.12rem 0.9rem 0.22rem 0.6rem;
  border-bottom: 2px solid rgba(234, 246, 240, 0.9);
}

.topbar-nav {
  display: flex;
  align-items: center;
  flex: 1;
}

/* .utility-bar replaced by .topbar-identity */

.topbar .container {
  width: min(1680px, 98.8%);
}

.utility-wrap {
  min-height: 62px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1.2rem;
  padding: 0.12rem 0.25rem 0.22rem 0.1rem;
}

.utility-title {
  display: flex;
  align-items: center;
  align-self: center;
  position: relative;
  color: #f8fcfb;
  font-family: "Sekuya", "Lora", serif;
  font-size: clamp(1.18rem, 1.52vw, 1.78rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.04;
  text-shadow: 0 2px 10px rgba(3, 46, 35, 0.35);
  margin-left: 0.1rem;
}

.utility-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 62%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 208, 138, 0.95), rgba(245, 208, 138, 0.25));
  opacity: 0.82;
}

.utility-title-main,
.utility-title-sub {
  display: inline;
}

.utility-links {
  display: flex;
  align-items: center;
  align-self: flex-start;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 1.08rem;
  margin-left: auto;
  padding-left: 1.8rem;
  padding-top: 0.1rem;
}

.utility-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #f0faf6;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  padding-right: 0.96rem;
  white-space: nowrap;
}

.utility-links a i {
  font-size: 0.78em;
  opacity: 0.9;
}

.utility-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(226, 245, 238, 0.62);
  transform: translateY(-50%);
}

.utility-links a:hover {
  color: #f7d18b;
}

/* .nav-wrap replaced by .topbar-nav */

.brand {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0.18rem;
  text-decoration: none;
  box-sizing: border-box;
}

.brand img {
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  width: 98px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: url("../images/hu-crest.svg") center/contain no-repeat;
  border: 0;
  box-shadow: 0 8px 16px rgba(3, 40, 31, 0.24);
}

.brand-text {
  display: none;
}

.mobile-cms-link {
  display: none;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 18, 12, 0.62);
  z-index: 240;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  display: none;
}

.nav {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  border-top: 0;
  background: linear-gradient(180deg, rgba(4, 111, 49, 0.96), rgba(4, 100, 44, 0.98));
  border-radius: 0;
  padding: 0;
}

.nav > a,
.nav > .nav-item > .mega-trigger {
  color: #f4fbf8;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 0.94rem 1.05rem;
  border-radius: 0;
  border-right: 1px solid rgba(230, 245, 238, 0.1);
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav > a {
  display: inline-flex;
  align-items: center;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mega-trigger {
  border: 0;
  background: transparent;
  color: #f4fbf8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.98rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.caret {
  font-size: 0.7rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.has-mega.open .caret {
  transform: rotate(180deg);
}

.has-dropdown.open .caret {
  transform: rotate(180deg);
}

.nav > a:hover,
.nav > .nav-item:hover > .mega-trigger,
.nav > .nav-item.open > .mega-trigger,
.nav > .nav-item:focus-within > .mega-trigger {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.mega-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 90vw);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  border: 1px solid rgba(160, 148, 120, 0.35);
  border-radius: 16px;
  background: #eae6d8;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.10);
  padding: 1.05rem;
  transition: opacity 0.2s ease 0.14s, transform 0.2s ease 0.14s, visibility 0s linear 0.14s;
  z-index: 60;
}

.mega-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.mega-grid > div {
  border: 1.5px solid rgba(160, 148, 120, 0.25);
  border-radius: 18px;
  background: #f3efe3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 1.1rem 1.1rem 1.1rem 1.1rem;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.2s, background 0.2s;
}

.mega-grid h4 {
  font-size: 0.96rem;
  margin-bottom: 0.45rem;
  color: #5a6f5e;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Unified megamenu link style (like footer Administrative Offices links) */
.mega-grid a {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: #1e2e28;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.48;
  padding: 0.52rem 0.72rem;
  border-radius: 10px;
  border: 1px solid rgba(160, 148, 120, 0.2);
  background: transparent;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.mega-grid a::before {
  content: "→";
  font-size: 1.1rem;
  color: #5a6f5e;
  font-weight: 600;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.mega-grid a:hover {
  color: #0d1e18;
  border-color: rgba(26, 50, 38, 0.2);
  background: rgba(26, 50, 38, 0.07);
  box-shadow: none;
  transform: translateX(2px);
}

.mega-grid a:hover::before {
  transform: translateX(4px);
  color: #1a2c28;
}

.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel,
.has-mega.open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-4px);
  transition-delay: 0s;
}

.simple-dropdown {
  position: absolute;
  right: 0;
  min-width: 210px;
  opacity: 0;
  color: #1e2e28;
  pointer-events: none;
  visibility: hidden;
  border: 1px solid rgba(160, 148, 120, 0.35);
  border-radius: 12px;
  background: #eae6d8;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.10);
  padding: 0.42rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(2px);
  z-index: 61;
}




.simple-dropdown ul.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0.1rem 0.2rem 0.1rem;
}
.simple-dropdown ul.dropdown-list li {
  margin-bottom: 0.1rem;
}

.has-dropdown:hover .simple-dropdown,
.has-dropdown:focus-within .simple-dropdown,
.has-dropdown.open .simple-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Keep the About dropdown fully visible near the left edge of the header */
/* Wider About megamenu panel for single-line links */
#aboutMega .mega-panel {
  left: 0;
  min-width: 1100px;
  width: auto;
  transform: translateY(0);
}

#aboutMega:hover .mega-panel,
#aboutMega:focus-within .mega-panel,
#aboutMega.open .mega-panel {
  transform: translateY(-4px);
}

#administrationMega .mega-panel {
  left: 0;
  right: auto;
  /* width: 1100px; */
  min-width: 1000px;
  max-width: 98vw;
  transform: translateY(0);
  box-shadow: 0 12px 36px rgba(2,38,18,0.22);
  border-radius: 18px;
}

#administrationMega .mega-grid {
  grid-template-columns: minmax(210px, 1fr) minmax(210px, 1fr) minmax(180px, 1fr);
}

#administrationMega:hover .mega-panel,
#administrationMega:focus-within .mega-panel,
#administrationMega.open .mega-panel {
  transform: translateY(-4px);
}

#administrationMega .mega-grid > div:nth-child(-n + 2) a {
  position: relative;
  padding: 0.46rem 0.55rem 0.46rem 1.2rem;
  color: #1e2e28;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  border-bottom: 1px solid rgba(160, 148, 120, 0.18);
    display: flex;
    align-items: center;
    gap: 0.62rem;
    color: #1e2e28;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.48;
    padding: 0.52rem 0.72rem;
    border-radius: 10px;
    border: 1px solid rgba(160, 148, 120, 0.2);
    background: transparent;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 0.28rem;
}

#administrationMega .mega-grid > div:nth-child(-n + 2) a::before {
  content: "→";
  position: static;
  font-size: .9rem;
  color: #5a6f5e;
  font-weight: 600;
  margin-right: 0.38rem;
  transform: none;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
}

#administrationMega .mega-grid > div:nth-child(-n + 2) a:hover {
  color: #0d1e18;
  background: rgba(26, 50, 38, 0.07);
  border-bottom-color: rgba(26, 50, 38, 0.2);
}

#administrationMega .mega-grid p {
  margin-top: 0.45rem;
  color: #3d5048;
  font-size: 0.94rem;
  line-height: 1.7;
  font-weight: 400;
}

#academicsMega {
  position: static;
}

#academicsMega .mega-panel {
  left: 0;
  right: auto;
  /* width: 1200px; */
  min-width: 1100px;
  max-width: 99vw;
  transform: translateY(0);
  box-shadow: 0 16px 44px rgba(2,38,18,0.22);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
}

#academicsMega:hover .mega-panel,
#academicsMega:focus-within .mega-panel,
#academicsMega.open .mega-panel {
  transform: translateY(-4px);
}

#academicsMega .mega-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

#academicsMega .mega-grid > div {
  border: 1.5px solid rgba(160, 148, 120, 0.25);
  border-radius: 18px;
  background: #f3efe3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 1.1rem;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.2s, background 0.2s;
}

#academicsMega .mega-grid h4 {
  font-size: clamp(0.68rem, 0.64rem + 0.18vw, 0.74rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: 0.07em;
  line-height: 1.32;
  color: #5a6f5e;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(90, 111, 94, 0.22);
  padding-bottom: 0.55rem;
  min-height: 2.8em;
  display: flex;
  align-items: flex-end;
}


/* Unified megamenu link style for Academics and University Life (matches Administration) */
#academicsMega .mega-grid a,
#universityLifeMega .mega-grid a {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: #1e2e28;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.48;
  padding: 0.52rem 0.72rem 0.52rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(160, 148, 120, 0.2);
  background: transparent;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 0.28rem;
  position: relative;
}

#academicsMega .mega-grid a::before,
#universityLifeMega .mega-grid a::before {
  content: "→";
  font-size: 1.1rem;
  color: #5a6f5e;
  font-weight: 600;
  margin-right: 0.38rem;
  position: static;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
}

#academicsMega .mega-grid a:hover,
#universityLifeMega .mega-grid a:hover {
  color: #0d1e18;
  background: rgba(26, 50, 38, 0.07);
  border-color: rgba(26, 50, 38, 0.2);
}


#universityLifeMega {
  position: static;
}

#academicsMega .mega-panel,
#universityLifeMega .mega-panel {
  top: calc(100% + 0.2rem);
}

#universityLifeMega .mega-panel {
  left: 0;
  right: 0;
  width: 1100px;
  transform: translateY(0);
  border-radius: 0 0 14px 14px;
  border: 1px solid rgba(160, 148, 120, 0.35);
  background: #eae6d8;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.10);
  padding: 1.6rem 1.8rem;
}

#universityLifeMega:hover .mega-panel,
#universityLifeMega:focus-within .mega-panel,
#universityLifeMega.open .mega-panel {
  transform: translateY(-4px);
}

#universityLifeMega .mega-grid {
  grid-template-columns: 1fr 1fr 1.08fr;
  gap: 1rem;
}

#universityLifeMega .mega-grid > div {
  padding: 1.1rem;
  border-radius: 18px;
  border: 1.5px solid rgba(160, 148, 120, 0.25);
  background: #f3efe3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 0.5rem;
  transition: box-shadow 0.2s, background 0.2s;
}

#universityLifeMega .uni-life-image-col {
  display: flex;
  flex-direction: column;
}

#universityLifeMega .uni-life-image-link {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-decoration: none;
}

#universityLifeMega .uni-life-image-link::before {
  content: none !important;
}

#universityLifeMega .uni-life-image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(221, 241, 232, 0.28);
  box-shadow: 0 14px 24px rgba(6, 40, 28, 0.28);
}

#universityLifeMega .uni-life-image-stack {
  position: relative;
  width: 100%;
  height: 230px;
}

#universityLifeMega .uni-life-image-stack .uni-life-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

#universityLifeMega .uni-life-image-stack .uni-life-image.active {
  opacity: 1;
}

#universityLifeMega .uni-life-image-caption {
  display: block;
  color: #e8f8f2;
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: left;
  padding: 0 0.2rem;
}

#universityLifeMega .uni-life-image-dots {
  display: flex;
  justify-content: center;
  gap: 0.38rem;
  margin-top: 0.25rem;
}

#universityLifeMega .uni-life-image-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(220, 245, 234, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.24s ease, background-color 0.24s ease;
}

#universityLifeMega .uni-life-image-dot.active {
  background: #f5d08a;
  transform: scale(1.16);
}

@media (max-width: 1040px) {
  #universityLifeMega .uni-life-image-stack {
    height: auto;
  }

  #universityLifeMega .uni-life-image-stack .uni-life-image {
    position: static;
    opacity: 1;
    display: none;
  }

  #universityLifeMega .uni-life-image-stack .uni-life-image:first-child {
    display: block;
  }

  #universityLifeMega .uni-life-image-dots {
    display: none;
  }
}

#universityLifeMega .mega-grid h4 {
  font-size: clamp(0.68rem, 0.64rem + 0.18vw, 0.74rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: 0.07em;
  line-height: 1.32;
  color: #f5d08a;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(245, 208, 138, 0.28);
  padding-bottom: 0.55rem;
  min-height: 2.8em;
  display: flex;
  align-items: flex-end;
}



#universityLifeMega .mega-grid p {
  margin: 0.42rem 0 0.9rem;
  color: #e8f8f2;
  font-size: 0.8rem;
  line-height: 1.7;
  text-align: justify;
}

#universityLifeMega .mega-grid img {
  display: block;
  width: 100%;
  height: 265px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(221, 241, 232, 0.22);
  box-shadow: 0 10px 20px rgba(6, 40, 28, 0.25);
}

.nav .btn-nav {
  margin-left: auto;
  font-size: 0.86rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.76rem 1.22rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-nav,
.btn-primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 85, 76, 0.24);
}

.btn-nav {
  border-right: 0;
  background: linear-gradient(140deg, #f3ca7e, #d29537);
  color: #143b36;
  box-shadow: 0 9px 20px rgba(10, 64, 52, 0.24);
}

.vc-section {
  padding: 3.2rem 0 1.2rem;
}

.vc-showcase {
  position: relative;
  display: block;
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid #d6dee8;
  background:
    linear-gradient(140deg, rgba(11, 42, 80, 0.04), transparent 38%),
    #f8fafc;
  box-shadow: 0 16px 34px rgba(13, 36, 64, 0.12);
}

/* desktop: hide the real photo panel, rely on ::before ghost */
.vc-photo {
  display: none;
}

.vc-copy {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 1.6rem 1.7rem;
  border: 1px solid #dce4ee;
  background: linear-gradient(180deg, #ffffff, #f9fbfd);
}

.vc-copy::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: min(46%, 440px);
  height: 100%;
  background-image: linear-gradient(270deg, rgba(249, 251, 253, 0.05), rgba(249, 251, 253, 0.82) 52%),
    url("../images/vc.jpg");
  background-size: cover;
  background-position: center top;
  opacity: 0.78;
  pointer-events: none;
}

.vc-copy > * {
  position: relative;
  z-index: 1;
}

.vc-copy .eyebrow {
  color: #0f4d83;
  letter-spacing: 1.3px;
  margin-bottom: 0.42rem;
}

.vc-copy h2 {
  color: #0d2f59;
  font-size: clamp(1.8rem, 2.45vw, 2.35rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
  max-width: 20ch;
}

.vc-copy h2 span {
  display: inline-block;
  color: #b6842d;
  font-size: clamp(1.5rem, 1.95vw, 2rem);
  font-style: italic;
  font-weight: 600;
  margin-left: 0.18rem;
}

.vc-intro,
.vc-closing {
  color: #384e67;
  font-size: 0.97rem;
  line-height: 1.72;
  margin-top: 0.85rem;
  max-width: min(68ch, 63%);
}

.vc-points {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
  max-width: min(68ch, 63%);
}

.vc-points li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.62rem;
  align-items: start;
  padding: 0.52rem 0;
  border-top: 1px solid #e2e8f0;
}

.vc-point-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #a8c8f0;
  background: linear-gradient(145deg, #164574, #0f2f59);
  border: 1px solid rgba(215, 228, 240, 0.3);
  box-shadow: 0 3px 8px rgba(15, 47, 89, 0.25);
}

.vc-point-icon svg {
  width: 17px;
  height: 17px;
}

.vc-points p {
  margin: 0;
  color: #324961;
  font-size: 0.91rem;
  line-height: 1.58;
}

.vc-signature {
  margin-top: 1.05rem;
  padding-top: 0.85rem;
  border-top: 1px solid #d8e0ea;
  display: grid;
  gap: 0.12rem;
  max-width: min(54ch, 56%);
}

.vc-sign {
  color: #123b6a;
  font-size: 1.32rem;
  line-height: 1;
  font-family: "Lora", serif;
  font-style: italic;
}

.vc-signature small {
  color: #5b718d;
  font-size: 0.84rem;
}

.vc-quote-badge {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 3;
  width: min(250px, 35%);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  text-align: center;
  color: #0f3a67;
  font-size: 0.85rem;
  font-family: "Lora", serif;
  font-style: italic;
  line-height: 1.38;
  border: 1px solid rgba(173, 191, 212, 0.9);
  background: rgba(245, 249, 253, 0.88);
}

.btn-light {
  border-color: #b7cbc6;
  color: var(--brand-strong);
  background: #f6fbfa;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 1.8rem 0 4rem;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(12, 95, 85, 0.16), transparent 68%);
  left: -190px;
  top: -120px;
}

.hero::after {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(195, 142, 47, 0.18), transparent 70%);
  right: -170px;
  bottom: -150px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.92fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: center;
}

.hero .container.hero-grid {
  width: min(1320px, 100%);
  max-width: 1320px;
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: clamp(0.9rem, 3.2vw, 2.4rem);
}

.hero-content {
  position: relative;
  border: 1px solid #d9e7e3;
  border-radius: 24px;
  padding: clamp(1.4rem, 2.2vw, 2.1rem);
  background:
    linear-gradient(140deg, rgba(12, 95, 85, 0.06), transparent 35%),
    linear-gradient(180deg, #ffffff, #f3f9f8);
  box-shadow: 0 18px 34px rgba(12, 50, 46, 0.11);
}

.hero-content::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section .hero-swiper {
  width: 100%;
  min-height: 70vh;
}

.hero-section .swiper-slide {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 clamp(1.5rem, 4vw, 4rem) clamp(3rem, 5vw, 5rem);
}

.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 18, 0.10), rgba(6, 12, 9, 0.42));
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  max-width: min(680px, 100%);
  width: 100%;
  padding: clamp(1.8rem, 3vw, 3rem);
  margin: 0;
  background: rgba(12, 24, 21, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  border-radius: 28px;
}

.hero-section .hero-eyebrow {
  color: #f3d48b;
  letter-spacing: 0.22em;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.hero-section .hero-title {
  color: #ffffff;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 1.2rem;
  letter-spacing: -0.04em;
}

.hero-section .hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: 1.5rem;
}

.hero-section .btn-primary {
  min-width: 190px;
}

.hero-section .swiper-button-prev,
.hero-section .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  box-shadow: 0 24px 48px rgba(3, 10, 7, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, background-color 0.22s ease;
  z-index: 5;
}

.hero-section .swiper-button-prev:hover,
.hero-section .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-50%) scale(1.04);
}

.hero-section .swiper-button-prev {
  left: 1.6rem;
}

.hero-section .swiper-button-next {
  right: 1.6rem;
}

.hero-section .swiper-button-prev::after,
.hero-section .swiper-button-next::after {
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-section .swiper-pagination {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.6rem;
}

.hero-section .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.42);
  opacity: 1;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-section .swiper-pagination-bullet-active {
  width: 14px;
  height: 14px;
  background: #f3c270;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 6px rgba(243, 194, 112, 0.16);
  transform: scale(1.05);
}

@media (max-width: 980px) {
  .hero-section .hero-swiper,
  .hero-section .swiper-slide {
    min-height: 52vh;
  }

  .hero-section .hero-content {
    width: 100%;
    padding: 1.75rem 1.4rem;
    border-radius: 24px;
  }

  .hero-section .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
  }

  .hero-section .swiper-button-prev,
  .hero-section .swiper-button-next {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 640px) {
  .hero-section .hero-slide {
    min-height: auto;
    padding: 2rem 0 2.2rem;
  }

  .hero-section .hero-content {
    margin: 0 1rem;
    padding: 1.35rem 1.1rem;
    max-width: calc(100% - 2rem);
  }

  .hero-section .hero-title {
    font-size: clamp(1.95rem, 7vw, 2.8rem);
  }

  .hero-section .hero-desc {
    font-size: 1rem;
  }

  .hero-section .swiper-pagination {
    bottom: 0.9rem;
  }
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.8px;
  font-size: 0.74rem;
  margin-bottom: 0.8rem;
  font-family: "Inter", sans-serif;
}

.hero h1 {
  font-size: clamp(2rem, 2.8vw, 3.5rem);
  color: #0e302c;
  font-weight: 700;
  letter-spacing: -0.024em;
  text-wrap: balance;
}

.lead {
  margin-top: 1.08rem;
  max-width: 56ch;
  color: #35524d;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 1.9rem;
}

.hero-actions .btn {
  min-width: 206px;
  font-size: 1.04rem;
  padding: 0.9rem 1.3rem;
}

.hero-card {
  position: relative;
  min-width: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(12, 95, 85, 0.12), transparent 46%),
    linear-gradient(160deg, #fbfefd, #eaf4f2);
  border: 1px solid #d4e4e0;
  border-radius: 22px;
  padding: clamp(1.15rem, 1.8vw, 1.75rem);
  box-shadow: 0 18px 34px rgba(10, 42, 38, 0.13);
}


.hero-card h2 {
  font-size: 2rem;
  margin-bottom: 0.65rem;
  color: #123733;
}

.hero-card p {
  color: #36534f;
  font-size: 1.01rem;
  line-height: 1.5;
}

.hero-card ul {
  margin: 1.15rem 0 0;
  padding-left: 1.15rem;
  color: #2f4f4a;
  display: grid;
  gap: 0.45rem;
}

@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.94fr);
  }

  .hero .container.hero-grid {
    padding-inline: clamp(0.85rem, 2.4vw, 1.6rem);
  }
}

.hero-card li::marker {
  color: #0f5f55;
}

.inline-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.03rem;
}

.inline-link:hover {
  color: #084c44;
}

.slider-section {
  padding: 0;
}

.section-title-wrap {
  margin-bottom: 0.85rem;
}

.section-main-title {
  font-size: clamp(1.45rem, 2.1vw, 2.25rem);
  color: #113531;
  letter-spacing: -0.014em;
}

.slider-wrap {
  position: relative;
  width: 100%;
}

.slider-track {
  position: relative;
  height: 500px;
  border-radius: 0;
  overflow: hidden;
  background: #0f2926;
  border-bottom: 1px solid #d5e4e1;
  box-shadow: 0 22px 44px rgba(8, 38, 35, 0.28);
}

@keyframes slideEnter {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideExit {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: slideExit 0.7s ease-out forwards;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  animation: slideEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: contrast(1.08) saturate(1.18) brightness(0.8);
  animation: imageZoom 6s ease-in-out;
}

@keyframes imageZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideContentEnter {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-overlay {
  position: absolute;
  inset: auto auto 0 0;
  width: min(820px, 100%);
  background: linear-gradient(180deg, rgba(8, 38, 35, 0.08), rgba(8, 38, 35, 0.9));
  color: #ffffff;
  padding: 1.8rem;
}

.slide.active .slide-overlay .eyebrow {
  animation: slideContentEnter 0.6s ease-out 0.15s both;
}

.slide-overlay .eyebrow {
  color: #f8dba6;
}

.slide.active .slide-overlay h2 {
  animation: slideContentEnter 0.6s ease-out 0.3s both;
}

.slide-overlay h2 {
  font-size: clamp(1.45rem, 2.15vw, 2.15rem);
  text-wrap: balance;
}

.slide.active .slide-overlay p {
  animation: slideContentEnter 0.6s ease-out 0.45s both;
}

.slide-overlay p {
  margin-top: 0.55rem;
  color: #ecf6f4;
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  z-index: 5;
  background: rgba(10, 30, 27, 0.58);
  border: 1px solid rgba(230, 242, 238, 0.34);
  border-radius: 999px;
  padding: 0.48rem 0.62rem;
  backdrop-filter: blur(8px);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(232, 243, 239, 0.75);
  background: rgba(14, 45, 41, 0.62);
  color: #f4fbf9;
  font-size: 1.55rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover {
  background: rgba(12, 95, 85, 0.88);
}

.slider-arrow-left {
  left: 1rem;
}

.slider-arrow-right {
  right: 1rem;
}

.slider-dots {
  display: flex;
  gap: 0.45rem;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(219, 235, 231, 0.65);
  background: rgba(233, 246, 243, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.slider-dot.active {
  background: #f3c270;
  border-color: #f3c270;
  transform: scale(1.12);
}

.department-nav-pills {
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 0;
  border-top: 1px solid rgba(12, 95, 85, 0.08);
  border-bottom: 1px solid rgba(12, 95, 85, 0.08);
}

.dept-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.dept-pill-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: #f2fbf5;
  color: #0b4f43;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dept-pill-list a:hover {
  background: linear-gradient(90deg, #0c5f55, #c38e2f);
  color: #fff;
  transform: translateY(-1px);
}

.feature-stack {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid #e8f3ec;
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(12, 95, 85, 0.07);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(12, 95, 85, 0.08);
  color: #0c5f55;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: #0c5f55;
}

.feature-card p {
  margin: 0;
  color: #476664;
  line-height: 1.85;
}

.milestone-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.milestone-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #eaf3ee;
  padding: 1.75rem;
  box-shadow: 0 16px 36px rgba(12, 95, 85, 0.06);
}

.milestone-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: #eaf6ef;
  color: #0c5f55;
  font-weight: 700;
  margin-bottom: 1rem;
}

.milestone-card h3 {
  margin: 0 0 0.75rem;
  color: #0c5f55;
}

.milestone-card p {
  margin: 0;
  color: #476664;
  line-height: 1.85;
}

@media (min-width: 900px) {
  .feature-stack {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .dept-pill-list {
    justify-content: stretch;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@keyframes statsBackdropMove {
  0% {
    background-position: center top;
  }
  100% {
    background-position: center bottom;
  }
}

@keyframes statsCardReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statsIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.stats-section {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  background:
    linear-gradient(120deg, rgba(8, 43, 39, 0.58), rgba(195, 142, 47, 0.26)),
    url("https://picsum.photos/seed/hu-impact-bg/1800/900") center / cover no-repeat;
  animation: statsBackdropMove 24s ease-in-out infinite alternate;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 42, 39, 0.5), rgba(22, 40, 37, 0.62));
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

.stats-section .section-head {
  margin-bottom: 1.35rem;
  text-align: center;
}

.stats-section .section-head .eyebrow,
.stats-section .section-head h2 {
  color: #f0f8f6;
}

.stats-section .section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.9rem;
}

.stats-section .section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(170px, 28vw, 260px);
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(12, 95, 85, 0.15), var(--brand), var(--gold), rgba(195, 142, 47, 0.12));
}

.stats article {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 90% 0%, rgba(205, 165, 86, 0.2), transparent 46%),
    linear-gradient(165deg, rgba(8, 42, 38, 0.62), rgba(7, 35, 32, 0.54));
  border: 1px solid rgba(157, 186, 179, 0.55);
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 16px 30px rgba(5, 27, 24, 0.22);
  backdrop-filter: blur(9px);
  animation: statsCardReveal 0.55s ease-out both;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stats article:nth-child(2) {
  animation-delay: 0.08s;
}

.stats article:nth-child(3) {
  animation-delay: 0.16s;
}

.stats article:nth-child(4) {
  animation-delay: 0.24s;
}

.stats article::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--brand), #1f7a6f, var(--gold));
}

.stats article:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 222, 216, 0.8);
  box-shadow: 0 24px 36px rgba(4, 24, 22, 0.3);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #f2fffc;
  border: 1px solid rgba(247, 209, 143, 0.72);
  background: linear-gradient(145deg, #0e665b, #0a4e45);
  box-shadow: 0 10px 20px rgba(11, 76, 68, 0.22);
  animation: statsIconFloat 4s ease-in-out infinite;
}

.stat-icon svg {
  width: 23px;
  height: 23px;
}

.stats h3 {
  margin-top: 0.9rem;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #effcf9;
}

.stats p {
  margin-top: 0.55rem;
  color: #d4e8e3;
  font-size: 1.02rem;
  font-weight: 500;
}

.stats-section .stats p {
  color: #d4e8e3;
}

@media (prefers-reduced-motion: reduce) {
  .stats-section,
  .stats article,
  .stat-icon {
    animation: none;
  }
}

.section {
  padding: 4rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(232, 242, 239, 0.58));
  border-block: 1px solid #deebe8;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.split.reverse {
  grid-template-columns: 1fr 1.05fr;
}

.section h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.45rem);
  color: #102f2b;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section p {
  margin-top: 1rem;
  color: #375450;
}

/* About University page redesign */
.hu-about-hero {
  position: relative;
  padding: 3.8rem 0 2.6rem;
}

.hu-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(6, 120, 52, 0.12), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(10, 122, 191, 0.1), transparent 36%);
  pointer-events: none;
}

.hu-about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.6rem;
  align-items: stretch;
}

.hu-about-hero-copy,
.hu-about-highlight {
  border-radius: 20px;
  border: 1px solid rgba(6, 120, 52, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(239, 248, 245, 0.72));
  box-shadow: 0 14px 32px rgba(8, 58, 44, 0.1);
  padding: 1.75rem;
}

.hu-about-hero-copy h1 {
  margin: 0.45rem 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.13;
  color: #0f3b35;
  letter-spacing: -0.02em;
}

.hu-about-hero-copy .lead {
  margin-top: 1rem;
  max-width: 60ch;
  color: #32534f;
  line-height: 1.72;
}

.hu-about-hero-tags {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hu-about-hero-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(6, 120, 52, 0.18);
  background: linear-gradient(145deg, rgba(6, 120, 52, 0.1), rgba(10, 122, 191, 0.1));
  color: #0c594f;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.42rem 0.82rem;
}

.hu-about-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.hu-about-highlight img {
  width: 70px;
  height: 70px;
}

.hu-about-highlight h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  color: #0d4b43;
}

.hu-about-highlight p {
  margin: 0;
  color: #3e615d;
}

.hu-about-facts {
  width: 100%;
  margin-top: 0.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.hu-about-facts article {
  border: 1px solid rgba(6, 120, 52, 0.13);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  padding: 0.7rem 0.62rem;
}

.hu-about-facts h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #067834;
}

.hu-about-facts p {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #486a65;
}

.hu-center-head {
  text-align: center;
  margin-bottom: 1.6rem;
}

.hu-purpose {
  padding-top: 2.6rem;
}

.hu-purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.hu-purpose-card {
  border-radius: 16px;
  border: 1px solid rgba(6, 120, 52, 0.14);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.88), rgba(240, 250, 246, 0.76));
  box-shadow: 0 12px 28px rgba(9, 61, 47, 0.09);
  padding: 1.45rem;
}

.hu-purpose-card h3 {
  margin: 0 0 0.7rem;
  color: #0e4b43;
  font-size: 1.45rem;
}

.hu-purpose-card p {
  margin: 0;
  line-height: 1.7;
}

.hu-purpose-card--vision {
  border-top: 4px solid #067834;
}

.hu-purpose-card--mission {
  border-top: 4px solid #0a7abf;
}

.hu-checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.hu-checklist li {
  position: relative;
  padding-left: 1.35rem;
  color: #2f5450;
  line-height: 1.56;
}

.hu-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(145deg, #067834, #0a7abf);
}

.hu-values {
  padding-top: 1.1rem;
  background: linear-gradient(180deg, rgba(228, 243, 238, 0.45), rgba(228, 243, 238, 0));
}

.hu-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.hu-value-card {
  border-radius: 14px;
  border: 1px solid rgba(6, 120, 52, 0.14);
  background: rgba(255, 255, 255, 0.83);
  padding: 1.05rem;
  box-shadow: 0 10px 24px rgba(7, 53, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.hu-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 122, 191, 0.28);
  box-shadow: 0 15px 28px rgba(7, 53, 42, 0.13);
}

.hu-value-card h3 {
  margin: 0;
  color: #0e4f45;
  font-size: 1.16rem;
}

.hu-value-card p {
  margin-top: 0.55rem;
  color: #44625d;
  line-height: 1.6;
}

.hu-journey {
  padding-top: 1.8rem;
}

.hu-journey-copy p {
  max-width: 58ch;
}

.hu-journey-highlights {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hu-journey-highlights article {
  border: 1px solid rgba(6, 120, 52, 0.13);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  box-shadow: 0 8px 18px rgba(8, 56, 45, 0.07);
}

.hu-journey-highlights h3 {
  margin: 0;
  color: #0d4d43;
  font-size: 1rem;
}

.hu-journey-highlights p {
  margin-top: 0.42rem;
  color: #3f635e;
  font-size: 0.9rem;
  line-height: 1.55;
}

.hu-journey-timeline-wrap {
  border-radius: 16px;
  border: 1px solid rgba(6, 120, 52, 0.14);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.84), rgba(240, 250, 246, 0.7));
  box-shadow: 0 12px 28px rgba(8, 56, 45, 0.09);
  padding: 1.3rem;
}

.hu-journey-timeline-wrap h3 {
  margin: 0 0 0.8rem;
  color: #0f4a41;
  font-size: 1.2rem;
}

@media (max-width: 1100px) {
  .hu-about-hero-grid {
    grid-template-columns: 1fr;
  }

  .hu-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hu-purpose-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hu-about-hero {
    padding: 3rem 0 2rem;
  }

  .hu-about-hero-copy,
  .hu-about-highlight,
  .hu-journey-timeline-wrap {
    padding: 1.2rem;
  }

  .hu-about-facts {
    grid-template-columns: 1fr;
  }

  .hu-values-grid {
    grid-template-columns: 1fr;
  }

  .hu-journey-highlights {
    grid-template-columns: 1fr;
  }
}

.feature-stack {
  display: grid;
  gap: 0.95rem;
}

#about .feature-stack {
  grid-template-columns: 1fr;
  align-content: start;
}

#about {
  position: relative;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 8% 12%, rgba(12, 95, 85, 0.09), transparent 32%);
  pointer-events: none;
}

#about .split {
  gap: 2.3rem;
  align-items: stretch;
}

.about-copy {
  position: relative;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.74), rgba(239, 248, 245, 0.62));
  border: 1px solid #d4e4e0;
  border-radius: 18px;
  padding: 1.55rem;
  box-shadow: 0 16px 32px rgba(10, 41, 37, 0.08);
}

.about-copy p {
  max-width: 58ch;
}

.about-note {
  margin-top: 1.15rem;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  color: #2f4c48;
  line-height: 1.55;
}

.about-note strong {
  color: #114741;
}

.about-metrics {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.about-metrics article {
  border: 1px solid #d3e3df;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 0.8rem;
}

.about-metrics h3 {
  font-size: 1.42rem;
  color: #0f5b52;
}

.about-metrics p {
  margin-top: 0.3rem;
  color: #43605c;
  font-size: 0.9rem;
}

.feature-card {
  position: relative;
  background: linear-gradient(165deg, #ffffff, #f1f8f6);
  border: 1px solid #d3e3df;
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 1rem 1rem 1rem 4rem;
  box-shadow: 0 12px 24px rgba(12, 42, 38, 0.07);
}

.feature-icon {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #ebfffa;
  border: 1px solid rgba(242, 202, 128, 0.7);
  background: linear-gradient(145deg, #0d665c, #0a4e45);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: #0f3732;
}

.feature-card p {
  margin-top: 0.5rem;
}

@media (max-width: 1180px) {
  #about .split {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  #about .feature-stack {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #about .about-copy {
    padding: 1.2rem;
  }

  #about .about-copy p {
    max-width: 100%;
  }

  #about .about-note {
    padding: 0.8rem 0.85rem;
  }

  #about .about-metrics {
    grid-template-columns: 1fr;
  }

  #about .feature-card {
    padding: 0.95rem 0.95rem 0.95rem 3.6rem;
  }
}

.section-head {
  margin-bottom: 1.4rem;
}

#faculties .section-head {
  text-align: center;
  margin-bottom: 2.2rem;
}

#faculties .section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

#faculties .section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(180px, 32vw, 280px);
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(12, 95, 85, 0.15), var(--brand), var(--gold), rgba(195, 142, 47, 0.12));
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.program-card {
  background: #fff;
  border-radius: 14px;
  border: 2px solid #0c5f55;
  padding: 1.75rem;
  box-shadow: 0 10px 20px rgba(11, 46, 43, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0c5f55, #c38e2f);
}

.program-card:hover {
    flex-shrink: 0;
    height: auto;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(12, 95, 85, 0.15);
  border-color: #c38e2f;
}

.faculty-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f8f6 0%, #e8f3f0 100%);
  border-radius: 12px;
  border: 2px solid #0c5f55;
}

.program-card h3 {
  font-size: 1.35rem;
  color: #0a2a26;
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
  font-family: 'Lora', serif;
}

.program-card p {
  margin-top: 0.9rem;
  color: #476664;
  line-height: 1.65;
  font-size: 0.95rem;
}

.faculty-dean-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(340px, 1.4fr);
  gap: 2rem;
  align-items: stretch;
}

.faculty-dean-sidebar {
  background: linear-gradient(180deg, #0c5f55 0%, #0e8d60 100%);
  border-radius: 26px;
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}

.dean-photo-wrap {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
}

.dean-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dean-photo-placeholder {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.dean-copy .eyebrow {
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.dean-copy h3 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
}

.dean-title {
  margin: 0.75rem 0 1rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.96rem;
  line-height: 1.65;
}

.dean-summary {
  margin: 0;
  color: rgba(255,255,255,0.92);
  line-height: 1.85;
}

.faculty-dean-copyblock {
  background: #fff;
  border-radius: 26px;
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(12, 95, 85, 0.08);
  display: flex;
  align-items: stretch;
}

.dean-message-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dean-message-box p {
  margin: 0;
  color: #0f312c;
  line-height: 1.95;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .faculty-dean-grid {
    grid-template-columns: 1fr;
  }
}

.research-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f7fcfb 100%);
  border: 2px solid #0c5f55;
  border-radius: 16px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.research-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0c5f55, #c38e2f);
}

.research-panel h2 {
  margin-top: 0.8rem;
  color: #0a2a26;
  font-size: 1.8rem;
  line-height: 1.3;
}

.research-panel p {
  margin-top: 1rem;
  color: #476664;
  line-height: 1.7;
  font-size: 0.95rem;
}

.research-highlights {
  margin-top: 1.8rem;
  display: grid;
  gap: 1rem;
}

.highlight-box {
  background: linear-gradient(135deg, #ffffff 0%, #f9fcfb 100%);
  border: 2px solid #0c5f55;
  border-radius: 12px;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0c5f55, #c38e2f);
}

.highlight-box:hover {
  border-color: #c38e2f;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(12, 95, 85, 0.12);
}

.highlight-icon {
  font-size: 2.2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f8f6, #e8f3f0);
  border-radius: 10px;
  border: 2px solid #0c5f55;
  flex-shrink: 0;
}

.highlight-box p {
  margin: 0;
  color: #3d5a57;
  line-height: 1.6;
  font-size: 0.9rem;
  padding-top: 0.2rem;
}

.timeline {
  display: grid;
  gap: 1.2rem;
}

.timeline-item {
  background: linear-gradient(135deg, #ffffff 0%, #f9fcfb 100%);
  border: 2px solid #e0ebe8;
  border-radius: 12px;
  padding: 1.4rem;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #0c5f55, #c38e2f);
}

.timeline-item:hover {
  border-color: #0c5f55;
  box-shadow: 0 12px 28px rgba(12, 95, 85, 0.12);
  transform: translateX(8px);
}

.timeline-year {
  font-weight: 800;
  color: #0c5f55;
  font-size: 1.1rem;
  display: inline-block;
  background: linear-gradient(135deg, #f0f8f6, #e8f3f0);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 2px solid #0c5f55;
}

.timeline-item p {
  margin-top: 0.9rem;
  color: #3d5a57;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-left: 0;
}

.cta {
  padding-top: 2.3rem;
}

.cta-box {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
  background:
    linear-gradient(135deg, rgba(8, 54, 48, 0.86) 0%, rgba(10, 79, 71, 0.82) 55%, rgba(8, 62, 56, 0.9) 100%),
    radial-gradient(circle at top right, rgba(195, 142, 47, 0.2), transparent 32%),
    url("../images/admissions-cta.svg");
  border-radius: 24px;
  color: #fff;
  padding: 2rem 2.1rem;
  border: 1px solid rgba(214, 236, 231, 0.18);
  box-shadow: 0 28px 48px rgba(6, 49, 44, 0.22);
  overflow: hidden;
  background-size: cover, auto, cover;
  background-position: center, top right, center;
  background-repeat: no-repeat;
}

.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-box::before {
  width: 240px;
  height: 240px;
  top: -120px;
  right: -60px;
  background: rgba(255, 255, 255, 0.06);
}

.cta-box::after {
  width: 180px;
  height: 180px;
  bottom: -90px;
  left: 40%;
  background: rgba(195, 142, 47, 0.12);
}

.cta-copy,
.cta-side {
  position: relative;
  z-index: 1;
}

.cta-copy {
  max-width: 760px;
}

.cta-copy h2 {
  margin-top: 0.45rem;
  color: #f8fcfb;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

.cta-box p {
  color: #daefeb;
  max-width: 62ch;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.cta-points span {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 242, 238, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #eff8f6;
  font-size: 0.94rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.cta-side {
  min-width: 285px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.cta-visual {
  min-height: 176px;
  border-radius: 20px;
  border: 1px solid rgba(227, 242, 239, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    url("../images/admissions-cta.svg");
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-stat {
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(226, 242, 238, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cta-stat span {
  display: block;
  margin-top: 0.35rem;
  color: #d4ebe6;
  font-size: 0.95rem;
}

.cta-action {
  align-self: flex-start;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #e8f5f2 100%);
  color: #0c5f55;
  box-shadow: 0 12px 24px rgba(7, 39, 35, 0.18);
}

.cta-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(7, 39, 35, 0.22);
}

.updates-section {
  padding-top: 1.6rem;
  padding-bottom: 6.4rem;
}

.updates-section .container {
  width: min(1520px, 97%);
}

.updates-section .section-head {
  text-align: center;
  margin-bottom: 2.3rem;
}

.updates-section .section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.95rem;
}

.updates-section .section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(200px, 30vw, 320px);
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(12, 95, 85, 0.12), var(--brand), var(--gold), rgba(195, 142, 47, 0.12));
}

.updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
}

.updates-column {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 1.15rem;
  align-items: stretch;
  padding: 1.1rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #f9fcfb 0%, #eef7f4 100%);
  border: 1px solid #d8e7e2;
  box-shadow: 0 18px 36px rgba(8, 49, 44, 0.07);
}

.updates-column.delay-1 {
  margin-top: 1.2rem;
}

.updates-column-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 1.55rem 1.45rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #0f6b60 0%, #0a4f47 60%, #093d37 100%);
  color: #f8fcfb;
  box-shadow: 0 24px 38px rgba(8, 49, 44, 0.2);
  position: relative;
  overflow: hidden;
}

.updates-column-head::before,
.updates-column-head::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.updates-column-head::before {
  width: 160px;
  height: 160px;
  top: -60px;
  right: -45px;
  background: rgba(255, 255, 255, 0.09);
}

.updates-column-head::after {
  width: 120px;
  height: 120px;
  bottom: -45px;
  left: -25px;
  background: rgba(195, 142, 47, 0.16);
}

.updates-column-head h3 {
  margin-top: 0.7rem;
  color: #f8fcfb;
  font-size: 1.7rem;
  line-height: 1.15;
}

.updates-column-head p:not(.update-tag) {
  margin-top: 0.95rem;
  color: #d7ece7;
  line-height: 1.72;
  max-width: 26ch;
}

.updates-column-head .update-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #eff8f6;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.updates-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.7rem;
  position: relative;
  z-index: 1;
}

.updates-head-row h3 {
  margin-top: 0;
}

.updates-column-head .updates-controls {
  position: relative;
  z-index: 2;
}

.updates-column-head .updates-nav {
  border-color: rgba(233, 245, 242, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #f8fcfb;
}

.updates-column-head .updates-nav:hover {
  border-color: rgba(233, 245, 242, 0.55);
  box-shadow: 0 10px 18px rgba(6, 34, 31, 0.2);
}
.updates-summary {
  margin-top: 1.3rem;
  display: inline-flex;
  align-self: flex-start;
  padding: 0.68rem 0.92rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(233, 245, 242, 0.16);
  color: #f7fcfb;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}

.updates-carousel {
  min-width: 0;
  padding: 1.05rem 1.1rem 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(215, 232, 227, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.updates-carousel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.updates-carousel-top p {
  color: #18403a;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.updates-controls {
  display: flex;
  gap: 0.6rem;
}

.updates-nav {
  width: 42px;
  height: 42px;
  border: 1px solid #caded7;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #eef7f4 100%);
  color: #0c5f55;
  font-size: 1rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.updates-nav:hover {
  transform: translateY(-2px);
  border-color: #0c5f55;
  box-shadow: 0 12px 20px rgba(12, 95, 85, 0.12);
}

.updates-swiper {
  overflow: hidden;
}

.updates-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.update-card {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 22px;
  border: 1px solid #d7e8e3;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
  box-shadow: 0 18px 34px rgba(8, 49, 44, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


.update-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 40px rgba(8, 49, 44, 0.12);
  border-color: #c9ddd7;
}

.update-card-feature {
  background:
    radial-gradient(circle at top right, rgba(195, 142, 47, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f3f9f7 100%);
}

.update-card-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.44rem 0.72rem;
  border-radius: 999px;
  background: rgba(237, 247, 244, 0.96);
  color: #0c5f55;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(10, 45, 41, 0.12);
}

.update-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #d9ece6, #f4f7ee);
}

.update-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 82%;
  display: block;
}

.update-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(10, 43, 39, 0), rgba(10, 43, 39, 0.2));
  pointer-events: none;
}

.update-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0c5f55, #c38e2f);
}

.news-date-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: linear-gradient(90deg, #0c5f55 60%, #c38e2f 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.32em 1em;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(7, 37, 33, 0.16);
}

.update-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1rem 1rem;
}

.update-card-text .update-card-body {
  padding: 1.15rem 1rem 1rem;
}

.update-card-text .update-card-label {
  position: static;
  align-self: flex-start;
  margin-bottom: 0.7rem;
  box-shadow: none;
}

.update-card-text .news-card-excerpt {
  min-height: 4.9rem;
}

.update-card-text .update-meta {
  margin-top: auto;
  color: #5b7773;
}

.update-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: #edf7f4;
  color: #0c5f55;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.update-card h4 {
  margin-top: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  color: #153a35;
}

.update-card p {
  margin-top: 0.75rem;
  color: #4a6864;
  line-height: 1.68;
  font-size: 0.95rem;
}

.news-card-excerpt {
  display: -webkit-box;
  min-height: 4.8rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.update-card a,
.update-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-weight: 700;
  color: #0c5f55;
  font-size: 0.92rem;
}

.update-card a:hover {
  color: #0a4f47;
}

.update-card .news-readmore-btn {
  margin-top: auto;
}

.updates-pagination {
  position: static;
  margin-top: 1rem;
}

.updates-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #bfd5d0;
  opacity: 1;
}

.updates-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.footer {
  margin-top: 3rem;
  background:
    radial-gradient(circle at 85% 8%, rgba(44, 164, 123, 0.22), transparent 30%),
    radial-gradient(circle at 8% 88%, rgba(13, 130, 91, 0.25), transparent 32%),
    linear-gradient(180deg, #078735 0%, #067f33 45%, #066f30 100%);
  color: #ddf6e9;
  padding: 2.6rem 0 1rem;
  border-top: 1px solid rgba(226, 246, 237, 0.2);
}

.footer-shell {
  width: min(90%, 1420px);
  margin-inline: auto;
  border-radius: 18px;
  padding: 1.25rem 1.3rem 1rem;
  border: 1px solid rgba(226, 246, 237, 0.16);
  background: linear-gradient(180deg, rgba(3, 73, 31, 0.26), rgba(2, 59, 25, 0.18));
  box-shadow: inset 0 1px 0 rgba(243, 253, 248, 0.11), 0 20px 36px rgba(2, 38, 17, 0.28);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1fr 0.9fr;
  gap: 1.7rem;
}

.footer-block h4 {
  color: #ffffff;
  margin: 0 0 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

.footer-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(221, 245, 234, 0.2);
  font-size: 0.98rem;
}

.footer-hours li span {
  color: #ffffff;
  font-weight: 600;
}

.footer-hours li strong {
  color: #aee8cf;
  font-weight: 500;
}

.footer-links ul {
  gap: 0.68rem;
}

.footer-links li {
  list-style: none;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: #c8f0e0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.48;
  padding: 0.52rem 0.72rem;
  border-radius: 10px;
  border: 1px solid rgba(200, 240, 224, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

#academicsMega .mega-grid a[href*="View All"] {
  font-weight: 500;
  color: #f5d08a;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1.5px solid rgba(245, 208, 138, 0.18);
  margin-top: 0.5rem;
#academicsMega .mega-grid a[href*="View All"],
#administrationMega .mega-grid > div:nth-child(-n + 2) a:last-child {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: #f5d08a;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.48;
  padding: 0.52rem 0.72rem;
  border-radius: 10px;
  border: 1.5px solid rgba(245, 208, 138, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  margin-top: 0.5rem;
  margin-bottom: 0.28rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

#academicsMega .mega-grid a[href*="View All"]:hover,
#administrationMega .mega-grid > div:nth-child(-n + 2) a:last-child:hover {
  color: #fffbe6;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-color: rgba(245, 208, 138, 0.38);
}

#academicsMega .mega-grid a[href*="View All"]::before,
#administrationMega .mega-grid > div:nth-child(-n + 2) a:last-child::before {
  content: "→";
  font-size: 1.1rem;
  color: #a8e8cc;
  font-weight: 600;
  margin-right: 0.38rem;
  flex-shrink: 0;
  position: static;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
}
}

.footer-links a::before {
  content: "→";
  font-size: 1.1rem;
  color: #a8e8cc;
  font-weight: 600;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: #ffffff;
  border-color: rgba(200, 240, 224, 0.42);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: 0 8px 20px rgba(2, 38, 18, 0.35), inset 0 1px 0 rgba(243, 253, 248, 0.2);
  transform: translateY(-2px);
}

.footer-links a:hover::before {
  transform: translateX(4px);
  color: #ffffff;
}

.footer-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.footer-gallery-grid a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(224, 246, 236, 0.28);
  box-shadow: 0 10px 16px rgba(2, 38, 18, 0.28);
}

.footer-gallery-grid img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.footer-gallery-grid a:hover img {
  transform: scale(1.04);
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(227, 242, 239, 0.22);
  margin-top: 1.3rem;
  padding-top: 0.9rem;
  color: #e2f6ee;
  font-size: 1.02rem;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
  }
}

@media (max-width: 1040px) {
  .footer-shell {
    padding: 1rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-links a {
    font-size: 1.01rem;
    padding: 0.48rem 0.65rem;
  }

  .footer-block h4 {
    margin-bottom: 0.8rem;
  }

  .footer-gallery-grid {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 2rem 0 0.85rem;
  }

  .footer-shell {
    padding: 0.82rem;
    border-radius: 14px;
  }

  .footer-hours li {
    font-size: 0.9rem;
  }

  .footer-links a {
    font-size: 0.95rem;
  }

  .footer-gallery-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .footer-gallery-grid img {
    height: 96px;
  }

  .copyright {
    font-size: 0.88rem;
  }
}

.reveal {
  /* opacity: 0; */
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #c4d7d2;
  border-radius: 10px;
  background: #fff;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: #163b36;
  margin: 4px auto;
}

@media (max-width: 1480px) {
  .topbar .container {
    width: min(1680px, 99.4%);
  }

  .utility-wrap {
    gap: 0.85rem;
  }

  .utility-title {
    font-size: clamp(1.02rem, 1.18vw, 1.38rem);
  }

  .utility-links {
    gap: 0.75rem;
    padding-left: 1rem;
  }

  .utility-links a {
    font-size: 0.74rem;
    padding-right: 0.76rem;
  }

  .nav > a,
  .nav > .nav-item > .mega-trigger {
    font-size: 0.8rem;
    padding: 0.94rem 0.76rem;
  }

  .mega-trigger {
    padding: 0.94rem 0.78rem;
    gap: 0.32rem;
  }

  .nav .btn-nav {
    font-size: 0.78rem;
    padding-inline: 0.95rem;
  }
}

@media (max-width: 1360px) {
  .topbar {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .utility-wrap {
    flex-wrap: nowrap;
    row-gap: 0.35rem;
  }

  .utility-title {
    font-size: clamp(0.96rem, 1.02vw, 1.24rem);
  }

  .utility-links {
    width: auto;
    align-self: flex-start;
    justify-content: flex-end;
    gap: 0.65rem;
    padding-left: 0;
  }

  .utility-links a {
    font-size: 0.72rem;
    padding-right: 0.68rem;
  }

  .brand {
    width: 132px;
  }

  .brand-mark {
    width: 76px;
  }

  .nav > a,
  .nav > .nav-item > .mega-trigger {
    font-size: 0.76rem;
    padding: 0.88rem 0.62rem;
  }

  .nav {
    padding-left: 132px;
  }

  .mega-trigger {
    padding: 0.88rem 0.66rem;
    gap: 0.28rem;
  }

  .nav .btn-nav {
    font-size: 0.74rem;
    padding-inline: 0.82rem;
  }

  /* Match Administration megamenu panel to About megamenu style and width */
  #administrationMega .mega-panel {
    left: 0;
    min-width: 1100px;
    width: auto;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .topbar .container {
    width: min(1680px, 99.7%);
  }

  .utility-title {
    font-size: clamp(0.9rem, 0.98vw, 1.1rem);
  }

  .utility-links {
    gap: 0.48rem;
  }

  .utility-links a {
    font-size: 0.68rem;
    padding-right: 0.58rem;
  }

  .brand {
    width: 112px;
  }

  .brand-mark {
    width: 64px;
  }

  .nav > a,
  .nav > .nav-item > .mega-trigger {
    font-size: 0.7rem;
    padding: 0.84rem 0.46rem;
  }

  .nav {
    padding-left: 112px;
  }

  .mega-trigger {
    padding: 0.84rem 0.5rem;
    gap: 0.22rem;
  }

  .caret {
    font-size: 0.6rem;
  }

  .nav .btn-nav {
    font-size: 0.68rem;
    padding-inline: 0.72rem;
  }

  #administrationMega .mega-panel,
  #academicsMega .mega-panel,
  #universityLifeMega .mega-panel {
    left: 112px;
  }
}

@media (max-width: 1040px) {
  main {
    padding-top: 0;
  }

  .vc-showcase,
  .hero-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .vc-section {
    padding: 2.2rem 0 0.6rem;
  }

  .vc-showcase {
    padding: 1rem;
  }

  .vc-copy {
    padding: 1.2rem;
  }

  .hero {
    min-height: auto;
    padding: 1.6rem 0 3rem;
  }

  .hero .container.hero-grid {
    padding-inline: clamp(0.9rem, 4vw, 2rem);
  }

  .hero-content {
    padding: 1.45rem;
  }

  .hero-card {
    padding: 1.4rem;
  }

  .hero-card h2 {
    font-size: 1.72rem;
  }

  .hero-actions .btn {
    min-width: 178px;
    padding: 0.82rem 1.15rem;
  }

  .vc-showcase {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.6rem;
  }

  .vc-photo {
    display: block;
    order: -1;
    min-height: 280px;
    max-height: 320px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.6rem;
  }

  .vc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .vc-copy::before {
    display: none;
  }

  .vc-copy {
    border-right: none;
    padding: 1.2rem 1.1rem;
  }

  .vc-intro,
  .vc-points,
  .vc-signature {
    max-width: 100%;
  }

  .vc-quote-badge {
    position: static;
    width: 100%;
    margin-top: 0.9rem;
  }

  .vc-photo::after {
    background: linear-gradient(180deg, transparent 60%, rgba(248, 250, 252, 0.5) 100%);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #about .container {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding-inline: clamp(0.75rem, 2.6vw, 1.35rem);
  }

  #about .split {
    gap: 1.5rem;
  }

  #about .about-copy {
    padding: 1.35rem;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  #about .about-copy .eyebrow,
  #about .about-copy h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  #about .about-copy h2 {
    font-size: clamp(1.7rem, 4.4vw, 2.1rem);
    max-width: 14ch;
  }

  #about .about-copy > p {
    max-width: 100%;
  }

  #about .about-note {
    display: grid;
    gap: 0.28rem;
    padding: 0.95rem 1rem;
  }

  #about .feature-stack {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-width: 100%;
  }

  #about .feature-card {
    min-height: 0;
    padding: 1rem 1rem 1rem 3.85rem;
    border-radius: 16px;
  }

  #about .feature-card h3,
  #about .feature-card p {
    max-width: 32ch;
  }

  #about .about-metrics {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    align-items: stretch;
  }

  .stats article {
    height: 100%;
    padding: 1rem 0.95rem 1.08rem;
  }

  .stats h3 {
    font-size: 1.95rem;
  }

  .stats p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .cta-box {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background-size: cover, 180px 180px, cover;
    background-position: center, top right, center;
  }

  .cta-copy {
    border-radius: 16px;
    padding: 1rem;
    background: rgba(5, 53, 48, 0.34);
    border: 1px solid rgba(226, 242, 238, 0.18);
    box-sizing: border-box;
  }

  .cta-copy h2 {
    font-size: clamp(1.55rem, 6.1vw, 2rem);
    line-height: 1.16;
  }

  .cta-box p {
    max-width: 100%;
  }

  .cta-points {
    margin-top: 1rem;
    gap: 0.55rem;
  }

  .cta-points span {
    width: 100%;
    box-sizing: border-box;
    padding: 0.62rem 0.85rem;
    border-radius: 12px;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(233, 246, 242, 0.2);
  }

  .cta-side {
    width: 100%;
    min-width: 0;
    gap: 0.72rem;
    border-radius: 16px;
    padding: 0.8rem;
    background: rgba(4, 45, 41, 0.32);
    border: 1px solid rgba(226, 242, 238, 0.15);
    box-sizing: border-box;
  }

  .cta-visual {
    width: 100%;
    min-height: 156px;
    border-radius: 14px;
  }

  .cta-stat {
    border-radius: 14px;
    padding: 0.95rem 1rem;
  }

  .cta-stat strong {
    font-size: 1rem;
  }

  .cta-stat span {
    font-size: 0.9rem;
  }

  .updates-grid {
    grid-template-columns: 1fr;
  }

  .updates-column {
    grid-template-columns: 1fr;
  }

  .updates-column.delay-1 {
    margin-top: 0;
  }

  .updates-column-head p:not(.update-tag) {
    max-width: none;
  }

  .updates-head-row {
    align-items: flex-start;
  }

  .updates-head-row h3 {
    font-size: 1.45rem;
  }

  .updates-column-head .updates-nav {
    width: 38px;
    height: 38px;
  }

  .updates-carousel {
    padding: 1rem;
  }

  .updates-carousel-top {
    flex-wrap: wrap;
  }

  .cta-action {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 0.82rem 1rem;
    font-size: 0.94rem;
    box-sizing: border-box;
  }

  .topbar {
    position: relative;
    display: block;
    padding-top: 4px;
  }

  .topbar::before {
    background: #7d5a88;
  }

  .topbar-brand {
    display: none;
  }

  .topbar-right {
    width: 100%;
  }

  .topbar-identity {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0;
    padding: 0;
    border-bottom: 0;
  }

  .topbar-identity::before {
    content: "";
    grid-column: 1;
    grid-row: 2;
    width: 58px;
    height: 58px;
    margin: 0.55rem 0 0.55rem 0.65rem;
    border-radius: 50%;
    background: url("../images/hu-crest.svg") center/contain no-repeat;
  }

  .utility-links {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    margin-left: 0;
    padding: 0.22rem 0.55rem;
    gap: 0;
    overflow: visible;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(234, 246, 240, 0.2);
    background: rgba(0, 0, 0, 0.12);
  }

  .utility-links a {
    flex: 0 0 auto;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #cdeee0;
    padding: 0.24rem 0.4rem;
    white-space: nowrap;
    border-right: 0;
    opacity: 0.92;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
  }

  .utility-links a i {
    display: inline-block;
    font-size: 0.78em;
    color: #f2f9f6;
    opacity: 0.95;
  }

  .utility-links a::after {
    content: none;
  }

  .utility-links a:not(:last-child)::after {
    content: "|";
    position: static;
    display: inline;
    margin-left: 0.38rem;
    color: rgba(200, 235, 218, 0.4);
    font-size: 0.65rem;
    font-weight: 300;
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    transform: none;
  }

  .utility-title {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    display: block;
    text-align: center;
    padding: 0.45rem 0.7rem 0.45rem 0.85rem;
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.012em;
    line-height: 1.12;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
    border-left: 1px solid rgba(234, 246, 240, 0.2);
  }

  .utility-title-main,
  .utility-title-sub {
    display: block;
    text-align: center;
  }

  .utility-title::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin: 0;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(225, 242, 235, 0.46);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .menu-toggle-icon {
    width: 26px;
    height: 26px;
    display: block;
  }

  .menu-toggle-icon path {
    fill: none;
    stroke: #f7fffb;
    stroke-width: 2.1;
    stroke-linecap: round;
  }

  .menu-toggle span {
    display: none;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: none;
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 1;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: none;
  }

  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .mobile-cms-link {
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    padding: 0.35rem 0;
    border: 0;
    background: transparent;
    color: #e8f7ef;
    font-family: "Inter", sans-serif;
    font-size: clamp(0.95rem, 2.95vw, 1.22rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: none;
  }

  .mobile-cms-link::after {
    content: "\25BE";
    margin-left: 0.5rem;
    font-size: 0.68rem;
    color: #d2ebdf;
  }

  #siteNav {
    display: none;
  }

  .topbar-nav {
    flex: 1;
    justify-content: space-between;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 0.8rem;
    border-top: 1px solid rgba(234, 246, 240, 0.48);
    border-bottom: 1px solid rgba(234, 246, 240, 0.48);
  }

  .mobile-menu-close {
    position: sticky;
    top: 0.55rem;
    margin: 0.55rem 0.55rem 0.2rem auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(240, 252, 246, 0.5);
    border-radius: 12px;
    background: rgba(6, 84, 40, 0.9);
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .mobile-menu.open .mobile-menu-close,
  body.mobile-menu-open .mobile-menu-close {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-close svg {
    width: 20px;
    height: 20px;
  }

  .mobile-menu-close path {
    fill: none;
    stroke: #f7fffb;
    stroke-width: 2.2;
    stroke-linecap: round;
  }

  .mobile-menu-list {
    padding-top: 0.1rem;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    left: 0;
    top: 0;
    height: 100dvh;
    width: min(86vw, 350px);
    display: block;
    background: linear-gradient(180deg, #067834 0%, #065e30 54%, #054522 100%);
    border-right: 1px solid rgba(239, 251, 244, 0.16);
    box-shadow: 6px 0 36px rgba(0, 0, 0, 0.36);
    transform: translateX(-103%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    z-index: 260;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  .mobile-menu-list {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0 1rem;
  }

  .mobile-menu-list > a,
  .mobile-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(245, 255, 249, 0.14);
    background: transparent;
    color: #f8fffb;
    text-transform: uppercase;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 1rem 1.2rem;
    text-align: left;
  }

  .mobile-sub-toggle::after {
    content: "+";
    font-size: 1.32rem;
    line-height: 1;
    color: rgba(245, 251, 247, 0.88);
  }

  .mobile-has-sub.open .mobile-sub-toggle::after {
    content: "\2212";
  }

  .mobile-menu-list > a:hover,
  .mobile-sub-toggle:hover,
  .mobile-has-sub.open .mobile-sub-toggle {
    background: rgba(0, 0, 0, 0.18);
    color: #f5d08a;
  }

  .mobile-submenu {
    display: none;
    background: rgba(1, 35, 17, 0.3);
    border-bottom: 1px solid rgba(245, 255, 249, 0.12);
    padding: 0.5rem 0.95rem 0.7rem;
  }

  .mobile-sub-heading {
    margin: 0.55rem 0.32rem 0.3rem;
    color: #f5d08a;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-has-sub.open .mobile-submenu {
    display: block;
  }

  .mobile-submenu a {
    display: block;
    color: #dff2e8;
    font-size: 0.87rem;
    font-weight: 500;
    line-height: 1.42;
    padding: 0.48rem 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
  }

  .mobile-submenu a:last-child {
    border-bottom: 0;
  }

  .mobile-submenu a:hover {
    color: #f5d08a;
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-menu-cms {
    margin: 0.9rem 1rem 0;
    border: 1px solid rgba(245, 208, 138, 0.6);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    justify-content: center;
    background: linear-gradient(180deg, rgba(27, 91, 49, 0.88), rgba(12, 64, 35, 0.92));
    color: #ffd991;
  }

  .slide-overlay {
    width: 100%;
    padding: 1.2rem;
  }

  .slider-section {
    padding-top: 0;
  }

  .slider-track {
    height: 500px;
  }

  .utility-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .utility-links a {
    font-size: 0.7rem;
    padding: 0.22rem 0.38rem;
  }

  .news-popup {
    padding: 1rem;
    place-items: center;
    background: rgba(7, 26, 24, 0.55);
  }

  .news-popup-handle {
    display: none;
  }

  .news-popup-dialog {
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    border-radius: 22px;
    overflow-y: auto;
    transform: translateY(0);
  }

  .news-popup-dialog > *:not(.news-popup-close) {
    padding-inline: 1.15rem;
  }

  .news-popup h3 {
    font-size: 1.18rem;
    padding-right: 2.2rem;
  }

  .news-popup-label {
    padding-top: 1.15rem;
  }

  .news-popup-list li {
    padding: 0.72rem 0.82rem;
  }

  .news-popup-links {
    padding-bottom: 1.8rem;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding-top: 2px;
  }

  .topbar-identity {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .topbar-identity::before {
    width: 50px;
    height: 50px;
    margin: 0.45rem 0 0.45rem 0.5rem;
  }

  .utility-links {
    padding: 0.2rem 0.35rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .utility-links a {
    font-size: 0.66rem;
    padding: 0.18rem 0.3rem;
  }

  .utility-title {
    font-size: clamp(16px, 5.6vw, 20px);
    padding: 0.38rem 0.45rem 0.38rem 0.65rem;
  }

  .topbar-nav {
    padding: 0.62rem 0.55rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .menu-toggle-icon {
    width: 22px;
    height: 22px;
  }

  .mobile-cms-link {
    font-size: clamp(0.82rem, 3.7vw, 0.95rem);
  }

  #about {
    padding-top: 1.2rem;
  }

  #about .split {
    gap: 1rem;
  }

  #about .about-copy {
    padding: 1.1rem 1rem;
    border-radius: 18px;
  }

  #about .about-copy .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  #about .about-copy h2 {
    font-size: clamp(1.58rem, 7.2vw, 1.95rem);
    line-height: 1.02;
    max-width: 11ch;
    margin-bottom: 0.8rem;
  }

  #about .about-copy > p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  #about .about-note {
    border-left-width: 3px;
    border-radius: 14px;
    padding: 0.9rem 0.95rem;
  }

  #about .about-note strong {
    display: block;
    margin-bottom: 0.18rem;
  }

  #about .about-metrics {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  #about .about-metrics article {
    padding: 0.9rem 0.92rem;
  }

  #about .feature-stack {
    gap: 0.75rem;
  }

  #about .feature-card {
    padding: 0.95rem 0.9rem 0.95rem 3.3rem;
    border-radius: 15px;
  }

  #about .feature-icon {
    width: 30px;
    height: 30px;
    left: 0.85rem;
    top: 0.88rem;
  }

  .vc-copy h2 span {
    margin-left: 0;
    display: block;
    margin-top: 0.1rem;
  }

  .vc-points li {
    grid-template-columns: 30px 1fr;
    gap: 0.5rem;
  }

  .vc-point-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 0.58rem;
  }

  .vc-quote-badge {
    position: static;
    width: 100%;
    margin-top: 0.9rem;
    font-size: 0.8rem;
    padding: 0.5rem 0.58rem;
  }

  .vc-photo {
    min-height: 220px;
    max-height: 260px;
  }

  .hero {
    min-height: auto;
    padding: 1.25rem 0 2.4rem;
  }

  .hero .container.hero-grid {
    padding-inline: 0.7rem;
  }

  .hero-content,
  .hero-card {
    border-radius: 16px;
    padding: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .hero-card h2 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1rem;
  }

  .cta {
    padding-top: 1.6rem;
  }

  .cta-box {
    padding: 0.82rem;
    border-radius: 18px;
  }

  .cta-copy,
  .cta-side {
    padding: 0.75rem;
    border-radius: 14px;
  }

  .cta-copy h2 {
    font-size: clamp(1.35rem, 8vw, 1.72rem);
  }

  .cta-points span {
    font-size: 0.83rem;
    padding: 0.56rem 0.74rem;
  }

  .cta-visual {
    min-height: 132px;
    border-radius: 12px;
  }

  .cta-stat {
    padding: 0.8rem 0.85rem;
  }

  .cta-action {
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .card-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 0.72rem;
  }

  .stats article {
    padding: 1rem;
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
  }

  .stat-icon {
    width: 42px;
    height: 42px;
  }

  .stats h3 {
    font-size: 1.76rem;
  }

  .stats p {
    font-size: 0.97rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .brand {
    padding: 0.7rem 0.75rem;
    gap: 0.55rem;
  }

  .brand-mark {
    width: 52px;
  }

  .brand-text {
    padding-left: 0.55rem;
  }

  .brand-text strong {
    font-size: clamp(0.92rem, 4vw, 1.12rem);
  }

  .brand-text small {
    font-size: clamp(0.62rem, 2.5vw, 0.76rem);
    letter-spacing: 0.1em;
  }

  .mobile-cms-link {
    margin-right: 0;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    margin-left: 0;
  }

  .nav {
    width: min(88vw, 320px);
  }

  .mobile-menu {
    width: min(90vw, 330px);
  }

  .news-popup {
    padding: 1rem;
    place-items: center;
  }

  .news-popup-dialog {
    width: 100%;
    max-width: 420px;
    max-height: 88vh;
    border-radius: 20px;
  }
}

@media (max-width: 380px) {
  .hero .container.hero-grid,
  #about .container,
  .stats-section .container,
  .updates-section .container {
    padding-inline: 0.55rem;
  }

  .stats article {
    padding: 0.88rem 0.8rem;
  }

  .stats h3 {
    font-size: 1.56rem;
  }

  .stats p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .mobile-menu {
    width: min(94vw, 330px);
  }

  .news-popup-dialog > *:not(.news-popup-close) {
    padding-inline: 1rem;
  }

  .news-popup h3 {
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
    padding-right: 2rem;
  }

  .news-popup-list {
    gap: 0.42rem;
  }

  .news-popup-list li {
    padding: 0.62rem 0.72rem;
    border-radius: 10px;
  }

  .news-popup-list a {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .news-popup-links {
    margin-top: 0.65rem;
    padding-bottom: 1.8rem;
    padding-top: 0.65rem;
    gap: 0.42rem;
  }

  .news-popup-links a {
    font-size: 0.75rem;
    padding: 0.38rem 0.66rem;
  }

  .news-popup-close {
    width: 30px;
    height: 30px;
    top: 0.52rem;
    right: 0.52rem;
  }

  .slider-track {
    height: 500px;
  }

  .slider-controls {
    bottom: 0.8rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }

  .slider-arrow-left {
    left: 0.6rem;
  }

  .slider-arrow-right {
    right: 0.6rem;
  }
}

/* ============================================================
   ACADEMICS PAGE
   ============================================================ */

/* ── Hero / Breadcrumb ─────────────────────────────────── */

/* --- REWRITTEN HERO SECTION --- */
/* --- HERO SECTION RESTORED TO MATCH SCREENSHOT --- */
.academics-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('../images/hu-breadcrumb-bg.png') center center no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  z-index: 1;
}
.academics-hero .hero-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
}
.academics-hero .hero-orb-1 {
  left: -60px;
  top: -60px;
  background: rgba(12, 95, 85, 0.13);
}
.academics-hero .hero-orb-2 {
  right: -60px;
  bottom: -60px;
  background: rgba(195, 142, 47, 0.13);
}
.academics-hero .breadcrumb {
  background: rgba(0,0,0,0.32);
  border-radius: 16px;
  padding: 0.6em 1.6em;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  margin-bottom: 2.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #fff;
}
.academics-hero .breadcrumb .current {
  color: #f5d08a;
  font-weight: 700;
}
.academics-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.academics-hero-title-wrap {
  margin-bottom: 1.4rem;
}
.academics-hero-pre {
  display: block;
  font-family: 'Lora', serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: #e7d7a7;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.academics-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  color: #fffbe8;
  letter-spacing: 0.045em;
  line-height: 1.05;
  text-shadow: 0 4px 32px rgba(0,0,0,0.38), 0 1px 0 #c38e2f, 0 0 18px #c38e2f;
  margin-bottom: 0.2em;
}
.academics-hero-rule {
  margin-top: 0.8rem;
  height: 3px;
  width: 72px;
  background: linear-gradient(90deg, #f5d08a, #c38e2f);
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
}
.academics-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 1.1rem;
  color: #fffbe8;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.academics-hero-meta .dot-sep {
  color: #f5d08a;
  font-size: 1.1rem;
}
.academics-hero svg {
  display: inline-block !important;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

.academics-hero .hero-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
}
.academics-hero .hero-orb-1 {
  left: -60px;
  top: -60px;
  background: rgba(12, 95, 85, 0.13);
}
.academics-hero .hero-orb-2 {
  right: -60px;
  bottom: -60px;
  background: rgba(195, 142, 47, 0.13);
}
.academics-hero .breadcrumb {
  background: rgba(0,0,0,0.32);
  border-radius: 16px;
  padding: 0.6em 1.6em;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  margin-bottom: 2.2rem;
  z-index: 3;
}
.academics-hero svg {
  display: inline-block !important;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}
.academics-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

/* breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  font-size: 0.88rem;
}
.breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  font-weight: 500;
}
.breadcrumb a:hover {
  color: #f5d08a;
}
.breadcrumb .sep {
  color: rgba(255,255,255,0.35);
  font-size: 1rem;
  line-height: 1;
}
.breadcrumb .current {
  color: #f5d08a;
  font-weight: 600;
}

/* hero title */
.academics-hero-title-wrap {
  margin-bottom: 1.4rem;
}
.academics-hero-pre {
  display: block;
  font-family: 'Lora', serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.academics-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  color: #fffbe8;
  letter-spacing: 0.045em;
  line-height: 1.05;
  text-shadow: 0 4px 32px rgba(0,0,0,0.38), 0 1px 0 #c38e2f;
  margin-bottom: 0.2em;
}
.academics-hero-rule {
  margin-top: 0.8rem;
  height: 3px;
  width: 72px;
  background: linear-gradient(90deg, #f5d08a, #c38e2f);
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
}

/* hero meta stats */
.academics-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.academics-hero-meta .dot-sep {
  color: #f5d08a;
  font-size: 0.7rem;
}

/* Global hero visibility enhancement */
.academics-hero {
  isolation: isolate;
}

.academics-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 27, 26, 0.42) 0%, rgba(7, 27, 26, 0.58) 100%);
  pointer-events: none;
}

.academics-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(195, 142, 47, 0.16), transparent 46%),
    radial-gradient(circle at 84% 80%, rgba(12, 95, 85, 0.20), transparent 44%);
}

.academics-hero-content {
  position: relative;
  z-index: 3;
}

.academics-hero .breadcrumb {
  background: rgba(7, 27, 26, 0.62);
  border: 1px solid rgba(245, 208, 138, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
}

.academics-hero-title-wrap {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.academics-hero h1 {
  color: #fffef5;
  text-shadow: 0 7px 22px rgba(0, 0, 0, 0.58), 0 1px 0 #c38e2f;
}

.academics-hero-pre {
  color: #f8ddb1;
}

.academics-hero-meta {
  background: rgba(7, 27, 26, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.44rem 0.95rem;
  color: #fff5df;
  backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
  .academics-hero .breadcrumb {
    margin-left: 0.6rem;
    margin-right: 0.6rem;
  }

  .academics-hero-meta {
    margin-left: 0.6rem;
    margin-right: 0.6rem;
  }
}

/* ── Intro Section ─────────────────────────────────────── */
.academics-intro {
  padding: 4.5rem 0 2.5rem;
  text-align: center;
}
.academics-intro-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #0f2926;
  margin: 0.7rem 0 1.4rem;
  line-height: 1.2;
}
.academics-intro-text {
  /* max-width: 740px; */
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: #3d5a57;
  line-height: 1.82;
  font-family: 'Lora', serif;
  text-align: justify;
}
.academics-intro-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.academics-intro-badges span {
  padding: 0.42rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid rgba(6, 120, 52, 0.3);
  background: rgba(6, 120, 52, 0.06);
  font-size: 0.82rem;
  font-weight: 600;
  color: #067834;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Faculty Grid ──────────────────────────────────────── */
.faculty-section {
  padding: 1rem 0 5.5rem;
}
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
}

/* ── Faculty Card ──────────────────────────────────────── */
.faculty-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 4px 14px rgba(8, 49, 44, 0.08),
    0 1px 4px rgba(8, 49, 44, 0.04);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.38s ease;
}
.faculty-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 28px 64px rgba(8, 49, 44, 0.18),
    0 6px 18px rgba(8, 49, 44, 0.1);
}

/* Colored band (top portion of card) */
.faculty-card-band {
  position: relative;
  padding: 2rem 1.6rem 4.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  overflow: hidden;
  min-height: 200px;
}
.faculty-card-band .faculty-card-name {
  width: 100%;
}
.faculty-card-band .faculty-card-name a {
  color: inherit;
  text-decoration: none;
}
/* Wave cutout at bottom of band */
.faculty-card-band::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 56px;
  background: #ffffff;
  clip-path: ellipse(58% 100% at 50% 100%);
}
/* Shimmer overlay on hover */
.faculty-card-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.32s ease;
  z-index: 1;
}
.faculty-card:hover .faculty-card-band::before {
  opacity: 1;
}

/* Band icon box */
.fc-icon {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.18);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(4px);
}
.fc-icon svg {
  width: 30px;
  height: 30px;
  color: #ffffff;
  stroke: currentColor;
}
.fc-label {
  position: relative;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
/* Decorative large numeral */
.fc-numeral {
  position: absolute;
  bottom: 1.6rem; right: 1.2rem;
  z-index: 0;
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  user-select: none;
}

/* Per-card band gradients */
.faculty-card--bio .faculty-card-band {
  background: linear-gradient(140deg, #025c26 0%, #0a9e52 55%, #13cc6b 100%);
}
.faculty-card--natural .faculty-card-band {
  background: linear-gradient(140deg, #054870 0%, #0a7abf 55%, #12a8e0 100%);
}
.faculty-card--arts .faculty-card-band {
  background: linear-gradient(140deg, #6b3e0d 0%, #c38e2f 55%, #e8b44a 100%);
}
.faculty-card--law .faculty-card-band {
  background: linear-gradient(140deg, #25295a 0%, #4a5098 55%, #6a6fd0 100%);
}

/* Card body */
.faculty-card-body {
  padding: 1.2rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.9rem;
}
.faculty-card-band .faculty-card-name {
  position: relative;
  z-index: 2;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.faculty-card-desc {
  font-size: 1rem;
  color: #55706b;
  line-height: 1.65;
}

/* Department list */
.faculty-card-depts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
}
.faculty-card-depts li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.97rem;
  color: #324961;
  padding: 0.34rem 0.65rem;
  border-radius: 7px;
  border-left: 2px solid transparent;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.faculty-card-depts li a {
  color: inherit;
  text-decoration: none;
}
.faculty-card-depts li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  flex-shrink: 0;
}
/* Per-card dept hover colours */
.faculty-card--bio   .faculty-card-depts li:hover { background: rgba(6,120,52,0.07);   border-color: #067834; color: #067834; }
.faculty-card--natural .faculty-card-depts li:hover { background: rgba(10,122,191,0.07); border-color: #0a7abf; color: #0a7abf; }
.faculty-card--arts  .faculty-card-depts li:hover { background: rgba(195,142,47,0.09); border-color: #c38e2f; color: #9a6a14; }
.faculty-card--law   .faculty-card-depts li:hover { background: rgba(74,80,152,0.07);  border-color: #4a5098; color: #4a5098; }

.faculty-card-more {
  font-size: 0.78rem;
  color: #8aada8;
  font-style: italic;
  padding-left: 0.65rem;
  margin-top: -0.3rem;
}

/* CTA button at card bottom */
.faculty-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  margin-top: auto;
  padding: 0.62rem 1.3rem;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faculty-card-cta .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.faculty-card:hover .faculty-card-cta .arrow {
  transform: translateX(5px);
}
/* CTA per-card colours */
.faculty-card--bio    .faculty-card-cta { background: rgba(6,120,52,0.1);   color: #067834; }
.faculty-card--bio    .faculty-card-cta:hover { background: #067834;  color: #ffffff; }
.faculty-card--natural .faculty-card-cta { background: rgba(10,122,191,0.1); color: #0a7abf; }
.faculty-card--natural .faculty-card-cta:hover { background: #0a7abf; color: #ffffff; }
.faculty-card--arts   .faculty-card-cta { background: rgba(195,142,47,0.11); color: #9a6a14; }
.faculty-card--arts   .faculty-card-cta:hover { background: #c38e2f; color: #ffffff; }
.faculty-card--law    .faculty-card-cta { background: rgba(74,80,152,0.1);  color: #4a5098; }
.faculty-card--law    .faculty-card-cta:hover { background: #4a5098; color: #ffffff; }

/* active nav item indicator */
.nav-item--active > .mega-trigger {
  color: #067834;
  font-weight: 700;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
}
@media (max-width: 640px) {
  .faculty-grid {
    grid-template-columns: 1fr;
  }
  .academics-hero {
    min-height: 340px;
    padding-bottom: 2.8rem;
  }
  .academics-hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .academics-intro {
    padding: 3rem 0 1.5rem;
  }
  .academics-intro-text {
    font-size: 0.97rem;
  }
  .academics-intro-badges {
    gap: 0.5rem;
  }
  .faculty-section {
    padding-bottom: 3.5rem;
  }
}


/* ════════════════════════════════════════════════════════
   FACULTY PAGE  —  Biological & Health Sciences
   (reusable for any faculty page)
════════════════════════════════════════════════════════ */

/* ── Faculty Hero ──────────────────────────────────────── */
.fp-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 4rem 0 3.2rem;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(2,30,18,0.62) 0%, rgba(4,80,42,0.56) 50%, rgba(8,30,25,0.68) 100%),
    url('https://images.unsplash.com/photo-1530026405186-ed1f139313f3?auto=format&fit=crop&w=2200&q=80') center / cover no-repeat;
}
.fp-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #0a9e52 20%, #f5d08a 50%, #0a9e52 80%, transparent 100%);
}
.fp-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.fp-hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(10,158,82,0.35), transparent 70%);
  top: -220px; right: -120px;
}
.fp-hero-orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(195,142,47,0.28), transparent 70%);
  bottom: -100px; left: -80px;
}
.fp-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.fp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1.4rem 1.2rem;
  border-radius: 24px;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.fp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  font-size: 0.88rem;
  flex-wrap: wrap;
  text-align: center;
}
.fp-breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  font-weight: 500;
}
.fp-breadcrumb a:hover { color: #f5d08a; }
.fp-breadcrumb .sep {
  color: rgba(255,255,255,0.35);
  font-size: 1rem;
  line-height: 1;
}
.fp-breadcrumb .current {
  color: #f5d08a;
  font-weight: 600;
}
.fp-hero-label {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.fp-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 28px rgba(0,0,0,0.4);
  margin-bottom: 1.2rem;
}
.fp-hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 58ch;
  font-family: 'Lora', serif;
  margin: 0 auto 2rem;
}
.fp-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.fp-hero-pills span {
  padding: 0.38rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

/* ── Dean's Message ────────────────────────────────────── */
.fp-dean {
  padding: 5rem 0;
  background: #f4f8f7;
}
.fp-dean-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(6,80,42,0.10),
    0 2px 8px rgba(6,80,42,0.06);
}
.fp-dean-photo-col {
  background: linear-gradient(160deg, #025c26 0%, #0a9e52 60%, #13cc6b 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem 2.5rem;
  gap: 1.6rem;
}
.fp-dean-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  width: 100%;
}
.fp-dean-photo-wrap img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.fp-dean-photo-placeholder {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 3px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.fp-dean-photo-placeholder svg {
  width: 70px; height: 70px;
}
.fp-dean-name-plate {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.fp-dean-name-plate strong {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.fp-dean-name-plate span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.fp-dean-qual {
  font-size: 0.74rem !important;
  color: rgba(255,255,255,0.55) !important;
  font-style: italic;
}
.fp-dean-accent-bar {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #f5d08a 0%, #c38e2f 50%, transparent 100%);
}
.fp-dean-message-col {
  background: #ffffff;
  padding: 3.2rem 3.5rem;
}
.fp-dean-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #0f2926;
  line-height: 1.15;
  margin: 0.5rem 0 1.8rem;
}
.fp-dean-heading span {
  color: #067834;
  display: block;
  font-size: 0.85em;
  font-style: italic;
  font-family: 'Lora', serif;
  font-weight: 600;
}
.fp-dean-quote {
  margin: 0 0 1.8rem;
  padding: 1.2rem 1.6rem;
  border-left: 4px solid #0a9e52;
  background: rgba(10,158,82,0.05);
  border-radius: 0 12px 12px 0;
  font-family: 'Lora', serif;
  font-size: 1.02rem;
  font-style: italic;
  color: #1a4035;
  line-height: 1.75;
}
.fp-dean-body {
  font-size: 0.97rem;
  color: #3d5a57;
  line-height: 1.82;
  margin-bottom: 1rem;
  font-family: 'Lora', serif;
}
.fp-dean-sig {
  margin-top: 2rem;
}
.fp-dean-sig-line {
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, #0a9e52, #f5d08a);
  border-radius: 2px;
  margin-bottom: 1rem;
}
.fp-dean-sig-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f2926;
  margin-bottom: 0.25rem;
}
.fp-dean-sig-title {
  font-size: 0.84rem;
  color: #55706b;
  line-height: 1.55;
}

/* ── Impact Stats ──────────────────────────────────────── */
.fp-impact {
  padding: 5.5rem 0;
  background: #ffffff;
}
.fp-impact-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.fp-impact-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #0f2926;
  line-height: 1.2;
  margin: 0.6rem 0 0.9rem;
}
.fp-impact-sub {
  font-size: 1rem;
  color: #55706b;
  max-width: 62ch;
  margin: 0 auto;
  line-height: 1.75;
  font-family: 'Lora', serif;
}
.fp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.fp-stat-card {
  background: #f4f8f7;
  border-radius: 18px;
  padding: 2rem 1.8rem;
  border: 1px solid rgba(6,120,52,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.fp-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0a9e52, #f5d08a);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.fp-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6,80,42,0.12);
}
.fp-stat-card:hover::before { opacity: 1; }
.fp-stat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.fp-stat-icon svg {
  width: 22px; height: 22px;
}
.fp-stat-icon--green  { background: rgba(6,120,52,0.12);   color: #067834; }
.fp-stat-icon--gold   { background: rgba(195,142,47,0.12); color: #9a6a14; }
.fp-stat-icon--teal   { background: rgba(6,95,85,0.12);    color: #0c5f55; }
.fp-stat-icon--purple { background: rgba(74,80,152,0.1);   color: #4a5098; }
.fp-stat-num {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0c5f55;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.fp-stat-num span {
  font-size: 1.6rem;
  color: #0a9e52;
}
.fp-stat-label {
  font-size: 0.97rem;
  font-weight: 700;
  color: #0f2926;
  margin-bottom: 0.3rem;
}
.fp-stat-desc {
  font-size: 0.82rem;
  color: #55706b;
  line-height: 1.5;
}
.fp-impact-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(6,120,52,0.12);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 1rem;
}
.fp-impact-bar-item {
  background: #f4f8f7;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f2926;
  transition: background 0.2s;
}
.fp-impact-bar-item:hover { background: rgba(6,120,52,0.06); }
.fp-impact-bar-item svg {
  width: 18px; height: 18px;
  color: #067834;
  flex-shrink: 0;
}

/* ── Departments ───────────────────────────────────────── */
.fp-depts {
  padding: 5.5rem 0 4rem;
  background: #f4f8f7;
}
.fp-depts-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.fp-depts-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #0f2926;
  line-height: 1.2;
  margin: 0.6rem 0 0.9rem;
}
.fp-depts-sub {
  font-size: 1rem;
  color: #55706b;
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.75;
  font-family: 'Lora', serif;
}
.fp-dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.fp-dept-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(6,80,42,0.07),
    0 1px 4px rgba(6,80,42,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.36s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.36s ease;
}
.fp-dept-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(6,80,42,0.15), 0 4px 16px rgba(6,80,42,0.09);
}
.fp-dept-card-top {
  position: relative;
  padding: 2rem 1.8rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  overflow: hidden;
  min-height: 140px;
}
.fp-dept-card-head-link {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
.fp-dept-card-top::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 52px;
  background: #ffffff;
  clip-path: ellipse(56% 100% at 50% 100%);
}
.fp-dept-card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.fp-dept-card:hover .fp-dept-card-top::before { opacity: 1; }
/* Per-department gradients */
.fp-dept-card-top--agriculture { background: linear-gradient(140deg, #025c26 0%, #0a9e52 60%, #13cc6b 100%); }
.fp-dept-card-top--biochem     { background: linear-gradient(140deg, #054870 0%, #0a7abf 60%, #12a8e0 100%); }
.fp-dept-card-top--botany      { background: linear-gradient(140deg, #1a4a1a 0%, #3a8a3a 60%, #5cb85c 100%); }
.fp-dept-card-top--biotech     { background: linear-gradient(140deg, #6b1a6b 0%, #a855a8 60%, #cc77cc 100%); }
.fp-dept-card-top--micro       { background: linear-gradient(140deg, #7a3000 0%, #c45200 60%, #e07840 100%); }
.fp-dept-card-top--zoology     { background: linear-gradient(140deg, #1a3a5c 0%, #2e6da4 60%, #4a9fd4 100%); }
.fp-dept-card-icon {
  position: relative;
  z-index: 2;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.18);
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.fp-dept-card-icon svg {
  width: 22px; height: 22px;
  stroke: #ffffff;
}
.fp-dept-card-num {
  position: absolute;
  bottom: 1.4rem; right: 1.2rem;
  z-index: 0;
  font-family: 'Cinzel', serif;
  font-size: 3.4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.13);
  line-height: 1;
  user-select: none;
}
.fp-dept-card-top .fp-dept-card-name {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-family: 'Cinzel', serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.28;
  text-shadow: 0 1px 10px rgba(0,0,0,0.28);
}
.fp-dept-card-body {
  padding: 1.4rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}
.fp-dept-card-desc {
  font-size: 0.9rem;
  color: #55706b;
  line-height: 1.72;
  font-family: 'Lora', serif;
}
.fp-dept-card-programs {
  background: #f4f8f7;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(6,120,52,0.1);
}
.fp-dept-card-programs-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #067834;
  margin-bottom: 0.5rem;
}
.fp-dept-card-programs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
}
.fp-dept-card-programs ul li {
  font-size: 0.86rem;
  color: #324961;
  padding-left: 0.9rem;
  position: relative;
}
.fp-dept-card-programs ul li a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fp-dept-card-programs ul li a:hover {
  color: #067834;
}
.fp-dept-card-programs ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #067834;
  font-weight: 700;
}
.fp-dept-card-tags {
  display: flex;
  flex-wrap: wrap;
  content: "→";
  font-size: 1.1rem;
  color: #a8e8cc;
  font-weight: 600;
  margin-right: 0.38rem;
  flex-shrink: 0;
  position: static;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
  gap: 0.4rem;
}
.fp-dept-card-tags span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
  background: rgba(6,120,52,0.07);
  border: 1px solid rgba(6,120,52,0.15);
  color: #067834;
  letter-spacing: 0.02em;
}
.fp-dept-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.65rem 1.3rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #067834;
  background: rgba(6,120,52,0.08);
  border: 1.5px solid rgba(6,120,52,0.2);
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.fp-dept-card-cta svg {
  width: 16px; height: 16px;
  transition: transform 0.25s ease;
}
.fp-dept-card-cta:hover {
  background: #067834;
  color: #ffffff;
  border-color: #067834;
}
.fp-dept-card-cta:hover svg { transform: translateX(4px); }
/* Per-card CTA accent colours */
.fp-dept-card:has(.fp-dept-card-top--biochem) .fp-dept-card-cta  { color:#0a7abf; background:rgba(10,122,191,0.08); border-color:rgba(10,122,191,0.2); }
.fp-dept-card:has(.fp-dept-card-top--biochem) .fp-dept-card-cta:hover { background:#0a7abf; color:#fff; border-color:#0a7abf; }
.fp-dept-card:has(.fp-dept-card-top--biotech)  .fp-dept-card-cta { color:#a855a8; background:rgba(168,85,168,0.08); border-color:rgba(168,85,168,0.2); }
.fp-dept-card:has(.fp-dept-card-top--biotech)  .fp-dept-card-cta:hover { background:#a855a8; color:#fff; border-color:#a855a8; }
.fp-dept-card:has(.fp-dept-card-top--micro)    .fp-dept-card-cta { color:#c45200; background:rgba(196,82,0,0.08); border-color:rgba(196,82,0,0.2); }
.fp-dept-card:has(.fp-dept-card-top--micro)    .fp-dept-card-cta:hover { background:#c45200; color:#fff; border-color:#c45200; }
.fp-dept-card:has(.fp-dept-card-top--zoology)  .fp-dept-card-cta { color:#2e6da4; background:rgba(46,109,164,0.08); border-color:rgba(46,109,164,0.2); }
.fp-dept-card:has(.fp-dept-card-top--zoology)  .fp-dept-card-cta:hover { background:#2e6da4; color:#fff; border-color:#2e6da4; }

/* Departments footer CTA */
.fp-depts-footer {
  margin-top: 3rem;
  text-align: center;
}
.fp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #067834;
  text-decoration: none;
  padding: 0.75rem 1.8rem;
  border: 2px solid rgba(6,120,52,0.25);
  border-radius: 50px;
  transition: all 0.28s ease;
}
.fp-back-link svg {
  width: 16px; height: 16px;
  transition: transform 0.25s ease;
}
.fp-back-link:hover {
  background: #067834;
  color: #ffffff;
  border-color: #067834;
}
.fp-back-link:hover svg { transform: translateX(-4px); }

/* ── Faculty Page Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .fp-dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fp-impact-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .fp-dean-card {
    grid-template-columns: 1fr;
  }
  .fp-dean-photo-col {
    padding: 2.5rem 2rem;
    flex-direction: row;
    justify-content: flex-start;
    gap: 2rem;
  }
  .fp-dean-photo-wrap { flex-direction: row; align-items: center; }
  .fp-dean-name-plate { text-align: left; }
  .fp-dean-accent-bar { width: 100%; height: 4px; right: 0; bottom: 0; top: auto; }
  .fp-dean-message-col { padding: 2.5rem 2rem; }
}
@media (max-width: 640px) {
  .fp-hero { padding: 3.3rem 0 2.5rem; min-height: auto; }
  .fp-hero-inner { padding: 0.8rem 0.7rem 1rem; }
  .fp-breadcrumb { font-size: 0.82rem; margin-bottom: 1.2rem; }
  .fp-hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .fp-dept-grid { grid-template-columns: 1fr; }
  .fp-stats-grid { grid-template-columns: 1fr; }
  .fp-impact-bar { grid-template-columns: 1fr; }
  .fp-dean-photo-col { flex-direction: column; }
  .fp-dean-photo-wrap { flex-direction: column; }
  .fp-dean-name-plate { text-align: center; }
}

/* ── Department Page (Agriculture) ────────────────────── */
.dept-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(2, 30, 18, 0.78), rgba(6, 80, 42, 0.58)),
    url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2200&q=80') center/cover no-repeat;
}

.dept-gallery {
  padding-top: 3.4rem;
}

.dept-gallery-head,
.dept-section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.dept-gallery-head h2,
.dept-section-head h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3.3vw, 2.2rem);
  color: #0f2926;
}

.dept-gallery-swiper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(6, 120, 52, 0.16);
  box-shadow: 0 18px 38px rgba(8, 49, 44, 0.14);
}

.dept-gallery-slide {
  position: relative;
  min-height: clamp(280px, 46vw, 480px);
}

.dept-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dept-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.2rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
}

.dept-gallery-prev,
.dept-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 34, 26, 0.64);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.dept-gallery-prev { left: 12px; }
.dept-gallery-next { right: 12px; }

.dept-gallery-pagination {
  position: absolute;
  bottom: 12px !important;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.dept-gallery-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.62);
  opacity: 1;
}

.dept-gallery-pagination .swiper-pagination-bullet-active {
  background: #f5d08a;
}

.dept-gallery-fallback img {
  width: 100%;
  border-radius: 16px;
}

.dept-quick-menu-wrap {
  background:
    radial-gradient(circle at 100% 0%, rgba(6,120,52,0.13), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(195,142,47,0.14), transparent 42%),
    #f6fbf8;
  padding: 0.8rem 0 0.65rem;
}

.dept-quick-menu-wrap .container {
  display: block;
}

.dept-quick-menu {
  width: 100%;
  background: linear-gradient(150deg, #ffffff, #f7fdf9);
  border: 1px solid rgba(6, 120, 52, 0.2);
  border-radius: 14px;
  padding: 0.72rem 0.8rem;
  box-shadow: 0 12px 26px rgba(8, 49, 44, 0.12);
  position: relative;
  top: auto;
  z-index: 12;
}

.dept-quick-kicker {
  display: none;
}

.dept-quick-menu h2 {
  display: none;
}

.dept-quick-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.08rem;
}

.dept-quick-links a {
  text-decoration: none;
  color: #13413a;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(6, 120, 52, 0.2);
  border-radius: 999px;
  padding: 0.42rem 0.65rem;
  background: #ffffff;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dept-quick-links a:hover {
  transform: translateY(-2px);
  color: #067834;
  border-color: rgba(6, 120, 52, 0.38);
  box-shadow: 0 8px 16px rgba(8, 49, 44, 0.14);
}

.dept-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
}

.dept-about-card {
  background: #ffffff;
  border: 1px solid rgba(6, 120, 52, 0.14);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 10px 28px rgba(8, 49, 44, 0.08);
}

.dept-about-card--impact-full {
  margin-top: 1.4rem;
  background: linear-gradient(145deg, rgba(195, 142, 47, 0.12), rgba(6, 120, 52, 0.06));
  border-color: rgba(195, 142, 47, 0.26);
}

.dept-about-card h2 {
  font-family: 'Cinzel', serif;
  margin-bottom: 0.9rem;
  color: #0f2926;
}

.dept-about-card p {
  color: #42605b;
  line-height: 1.76;
  margin-bottom: 0.8rem;
}

.dept-vm-grid {
  display: grid;
  gap: 1rem;
}

.dept-mini-card {
  position: relative;
  background: linear-gradient(145deg, rgba(6, 120, 52, 0.08), rgba(195, 142, 47, 0.08));
  border: 1px solid rgba(6, 120, 52, 0.16);
  border-radius: 16px;
  padding: 1.2rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dept-mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #067834, #f5d08a);
}

.dept-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(8, 49, 44, 0.14);
}

.dept-mini-card--vision {
  background: linear-gradient(145deg, rgba(6, 120, 52, 0.16), rgba(6, 120, 52, 0.07));
}

.dept-mini-card--mission {
  background: linear-gradient(145deg, rgba(10, 122, 191, 0.14), rgba(10, 122, 191, 0.06));
  border-color: rgba(10, 122, 191, 0.2);
}

.dept-mini-card--impact {
  background: linear-gradient(145deg, rgba(195, 142, 47, 0.18), rgba(195, 142, 47, 0.07));
  border-color: rgba(195, 142, 47, 0.26);
}

.dept-mini-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: #0f2926;
}

.dept-mini-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.04rem;
  color: #0f2926;
  margin-bottom: 0.45rem;
}

.dept-mini-card p {
  color: #35524d;
  line-height: 1.68;
}

.dept-hod-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(6, 120, 52, 0.14);
  box-shadow: 0 14px 30px rgba(8, 49, 44, 0.1);
  overflow: hidden;
}

.dept-hod-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.dept-hod-copy {
  padding: 1.5rem 1.6rem;
}

.dept-hod-copy h2 {
  font-family: 'Cinzel', serif;
  margin-bottom: 0.7rem;
}

.dept-hod-copy p {
  color: #3f5e59;
  line-height: 1.72;
  margin-bottom: 0.72rem;
}

.dept-hod-signature {
  margin-top: 1rem;
  display: grid;
  gap: 0.2rem;
}

.dept-hod-signature strong {
  color: #0f2926;
  font-size: 0.98rem;
}

.dept-hod-signature span {
  color: #55706b;
  font-size: 0.86rem;
}

.dept-stats {
  background:
    radial-gradient(circle at 10% 10%, rgba(6,120,52,0.12), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(195,142,47,0.16), transparent 38%),
    #eff8f5;
}

.dept-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.dept-stat-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(6, 120, 52, 0.18);
  border-radius: 16px;
  padding: 1.05rem 1rem 1.25rem;
  text-align: left;
  box-shadow: 0 15px 30px rgba(8, 49, 44, 0.11);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dept-stat-card--students {
  background: linear-gradient(145deg, rgba(6,120,52,0.2), #ffffff 58%);
  border-color: rgba(6,120,52,0.26);
}

.dept-stat-card--faculty {
  background: linear-gradient(145deg, rgba(10,122,191,0.2), #ffffff 58%);
  border-color: rgba(10,122,191,0.24);
}

.dept-stat-card--labs {
  background: linear-gradient(145deg, rgba(195,142,47,0.24), #ffffff 58%);
  border-color: rgba(195,142,47,0.3);
}

.dept-stat-card--pubs {
  background: linear-gradient(145deg, rgba(74,80,152,0.2), #ffffff 58%);
  border-color: rgba(74,80,152,0.24);
}

.dept-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 36px rgba(8, 49, 44, 0.16);
}

.dept-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #067834, #f5d08a);
}

.dept-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.dept-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: linear-gradient(145deg, #067834, #0b9d52);
  box-shadow: 0 8px 16px rgba(6, 120, 52, 0.25);
}

.dept-stat-card--faculty .dept-stat-icon {
  background: linear-gradient(145deg, #0a7abf, #0e95e8);
  box-shadow: 0 8px 16px rgba(10, 122, 191, 0.24);
}

.dept-stat-card--labs .dept-stat-icon {
  background: linear-gradient(145deg, #b77a15, #d19833);
  box-shadow: 0 8px 16px rgba(183, 122, 21, 0.24);
}

.dept-stat-card--pubs .dept-stat-icon {
  background: linear-gradient(145deg, #4a5098, #6e76c7);
  box-shadow: 0 8px 16px rgba(74, 80, 152, 0.24);
}

.dept-stat-trend {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0c5f55;
  background: rgba(6, 120, 52, 0.08);
  border: 1px solid rgba(6, 120, 52, 0.16);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.dept-stat-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: #067834;
  line-height: 1.05;
}

.dept-stat-card p {
  color: #294541;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.dept-stat-card small {
  display: block;
  margin-top: 0.38rem;
  color: #55706b;
  font-size: 0.76rem;
  line-height: 1.45;
}

.dept-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dept-program-card {
  background: #ffffff;
  border: 1px solid rgba(6, 120, 52, 0.18);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 12px 24px rgba(8, 49, 44, 0.11);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.dept-program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #067834, #f5d08a);
}

.dept-program-card::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  top: -45px;
  right: -50px;
  border-radius: 50%;
  opacity: 0.28;
  pointer-events: none;
}

.dept-program-card:nth-child(1) {
  background: linear-gradient(160deg, rgba(6,120,52,0.2), #ffffff 52%);
}

.dept-program-card:nth-child(1)::after {
  background: radial-gradient(circle, rgba(6,120,52,0.5), transparent 68%);
}

.dept-program-card:nth-child(2) {
  background: linear-gradient(160deg, rgba(10,122,191,0.22), #ffffff 52%);
  border-color: rgba(10,122,191,0.26);
}

.dept-program-card:nth-child(2)::after {
  background: radial-gradient(circle, rgba(10,122,191,0.55), transparent 68%);
}

.dept-program-card:nth-child(3) {
  background: linear-gradient(160deg, rgba(195,142,47,0.26), #ffffff 52%);
  border-color: rgba(195,142,47,0.28);
}

.dept-program-card:nth-child(3)::after {
  background: radial-gradient(circle, rgba(195,142,47,0.55), transparent 68%);
}

.dept-program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 36px rgba(8, 49, 44, 0.17);
}

.dept-program-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: #0f2926;
}

.dept-program-duration {
  color: #067834;
  font-weight: 700;
  margin: 0.5rem 0 0.72rem;
}

.dept-program-card ul {
  margin: 0;
  padding-left: 1rem;
  color: #3f5e59;
  line-height: 1.75;
}

.dept-program-impact {
  margin-top: 0.85rem;
  padding: 0.65rem 0.78rem;
  border-radius: 10px;
  border: 1px solid rgba(6, 120, 52, 0.24);
  background: linear-gradient(90deg, rgba(6,120,52,0.11), rgba(245,208,138,0.18));
  color: #294541;
  font-size: 0.82rem;
  line-height: 1.55;
}

.dept-program-readmore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.82rem;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: #067834;
  border-radius: 12px;
  padding: 0.68rem 0.9rem;
  border: 1px solid #067834;
  box-shadow: 0 8px 16px rgba(8, 49, 44, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dept-program-readmore:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 22px rgba(8, 49, 44, 0.22);
  background: #05692d;
}

.dept-program-readmore svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.dept-program-readmore:hover svg {
  transform: translateX(3px);
}

.dept-program-details {
  background:
    radial-gradient(circle at 90% 0%, rgba(10,122,191,0.1), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(6,120,52,0.1), transparent 40%),
    #f7fbfa;
}

.dept-program-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dept-program-detail-card {
  background: #ffffff;
  border: 1px solid rgba(6, 120, 52, 0.16);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(8, 49, 44, 0.08);
  scroll-margin-top: 110px;
}

.dept-program-detail-card h3 {
  margin: 0 0 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: #0f2926;
}

.dept-program-detail-card p {
  margin: 0;
  color: #40615c;
  line-height: 1.7;
  font-size: 0.86rem;
}

.dept-program-detail-card ul {
  margin: 0.65rem 0 0;
  padding-left: 1rem;
  color: #365751;
  line-height: 1.68;
  font-size: 0.83rem;
}

.dept-faculty {
  background:
    radial-gradient(circle at 10% 10%, rgba(6,120,52,0.08), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(195,142,47,0.12), transparent 40%),
    #f8fbfa;
}

.dept-faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.dept-faculty-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(6, 120, 52, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(8, 49, 44, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.dept-faculty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #067834, #f5d08a, #067834);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.dept-faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px rgba(8, 49, 44, 0.16);
}

.dept-faculty-card:hover::before {
  opacity: 1;
}

.dept-faculty-photo {
  height: 210px;
  overflow: hidden;
}

.dept-faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.dept-faculty-card:hover .dept-faculty-photo img {
  transform: scale(1.05);
}

.dept-faculty-body {
  padding: 1rem 1rem 1.1rem;
}

.dept-faculty-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.98rem;
  color: #0f2926;
  line-height: 1.3;
}

.dept-faculty-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.dept-faculty-link:hover {
  color: #067834;
  border-color: rgba(6, 120, 52, 0.35);
}

.dept-faculty-title {
  color: #0a7a42;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.32rem;
}

.dept-faculty-meta {
  color: #55706b;
  font-size: 0.79rem;
  margin-top: 0.3rem;
}

.dept-faculty-tags {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.dept-faculty-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0a7a42;
  background: rgba(6, 120, 52, 0.08);
  border: 1px solid rgba(6, 120, 52, 0.18);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.dept-faculty-social {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(8, 49, 44, 0.22);
}

.social-google {
  color: #ffffff;
  background: linear-gradient(145deg, #db4437, #f4b400);
}

.social-linkedin {
  color: #ffffff;
  background: #0a66c2;
}

.social-scholar {
  color: #ffffff;
  background: #4285f4;
}

.social-facebook {
  color: #ffffff;
  background: #1877f2;
}

.dept-news-announcements {
  background:
    radial-gradient(circle at 100% 0%, rgba(10,122,191,0.1), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(6,120,52,0.1), transparent 40%),
    #f6fbfa;
}

.dept-news-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
}

.dept-news-panel,
.dept-announcements-panel {
  background: #ffffff;
  border: 1px solid rgba(6, 120, 52, 0.14);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(8, 49, 44, 0.08);
}

.dept-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.dept-news-head h3 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 1.02rem;
  color: #0f2926;
}

.dept-news-head a {
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  color: #067834;
  border: 1px solid rgba(6, 120, 52, 0.25);
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
}

.dept-news-list {
  display: grid;
  gap: 0.7rem;
}

.dept-news-item {
  border: 1px solid rgba(6, 120, 52, 0.14);
  border-radius: 12px;
  padding: 0.75rem;
  background: linear-gradient(160deg, rgba(6,120,52,0.05), #ffffff 60%);
}

.dept-news-date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a7a42;
  margin-bottom: 0.28rem;
}

.dept-news-item h4 {
  margin: 0 0 0.3rem;
  color: #0f2926;
  font-size: 0.95rem;
  line-height: 1.35;
}

.dept-news-item p {
  margin: 0;
  color: #42605b;
  font-size: 0.84rem;
  line-height: 1.56;
}

.dept-announcement-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.dept-announcement-list li {
  border: 1px solid rgba(10, 122, 191, 0.16);
  background: linear-gradient(160deg, rgba(10,122,191,0.06), #ffffff 64%);
  border-radius: 12px;
  padding: 0.7rem;
}

.dept-announcement-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a7abf;
  margin-bottom: 0.28rem;
}

.dept-announcement-list p {
  margin: 0;
  color: #3d5d58;
  font-size: 0.84rem;
  line-height: 1.56;
}

.dept-alumni {
  background:
    radial-gradient(circle at 15% 10%, rgba(195,142,47,0.14), transparent 35%),
    radial-gradient(circle at 90% 100%, rgba(6,120,52,0.1), transparent 38%),
    #f9fcfb;
}

.dept-alumni-swiper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.dept-alumni-card {
  background: #ffffff;
  border: 1px solid rgba(6, 120, 52, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(8, 49, 44, 0.1);
}

.dept-alumni-media {
  width: 100%;
  height: clamp(220px, 30vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef5f3 0%, #e0ece9 100%);
}

.dept-alumni-card img {
  width: 100%;
  height: clamp(220px, 30vw, 300px);
  object-fit: cover;
  display: block;
}

.dept-alumni-initial {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #f8f2de;
  background: linear-gradient(135deg, #0f2926 0%, #1f5d45 100%);
  box-shadow: 0 8px 20px rgba(15, 41, 38, 0.28);
}

.dept-alumni-content {
  padding: 0.95rem 1rem 1.05rem;
}

.dept-alumni-content h3 {
  font-family: 'Cinzel', serif;
  margin: 0;
  color: #0f2926;
  font-size: 1rem;
}

.dept-alumni-role {
  margin: 0.35rem 0 0.45rem;
  color: #067834;
  font-size: 0.82rem;
  font-weight: 700;
}

.dept-alumni-content p {
  margin: 0;
  color: #44635e;
  font-size: 0.85rem;
  line-height: 1.58;
}

.dept-alumni-prev,
.dept-alumni-next {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 41, 38, 0.72);
  color: #ffffff;
  font-size: 1.38rem;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
}

.dept-alumni-prev { left: 12px; }
.dept-alumni-next { right: 12px; }

.dept-alumni-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px !important;
  text-align: center;
  z-index: 3;
}

.dept-alumni-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.dept-alumni-pagination .swiper-pagination-bullet-active {
  background: #f5d08a;
}

.dept-alumni-department .dept-alumni-swiper {
  padding-bottom: 34px;
}

.dept-alumni-department .dept-alumni-pagination {
  bottom: 2px !important;
}

.dept-faculty-cta-wrap {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
}

.dept-faculty-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 120, 52, 0.4);
  background: linear-gradient(95deg, #067834, #0a8f52, #c38e2f);
  background-size: 180% 180%;
  box-shadow: 0 14px 24px rgba(8, 49, 44, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-position 0.35s ease;
}

.dept-faculty-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 34px rgba(8, 49, 44, 0.3);
  background-position: 100% 50%;
}

.dept-faculty-cta:focus-visible {
  outline: 3px solid rgba(10, 122, 191, 0.35);
  outline-offset: 3px;
}

.dept-achievements-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.dept-achievements-list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.9rem;
  background: #ffffff;
  border: 1px solid rgba(6, 120, 52, 0.14);
  border-radius: 14px;
  padding: 1rem;
}

.dept-ach-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 120, 52, 0.1);
  color: #067834;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  height: fit-content;
  padding: 0.38rem 0.3rem;
}

.dept-achievements-list h3 {
  font-size: 1rem;
  color: #0f2926;
  margin-bottom: 0.2rem;
}

.dept-achievements-list p {
  color: #40615c;
  line-height: 1.67;
}

@media (max-width: 1024px) {
  .dept-program-details-grid {
    grid-template-columns: 1fr;
  }

  .dept-news-layout {
    grid-template-columns: 1fr;
  }

  .dept-quick-menu {
    border-radius: 13px;
    padding: 0.68rem 0.72rem;
  }

  .dept-about-grid,
  .dept-programs-grid,
  .dept-faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dept-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dept-hod-shell {
    grid-template-columns: 1fr;
  }

  .dept-hod-photo {
    max-height: 340px;
  }
}

@media (max-width: 680px) {
  .dept-news-panel,
  .dept-announcements-panel {
    padding: 0.8rem;
  }

/* Homepage social wall */
.social-wall-section {
  background:
    radial-gradient(circle at 0% 0%, rgba(12, 95, 85, 0.18), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(195, 142, 47, 0.2), transparent 36%),
    linear-gradient(140deg, #f8fcfb, #eef5f3);
}

.social-wall-section .section-head p {
  max-width: 780px;
  margin: 0.45rem auto 0;
  color: #325753;
  font-size: 1.02rem;
}

.social-wall-grid {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

/* 3 cards per row: (100% - 2 × 1.5rem) / 3 */
.social-wall-grid > .social-panel {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  .social-wall-grid > .social-panel { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 480px) {
  .social-wall-grid > .social-panel { flex: 0 0 100%; }
}

.social-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(9, 68, 61, 0.18);
  border-radius: 18px;
  padding: 0.95rem;
  box-shadow: 0 8px 28px rgba(5, 40, 35, 0.12);
  min-width: 0;       /* prevents grid blowout */
}

.social-panel-wide {
  grid-column: span 3;
}

.social-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.social-panel-head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0b4740;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-panel-head a {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0c5f55;
  text-decoration: none;
  border: 1px solid rgba(12, 95, 85, 0.24);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}

.social-panel-head a:hover {
  background: rgba(12, 95, 85, 0.08);
}

.social-youtube-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.social-youtube-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(12, 95, 85, 0.16);
  background: #ffffff;
  color: #123531;
}

.social-youtube-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.social-youtube-card span {
  display: block;
  padding: 0.55rem 0.6rem 0.7rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.social-youtube-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(8, 65, 58, 0.14);
}

.social-empty-state {
  border: 1px dashed rgba(12, 95, 85, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem;
  color: #335955;
  font-size: 0.94rem;
}

.social-facebook-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.social-facebook-post-card {
  border: 1px solid rgba(12, 95, 85, 0.16);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.social-facebook-post-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.social-facebook-post-card p {
  margin: 0;
  padding: 0.65rem 0.75rem 0.5rem;
  color: #244a46;
  font-size: 0.86rem;
  line-height: 1.48;
}

.social-facebook-post-card a {
  display: inline-flex;
  margin: 0 0.75rem 0.75rem;
  color: #0c5f55;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.social-facebook-post-card a:hover {
  text-decoration: underline;
}

.social-link-card p {
  margin: 0 0 0.9rem;
  color: #395c58;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .social-panel-wide {
    grid-column: span 2;
  }

  .social-youtube-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .social-panel-wide {
    grid-column: span 1;
  }

  .social-youtube-grid {
    grid-template-columns: 1fr;
  }

  .social-youtube-card img {
    height: 170px;
  }

  .social-panel iframe {
    min-height: 360px;
  }
}

  .dept-alumni-prev,
  .dept-alumni-next {
    width: 34px;
    height: 34px;
  }

  .dept-quick-menu-wrap {
    padding-top: 0.68rem;
  }

  .dept-quick-menu {
    padding: 0.62rem 0.62rem;
    border-radius: 12px;
  }

  .dept-quick-links {
    gap: 0.38rem;
  }

  .dept-quick-links a {
    font-size: 0.78rem;
    padding: 0.35rem 0.54rem;
  }

  .dept-programs-grid,
  .dept-faculty-grid,
  .dept-about-grid,
  .dept-stats-grid {
    grid-template-columns: 1fr;
  }

  .dept-achievements-list li {
    grid-template-columns: 1fr;
  }

  .dept-gallery-prev,
  .dept-gallery-next {
    width: 36px;
    height: 36px;
  }
}

.program-overview,
.program-outline {
  background:
    radial-gradient(circle at 100% 0%, rgba(6,120,52,0.1), transparent 36%),
    #f7fbfa;
}

.program-objectives,
.program-careers {
  background:
    radial-gradient(circle at 0% 100%, rgba(10,122,191,0.1), transparent 36%),
    #fbfdfc;
}

.program-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.program-intro-card,
.program-glance-card,
.program-point-card,
.program-career-card,
.course-year-card {
  background: #ffffff;
  border: 1px solid rgba(6, 120, 52, 0.14);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(8, 49, 44, 0.08);
}

.program-intro-card {
  padding: 1.2rem;
}

.program-intro-card h3,
.program-point-card h3,
.program-career-card h3,
.course-year-card h3 {
  margin: 0 0 0.55rem;
  font-family: 'Cinzel', serif;
  font-size: 1.02rem;
  color: #0f2926;
}

.program-intro-card p,
.program-point-card p,
.program-career-card p {
  margin: 0;
  color: #42605b;
  line-height: 1.7;
}

.program-intro-card ul,
.course-year-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1rem;
  color: #3e5c58;
  line-height: 1.72;
}

.program-glance-stack {
  display: grid;
  gap: 0.9rem;
}

.program-glance-card {
  padding: 1rem;
  background: linear-gradient(145deg, rgba(6,120,52,0.08), #ffffff 62%);
}

.program-glance-card span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #067834;
}

.program-glance-card strong {
  display: block;
  margin-top: 0.35rem;
  color: #0f2926;
  font-size: 1rem;
  line-height: 1.45;
}

.program-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.program-point-card {
  padding: 1rem;
  background: linear-gradient(155deg, rgba(10,122,191,0.08), #ffffff 65%);
}

.program-career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.program-career-card {
  padding: 1rem;
  background: linear-gradient(155deg, rgba(195,142,47,0.1), #ffffff 65%);
}

.course-year-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.course-year-card {
  position: relative;
  padding: 1rem;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(6,120,52,0.15), rgba(255,255,255,0.94) 62%),
    url('https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=900&q=60') center/cover no-repeat;
}

.course-year-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.94));
  pointer-events: none;
}

.course-year-card > * {
  position: relative;
  z-index: 1;
}

.course-year-card h3 {
  font-size: 1.14rem;
  font-weight: 800;
  color: #0b221f;
  margin-bottom: 0.65rem;
  padding: 0.45rem 0.6rem;
  border-left: 4px solid #067834;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 5px 14px rgba(8, 49, 44, 0.08);
}

.course-year-card ul {
  margin-top: 0.4rem;
  padding: 0.7rem 0.85rem 0.7rem 1.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(6, 120, 52, 0.16);
}

.course-year-card:nth-child(4n+2) {
  background:
    linear-gradient(160deg, rgba(10,122,191,0.16), rgba(255,255,255,0.94) 62%),
    url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=900&q=60') center/cover no-repeat;
}

.course-year-card:nth-child(4n+3) {
  background:
    linear-gradient(160deg, rgba(195,142,47,0.2), rgba(255,255,255,0.94) 62%),
    url('https://images.unsplash.com/photo-1592982537447-7440770cbfc9?auto=format&fit=crop&w=900&q=60') center/cover no-repeat;
}

.course-year-card:nth-child(4n+4) {
  background:
    linear-gradient(160deg, rgba(74,80,152,0.16), rgba(255,255,255,0.94) 62%),
    url('https://images.unsplash.com/photo-1457530378978-8bac673b8062?auto=format&fit=crop&w=900&q=60') center/cover no-repeat;
}

@media (max-width: 1024px) {
  .program-overview-grid,
  .program-points-grid,
  .program-career-grid,
  .course-year-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .program-overview-grid,
  .program-points-grid,
  .program-career-grid,
  .course-year-grid {
    grid-template-columns: 1fr;
  }

  .program-intro-card,
  .program-glance-card,
  .program-point-card,
  .program-career-card,
  .course-year-card {
    padding: 0.9rem;
  }
}

/* ═══════════════════════════════════════
   FACULTY LISTING CARDS - Beautiful Design
═══════════════════════════════════════ */

.faculty-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.faculty-listing-card {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(6, 120, 52, 0.08);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.faculty-listing-card:hover {
  transform: translateY(-6px);
  border: 1px solid rgba(6, 120, 52, 0.2);
  box-shadow: 0 20px 40px rgba(6, 120, 52, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
}

.faculty-listing-photo {
  position: relative;
  width: 100%;
  padding-bottom: 120%;
  overflow: hidden;
  background: linear-gradient(135deg, #067834 0%, #0a7abf 100%);
}

.faculty-listing-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-listing-card:hover .faculty-listing-photo img {
  transform: scale(1.08);
}

.faculty-listing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.9) 0%, rgba(10, 122, 191, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-listing-card:hover .faculty-listing-overlay {
  opacity: 1;
}

.faculty-listing-profile-btn {
  background: white;
  color: #067834;
  padding: 0.75rem 1.5rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid white;
  cursor: pointer;
}

.faculty-listing-profile-btn:hover {
  background: #067834;
  color: white;
}

.faculty-listing-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faculty-listing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #067834;
  margin: 0 0 0.5rem 0;
  transition: color 0.3s ease;
  text-decoration: none;
}

.faculty-listing-card:hover .faculty-listing-name {
  color: #0a7abf;
}

.faculty-listing-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.3rem 0;
  line-height: 1.4;
}

.faculty-listing-dept {
  font-size: 0.85rem;
  color: #067834;
  margin: 0 0 0.25rem 0;
  font-weight: 500;
}

.faculty-listing-qualification {
  font-size: 0.8rem;
  color: #666;
  margin: 0.35rem 0 0.4rem 0;
  font-style: italic;
  line-height: 1.3;
}

.faculty-listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.faculty-listing-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.1) 0%, rgba(10, 122, 191, 0.1) 100%);
  color: #067834;
  padding: 0.2rem 0.52rem;
  border-radius: 14px;
  font-size: 0.68rem;
  line-height: 1.15;
  font-weight: 600;
  border: 1px solid rgba(6, 120, 52, 0.2);
  transition: all 0.3s ease;
}

.faculty-listing-card:hover .faculty-listing-tags span {
  background: rgba(6, 120, 52, 0.15);
  border-color: rgba(6, 120, 52, 0.4);
}

.faculty-listing-social {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(6, 120, 52, 0.1);
}

.faculty-listing-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.08) 0%, rgba(10, 122, 191, 0.08) 100%);
  color: #067834;
  border: 1.5px solid rgba(6, 120, 52, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.faculty-listing-social a:hover {
  background: linear-gradient(135deg, #067834 0%, #0a7abf 100%);
  color: white;
  border-color: #067834;
  transform: translateY(-2px);
}

.faculty-listing-social svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* Responsive Faculty Grid */
@media (max-width: 1200px) {
  .faculty-listing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .faculty-listing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .faculty-listing-body {
    padding: 1.2rem;
  }

  .faculty-listing-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .faculty-listing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .faculty-listing-card {
    border-radius: 10px;
  }

  .faculty-listing-body {
    padding: 1rem;
  }

  .faculty-listing-name {
    font-size: 1rem;
  }

  .faculty-listing-title {
    font-size: 0.85rem;
  }
}

/* ═══════════════════════════════════════
   FACULTY DETAILS PAGE - Beautiful Profile
═══════════════════════════════════════ */

.faculty-details-breadcrumb {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.08) 0%, rgba(10, 122, 191, 0.04) 100%);
  border-bottom: 2px solid rgba(6, 120, 52, 0.12);
  position: relative;
  overflow: hidden;
}

.faculty-details-breadcrumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #067834 0%, #0a7abf 100%);
}

.faculty-details-breadcrumb .breadcrumb {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.faculty-details-breadcrumb .breadcrumb a {
  color: #067834;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.faculty-details-breadcrumb .breadcrumb a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #067834, #0a7abf);
  transition: width 0.3s ease;
}

.faculty-details-breadcrumb .breadcrumb a:hover {
  color: #0a7abf;
}

.faculty-details-breadcrumb .breadcrumb a:hover::after {
  width: 100%;
}

.faculty-details-breadcrumb .breadcrumb .sep {
  color: rgba(6, 120, 52, 0.4);
  font-size: 1.1rem;
  margin: 0 0.5rem;
}

.faculty-details-breadcrumb .breadcrumb .current {
  color: #0a7abf;
  font-weight: 700;
  background: rgba(10, 122, 191, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(10, 122, 191, 0.15);
}

/* Hero Section */
.faculty-details-hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.05) 0%, rgba(10, 122, 191, 0.03) 100%);
}

.faculty-details-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.faculty-details-photo-wrapper {
  position: relative;
}

.faculty-details-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 40px rgba(6, 120, 52, 0.2), 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(6, 120, 52, 0.1);
}

.faculty-details-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-details-photo-wrapper:hover .faculty-details-photo img {
  transform: scale(1.05);
}

.faculty-details-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.faculty-details-social-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #067834 0%, #0a7abf 100%);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.faculty-details-social-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(6, 120, 52, 0.3);
}

.faculty-details-social-btn svg {
  width: 20px;
  height: 20px;
}

/* Hero Info */
.faculty-details-hero-info {
  padding: 0 1rem;
}

.faculty-details-title-section {
  margin-bottom: 2rem;
}

.faculty-details-hero-info h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #067834;
  margin: 0 0 0.5rem 0;
  font-family: 'Cinzel', serif;
  line-height: 1.2;
}

.faculty-details-position {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.3rem 0;
}

.faculty-hod-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #067834 0%, #0a7abf 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(6, 120, 52, 0.2);
}

.faculty-details-department {
  font-size: 1.1rem;
  color: #0a7abf;
  font-weight: 600;
  margin: 0;
}

/* Quick Stats */
.faculty-details-quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.quick-stat-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(6, 120, 52, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.quick-stat-card:hover {
  border-color: rgba(6, 120, 52, 0.2);
  box-shadow: 0 8px 16px rgba(6, 120, 52, 0.1);
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #067834;
}

/* Bio Preview */
.faculty-details-bio-preview {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(6, 120, 52, 0.04);
  border-left: 4px solid #067834;
  border-radius: 8px;
  line-height: 1.7;
  color: #333;
}

/* Hero Buttons */
.faculty-details-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #067834 0%, #0a7abf 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(6, 120, 52, 0.3);
}

.btn-secondary {
  background: rgba(6, 120, 52, 0.1);
  color: #067834;
  border: 2px solid #067834;
}

.btn-secondary:hover {
  background: #067834;
  color: white;
}

/* Faculty Details Sections */
.faculty-details-section {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(6, 120, 52, 0.08);
}

.faculty-details-section.alt-bg {
  background: rgba(6, 120, 52, 0.02);
}

.faculty-details-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #067834;
  margin-bottom: 3rem;
  font-family: 'Cinzel', serif;
  text-align: center;
  position: relative;
  padding-bottom: 1.5rem;
}

.faculty-details-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #067834, #0a7abf);
  border-radius: 3px;
}

/* Credentials Timeline */
.credentials-timeline {
  position: relative;
  padding: 2rem 0;
}

.credentials-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #067834 0%, #0a7abf 100%);
}

.credential-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 120px;
}

.credential-marker {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 64px;
  height: 64px;
  background: white;
  border: 4px solid #067834;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(6, 120, 52, 0.2);
}

.credential-content {
  background: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(6, 120, 52, 0.1);
  backdrop-filter: blur(8px);
}

.credential-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #067834;
  margin: 0 0 0.5rem 0;
}

.credential-institution {
  font-size: 1rem;
  color: #0a7abf;
  font-weight: 600;
  margin: 0 0 0.3rem 0;
}

.credential-date {
  font-size: 0.9rem;
  color: #999;
  font-weight: 600;
  margin: 0 0 0.8rem 0;
}

.credential-description {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Research Interests Grid */
.research-interests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.research-interest-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(6, 120, 52, 0.1);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.research-interest-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 120, 52, 0.3);
  box-shadow: 0 16px 32px rgba(6, 120, 52, 0.15);
}

.research-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.research-interest-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #067834;
  margin: 0 0 0.8rem 0;
}

.research-interest-card p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Publications List */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publication-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(6, 120, 52, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.publication-item:hover {
  border-color: rgba(6, 120, 52, 0.2);
  box-shadow: 0 12px 24px rgba(6, 120, 52, 0.1);
}

.publication-index {
  font-size: 2.5rem;
  font-weight: 800;
  color: #067834;
  opacity: 0.3;
}

.publication-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #067834;
  margin: 0 0 0.8rem 0;
  line-height: 1.4;
}

.publication-journal {
  font-size: 1rem;
  color: #0a7abf;
  font-weight: 600;
  margin: 0 0 0.3rem 0;
}

.publication-date {
  font-size: 0.9rem;
  color: #999;
  margin: 0 0 0.5rem 0;
}

.publication-authors {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 0.8rem 0;
}

.publication-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.publication-tags span {
  display: inline-block;
  background: rgba(6, 120, 52, 0.1);
  color: #067834;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(6, 120, 52, 0.2);
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.course-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(6, 120, 52, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 120, 52, 0.2);
  box-shadow: 0 12px 24px rgba(6, 120, 52, 0.1);
}

.course-code {
  display: inline-block;
  background: linear-gradient(135deg, #067834 0%, #0a7abf 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #067834;
  margin: 0 0 0.5rem 0;
}

.course-level {
  font-size: 0.9rem;
  color: #0a7abf;
  font-weight: 600;
  margin: 0 0 0.8rem 0;
}

.course-description {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.course-meta {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

/* Projects List */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(6, 120, 52, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: rgba(6, 120, 52, 0.2);
  box-shadow: 0 16px 32px rgba(6, 120, 52, 0.12);
}

.project-status {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-status.active {
  background: rgba(2, 168, 83, 0.2);
  color: #02a853;
}

.project-status.completed {
  background: rgba(155, 155, 155, 0.2);
  color: #666;
}

.project-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #067834;
  margin: 0 0 1.2rem 0;
  padding-right: 100px;
}

.project-duration, .project-funding {
  font-size: 0.95rem;
  margin: 0 0 0.8rem 0;
  color: #333;
}

.project-description {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 1.2rem 0;
  line-height: 1.7;
}

.project-team, .project-outcomes {
  font-size: 0.9rem;
  color: #555;
  margin: 0.8rem 0;
  line-height: 1.6;
}

/* Awards Grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.award-item {
  background: rgba(255, 255, 255, 0.6);
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid rgba(6, 120, 52, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.award-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #067834, #0a7abf);
}

.award-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(6, 120, 52, 0.15);
}

.award-year {
  display: inline-block;
  background: linear-gradient(135deg, #067834 0%, #0a7abf 100%);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.award-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #067834;
  margin: 0.8rem 0 0.5rem 0;
}

.award-org {
  font-size: 0.95rem;
  color: #0a7abf;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.award-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.contact-item {
  background: rgba(255, 255, 255, 0.6);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(6, 120, 52, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.contact-item:hover {
  border-color: rgba(6, 120, 52, 0.2);
  box-shadow: 0 12px 24px rgba(6, 120, 52, 0.1);
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #067834;
  margin: 0 0 0.8rem 0;
}

.contact-item p {
  font-size: 0.95rem;
  margin: 0 0 0.4rem 0;
}

.contact-item a {
  color: #0a7abf;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #067834;
}

.contact-meta {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.5rem !important;
}

/* Responsive Faculty Details */
@media (max-width: 1200px) {
  .faculty-details-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faculty-details-hero-info h1 {
    font-size: 2.5rem;
  }

  .research-interests-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .faculty-details-hero {
    padding: 2rem 0;
  }

  .faculty-details-hero-info h1 {
    font-size: 2rem;
  }

  .faculty-details-position {
    font-size: 1.2rem;
  }

  .faculty-details-quick-stats {
    grid-template-columns: 1fr;
  }

  .credentials-timeline::before {
    left: 24px;
  }

  .credential-item {
    padding-left: 90px;
  }

  .credential-marker {
    width: 50px;
    height: 50px;
  }

  .publication-item {
    grid-template-columns: 1fr;
  }

  .publication-index {
    font-size: 1.5rem;
  }

  .research-interests-grid {
    grid-template-columns: 1fr;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faculty-details-section {
    padding: 3rem 0;
  }

  .faculty-details-hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .faculty-details-hero-info h1 {
    font-size: 1.5rem;
  }

  .faculty-details-section-title {
    font-size: 1.5rem;
  }

  .credential-item {
    padding-left: 70px;
  }

  .credential-marker {
    width: 40px;
    height: 40px;
    left: 14px;
  }

  .faculty-details-social-links {
    gap: 0.8rem;
  }

  .faculty-details-social-btn {
    width: 40px;
    height: 40px;
  }
}

/* ═══════════════════════════════════════
   ADMINISTRATION PAGE - OFFICES & DIRECTORATES
═══════════════════════════════════════ */

.admin-cards-section {
  padding: 5rem 0;
}

.admin-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.admin-card {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  border: 1px solid rgba(6, 120, 52, 0.1);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(6, 120, 52, 0.08);
}

.admin-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 120, 52, 0.2);
  box-shadow: 0 20px 40px rgba(6, 120, 52, 0.12);
}

.admin-card-header {
  position: relative;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.08) 0%, rgba(10, 122, 191, 0.05) 100%);
  border-bottom: 2px solid rgba(6, 120, 52, 0.1);
}

.admin-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #067834 0%, #0a7abf 100%);
}

.admin-card-icon {
  font-size: 2.8rem;
  color: #067834;
  margin-bottom: 1rem;
}

.admin-card-icon svg {
  width: 50px;
  height: 50px;
  opacity: 0.8;
}

.admin-card-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #067834;
  margin: 0 0 0.5rem 0;
  font-family: 'Cinzel', serif;
}

.admin-card-subtitle {
  font-size: 0.95rem;
  color: #0a7abf;
  font-weight: 600;
  margin: 0;
}

.admin-card-body {
  padding: 2.5rem 2rem;
}

.admin-card-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-weight: 500;
}

.admin-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(6, 120, 52, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(6, 120, 52, 0.08);
  transition: all 0.3s ease;
}

.admin-item:hover {
  background: rgba(6, 120, 52, 0.08);
  border-color: rgba(6, 120, 52, 0.15);
  transform: translateX(4px);
}

.admin-item-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  min-width: 40px;
  text-align: center;
}

.admin-item-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #067834;
  margin: 0 0 0.5rem 0;
}

.admin-item-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.admin-item-link:hover {
  color: #0a7abf;
  border-bottom-color: rgba(10, 122, 191, 0.45);
}

.admin-item-content p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Administration Cards */
@media (max-width: 1200px) {
  .admin-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .admin-card-header {
    padding: 2rem;
  }

  .admin-card-body {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .admin-cards-section {
    padding: 3rem 0;
  }

  .admin-card-header {
    padding: 1.5rem;
  }

  .admin-card-icon svg {
    width: 40px;
    height: 40px;
  }

  .admin-card-title {
    font-size: 1.5rem;
  }

  .admin-card-body {
    padding: 1.5rem;
  }

  .admin-item {
    gap: 1rem;
    padding: 1rem;
  }

  .admin-item-icon {
    font-size: 1.5rem;
    min-width: 35px;
  }

  .admin-item-content h3 {
    font-size: 1rem;
  }

  .admin-item-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .admin-items-list {
    gap: 1rem;
  }

  .admin-item {
    gap: 0.8rem;
    padding: 0.9rem;
  }

  .admin-card-title {
    font-size: 1.3rem;
  }

  .admin-card-intro {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

/* ═══════════════════════════════════════
   DIRECTORATE / OFFICE PROFILE PAGE
═══════════════════════════════════════ */

/* ── Directorate Intro Two-Box Section ─────────────────────── */
.dir-intro-section {
  padding: 4rem 0 3rem;
}

.dir-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.dir-intro-box {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(6, 120, 52, 0.13);
  border-radius: 18px;
  padding: 2.2rem 2rem;
  box-shadow: 0 14px 36px rgba(6, 120, 52, 0.09);
  overflow: hidden;
}

.dir-intro-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #067834, #0a7abf);
  border-radius: 18px 18px 0 0;
}

.dir-intro-box-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.12), rgba(10, 122, 191, 0.12));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #067834;
  margin-bottom: 1.1rem;
}

.dir-intro-box-icon svg {
  width: 26px;
  height: 26px;
}

.dir-intro-box .eyebrow {
  margin-bottom: 0.3rem;
}

.dir-intro-box h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  color: #067834;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.dir-intro-box p {
  color: #445a56;
  font-size: 0.97rem;
  line-height: 1.82;
  margin-bottom: 0.8rem;
}

.dir-intro-tags {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dir-intro-tags span {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 120, 52, 0.18);
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.09), rgba(10, 122, 191, 0.09));
  color: #056030;
  font-size: 0.83rem;
  font-weight: 600;
}

/* Director's Message box extras */
.dir-message-box::before {
  background: linear-gradient(90deg, #0a7abf, #067834);
}

.dir-message-box .dir-intro-box-icon {
  background: linear-gradient(135deg, rgba(10, 122, 191, 0.12), rgba(6, 120, 52, 0.12));
  color: #0a7abf;
}

.dir-message-quote {
  margin: 0 0 1.4rem;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.06), rgba(10, 122, 191, 0.06));
  border-left: 3px solid #0a7abf;
  border-radius: 0 10px 10px 0;
}

.dir-message-quote p {
  margin: 0;
  font-style: italic;
  color: #344e4a;
  font-size: 0.97rem;
  line-height: 1.85;
}

.dir-message-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(6, 120, 52, 0.12);
}

.dir-message-profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #067834;
  flex-shrink: 0;
}

.dir-message-profile div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dir-message-profile strong {
  color: #067834;
  font-size: 0.98rem;
}

.dir-message-profile span {
  color: #5a7070;
  font-size: 0.84rem;
  line-height: 1.4;
}

.admin-unit-summary {
  padding: 4.5rem 0 3rem;
}

.admin-unit-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: #067834;
  margin: 0.5rem 0 1rem;
}

.admin-unit-text {
  max-width: 860px;
  color: #435854;
  font-size: 1.03rem;
  line-height: 1.85;
}

.admin-unit-badges {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-unit-badges span {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 120, 52, 0.16);
  background: linear-gradient(135deg, rgba(6, 120, 52, 0.1), rgba(10, 122, 191, 0.1));
  color: #0d5d51;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-unit-details {
  padding: 0.5rem 0 2.8rem;
}

.admin-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.admin-unit-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 120, 52, 0.14);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 10px 22px rgba(6, 120, 52, 0.08);
}

.admin-unit-card h3 {
  font-family: 'Lora', serif;
  color: #066237;
  margin-bottom: 0.8rem;
  font-size: 1.22rem;
}

.admin-unit-card ul {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.56rem;
}

.admin-unit-card li {
  color: #445955;
  font-size: 0.94rem;
  line-height: 1.6;
}

.admin-unit-card a {
  color: #0a7abf;
  text-decoration: none;
}

.admin-unit-card a:hover {
  color: #067834;
}

.staff-profile-avatar {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.15rem;
  border: 2px solid rgba(6, 120, 52, 0.1);
  box-shadow: 0 20px 40px rgba(6, 120, 52, 0.2), 0 8px 16px rgba(0, 0, 0, 0.1);
  position: relative;
}

.staff-profile-avatar img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.staff-profile-avatar--faculty-style:hover img {
  transform: scale(1.05);
}

.admin-unit-links {
  padding: 0.4rem 0 3.1rem;
}

.admin-link-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.admin-link-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 120, 52, 0.14);
  border-radius: 14px;
  padding: 1.45rem;
  box-shadow: 0 10px 22px rgba(6, 120, 52, 0.08);
}

.admin-link-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, #067834, #0a7abf);
}

.admin-link-panel h3 {
  color: #066237;
  font-family: 'Lora', serif;
  margin-bottom: 0.45rem;
}

.admin-link-panel p {
  color: #4e625f;
  margin-bottom: 0.8rem;
  font-size: 0.94rem;
}

.admin-link-panel ul {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.52rem;
}

.admin-link-panel a {
  color: #0c6a8c;
  font-weight: 600;
  text-decoration: none;
}

.admin-link-panel a:hover {
  color: #067834;
}

.admin-unit-cta {
  padding: 0.2rem 0 4.4rem;
}

.admin-unit-cta .container {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .admin-unit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-link-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dir-intro-grid {
    grid-template-columns: 1fr;
  }

  .dir-intro-box {
    padding: 1.6rem 1.3rem;
  }

  .admin-unit-summary {
    padding: 3.2rem 0 2.2rem;
  }

  .admin-unit-grid {
    grid-template-columns: 1fr;
  }

  .admin-unit-heading {
    font-size: 1.7rem;
  }

  .admin-unit-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* Simple staff template (bottom section) */
.admin-contact-strip {
  margin-top: 1.5rem;
  padding: 0 0 2.6rem;
}

.connect-strip {
  margin-top: 0.2rem;
  padding-top: 0.8rem;
}

.connect-strip-head {
  margin: 0 0 1rem;
}

.connect-strip-title {
  margin: 0.3rem 0 0;
  font-family: 'Cinzel', serif;
  color: #067834;
  font-size: clamp(1.3rem, 2.2vw, 1.95rem);
}

.admin-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-contact-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-contact-card {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(240, 250, 246, 0.9));
  border: 1px solid rgba(6, 120, 52, 0.18);
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
  box-shadow: 0 10px 22px rgba(6, 120, 52, 0.1);
  backdrop-filter: blur(6px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.admin-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, #067834, #0a7abf);
}

.admin-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 122, 191, 0.28);
  box-shadow: 0 16px 30px rgba(6, 120, 52, 0.14);
}

.admin-contact-label {
  margin: 0;
  color: #0a7abf;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.admin-contact-card h3 {
  margin: 0.38rem 0 0.28rem;
  color: #066237;
  font-size: 1.08rem;
  font-family: 'Lora', serif;
}

.admin-contact-card p {
  margin: 0;
  color: #526764;
  font-size: 0.9rem;
}

.admin-contact-card a {
  color: #0c6a8c;
  text-decoration: none;
  font-weight: 600;
}

.admin-contact-card a:hover {
  color: #067834;
}

.admin-staff-section {
  padding: 0.6rem 0 4.6rem;
}

.admin-staff-intro {
  color: #4f6460;
  margin: 0.65rem 0 1.2rem;
  font-size: 0.95rem;
}

.admin-staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-staff-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(6, 120, 52, 0.14);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(6, 120, 52, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.admin-staff-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 122, 191, 0.28);
  box-shadow: 0 16px 30px rgba(6, 120, 52, 0.14);
}

.admin-staff-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.admin-staff-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 25, 14, 0.04), rgba(2, 25, 14, 0.58));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.admin-staff-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.admin-staff-view-btn {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(8px);
  z-index: 1;
  background: #ffffff;
  color: #067834;
  border: 1px solid rgba(6, 120, 52, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.admin-staff-card:hover .admin-staff-media::after {
  opacity: 1;
}

.admin-staff-card:hover .admin-staff-media img {
  transform: scale(1.05);
}

.admin-staff-card:hover .admin-staff-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.admin-staff-view-btn:hover {
  background: #067834;
  color: #ffffff;
}

.admin-staff-body {
  padding: 0.95rem 1rem 1rem;
}

.admin-staff-card h3 {
  margin: 0 0 0.25rem;
  color: #066237;
  font-size: 1.18rem;
  font-family: 'Lora', serif;
}

.admin-staff-role {
  margin: 0 0 0.45rem;
  font-size: 0.94rem;
  color: #0a7abf;
  font-weight: 800;
}

.admin-staff-card p {
  margin: 0.2rem 0;
  color: #526764;
  font-size: 0.88rem;
}

.admin-staff-card a {
  color: #0c6a8c;
  text-decoration: none;
}

.admin-staff-card a:hover {
  color: #067834;
}

@media (max-width: 980px) {
  .admin-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-contact-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-contact-strip {
    margin-top: 0.9rem;
    padding-bottom: 1.5rem;
  }

  .connect-strip {
    padding-top: 0.35rem;
  }

  .admin-contact-grid {
    grid-template-columns: 1fr;
  }

  .admin-staff-grid {
    grid-template-columns: 1fr;
  }

  .admin-staff-section {
    padding-bottom: 3.2rem;
  }
}

/* About subpages (independent pages) */
.about-sub-hero {
  position: relative;
  padding: 3.8rem 0 3rem;
}

.about-sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(6, 120, 52, 0.12), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(10, 122, 191, 0.1), transparent 34%);
  pointer-events: none;
}

.about-sub-hero-content {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid rgba(6, 120, 52, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(239, 248, 245, 0.74));
  box-shadow: 0 14px 32px rgba(8, 58, 44, 0.1);
  padding: 1.7rem;
}

.about-sub-breadcrumb {
  margin-bottom: 0.9rem;
}

.about-sub-hero h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.14;
  color: #0f3b35;
}

.about-sub-hero .lead {
  margin-top: 1rem;
  max-width: 62ch;
  color: #32534f;
  line-height: 1.72;
}

.about-sub-section {
  padding-top: 2.1rem;
}

.about-sub-soft {
  background: linear-gradient(180deg, rgba(228, 243, 238, 0.48), rgba(228, 243, 238, 0));
}

.about-sub-head-center {
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-sub-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.about-sub-grid-2.compact {
  gap: 0.72rem;
}

.about-sub-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.about-sub-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-sub-pane,
.about-sub-mini-card {
  border-radius: 15px;
  border: 1px solid rgba(6, 120, 52, 0.14);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.87), rgba(240, 250, 246, 0.76));
  box-shadow: 0 12px 28px rgba(8, 56, 45, 0.09);
  padding: 1.2rem;
}

.about-sub-pane h2 {
  margin: 0.35rem 0 0;
  color: #0e4b43;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
}

.about-sub-pane h3,
.about-sub-mini-card h3 {
  margin: 0;
  color: #0d4d43;
  font-size: 1.07rem;
}

.about-sub-pane p {
  margin-top: 0.75rem;
  color: #3d605b;
  line-height: 1.66;
}

.about-sub-mini-card p {
  margin-top: 0.45rem;
  color: #436762;
  line-height: 1.55;
}

/* Degree verification */
.degree-verify-page {
  padding: 2.3rem 0 4.2rem;
  background:
    radial-gradient(circle at 10% 8%, rgba(12, 95, 85, 0.08), transparent 36%),
    radial-gradient(circle at 92% 18%, rgba(195, 142, 47, 0.12), transparent 35%),
    linear-gradient(180deg, #f7fcfa, #f0f7f4);
}

.degree-verify-container {
  display: grid;
  gap: 1.15rem;
}

.degree-verify-form-wrap,
.degree-result-card,
.degree-not-found {
  border-radius: 18px;
  border: 1px solid rgba(12, 95, 85, 0.16);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 245, 0.9));
  box-shadow: 0 14px 30px rgba(8, 51, 45, 0.1);
  box-sizing: border-box;
}

.degree-verify-form-wrap {
  padding: 1.25rem;
}

.degree-verify-form-wrap h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  color: #0f3b35;
}

.degree-verify-form {
  margin-top: 1rem;
}

.degree-verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.degree-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.degree-field span {
  color: #13524a;
  font-weight: 700;
  font-size: 0.88rem;
}

.degree-field input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(12, 95, 85, 0.28);
  background: #ffffff;
  border-radius: 12px;
  padding: 0.78rem 0.88rem;
  color: #153734;
  font-size: 0.95rem;
}

.degree-field input:focus {
  outline: none;
  border-color: #0c5f55;
  box-shadow: 0 0 0 3px rgba(12, 95, 85, 0.12);
}

.degree-field-error {
  color: #a22f2f;
  font-size: 0.78rem;
  font-weight: 600;
}

.degree-verify-actions {
  margin-top: 0.95rem;
}

.degree-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #0c5f55, #0a4e45);
  color: #fff;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(8, 51, 45, 0.2);
}

.degree-verify-btn:hover {
  transform: translateY(-2px);
}

.degree-result-card {
  padding: 1.2rem;
}

.degree-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.degree-result-head h3 {
  margin-top: 0.3rem;
  color: #0e413a;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.degree-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(6, 120, 52, 0.14);
  color: #066a3d;
}

.degree-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.degree-item {
  border: 1px solid rgba(12, 95, 85, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.72rem 0.78rem;
  min-width: 0;
}

.degree-item span {
  display: block;
  color: #496764;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.degree-item strong {
  display: block;
  margin-top: 0.22rem;
  color: #143d38;
  font-size: 0.94rem;
  line-height: 1.45;
  word-break: break-word;
}

.degree-not-found {
  padding: 1rem;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.65rem;
}

.degree-not-found i {
  color: #ab7824;
  margin-top: 0.08rem;
}

.degree-not-found h3 {
  margin: 0;
  color: #0f3e38;
  font-size: 1.05rem;
}

.degree-not-found p {
  margin-top: 0.3rem;
  color: #45635f;
}

.degree-result-extras {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(12, 95, 85, 0.14);
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 0.85rem;
  align-items: start;
}

.degree-link-box {
  border: 1px dashed rgba(12, 95, 85, 0.28);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.72);
}

.degree-link-box span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #486663;
}

.degree-link-box a {
  display: block;
  margin-top: 0.24rem;
  color: #0a5f55;
  font-weight: 700;
  font-size: 0.9rem;
  word-break: break-all;
}

.degree-qr-box {
  width: 172px;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(12, 95, 85, 0.2);
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.degree-qr-box img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.degree-qr-box small {
  display: block;
  margin-top: 0.42rem;
  color: #4b6662;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .degree-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .degree-verify-page {
    padding-top: 1.6rem;
  }

  .degree-verify-grid,
  .degree-result-grid {
    grid-template-columns: 1fr;
  }

  .degree-verify-form-wrap,
  .degree-result-card,
  .degree-not-found {
    padding: 1rem;
  }

  .degree-verify-btn {
    width: 100%;
    justify-content: center;
  }

  .degree-result-extras {
    grid-template-columns: 1fr;
  }

  .degree-qr-box {
    width: 100%;
    max-width: 240px;
  }

  .degree-verify-form-wrap h2 {
    font-size: clamp(1.2rem, 6.6vw, 1.58rem);
  }
}

.about-sub-list {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.58rem;
}

.about-sub-list li {
  position: relative;
  padding-left: 1.22rem;
  color: #2f5550;
}

.about-sub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(145deg, #067834, #0a7abf);
}

.vcp-profile-pane {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.vcp-photo-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(6, 120, 52, 0.15);
}

.vcp-photo-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.vcp-profile-meta h2 {
  margin: 0;
  font-size: 1.35rem;
  color: #0e4c43;
}

.vcp-profile-meta p {
  margin: 0.22rem 0 0;
  color: #476663;
}

.vcp-message-pane {
  border-left: 4px solid rgba(6, 120, 52, 0.5);
}

.vcp-signature {
  margin-top: 1rem;
  display: grid;
  gap: 0.2rem;
}

.vcp-signature span {
  color: #0d4d43;
  font-weight: 800;
}

.vcp-signature small {
  color: #537470;
}

.community-pane,
.global-pane {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.community-pane:hover,
.global-pane:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 122, 191, 0.28);
  box-shadow: 0 16px 30px rgba(7, 53, 42, 0.12);
}

.alumni-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.alumni-tag-list span {
  border-radius: 999px;
  border: 1px solid rgba(6, 120, 52, 0.18);
  background: linear-gradient(145deg, rgba(6, 120, 52, 0.1), rgba(10, 122, 191, 0.1));
  color: #0d5b50;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.42rem 0.8rem;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.alumni-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(6, 120, 52, 0.14);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 26px rgba(8, 56, 45, 0.09);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.alumni-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 122, 191, 0.3);
  box-shadow: 0 18px 30px rgba(8, 56, 45, 0.13);
}

.alumni-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.alumni-card-body {
  padding: 0.95rem;
}

.alumni-card h3 {
  margin: 0;
  color: #0e4e44;
  font-size: 1.1rem;
}

.alumni-role {
  margin: 0.3rem 0 0;
  color: #0a7abf;
  font-weight: 700;
  font-size: 0.9rem;
}

.alumni-card-body p {
  margin-top: 0.5rem;
  color: #466661;
  line-height: 1.55;
  font-size: 0.9rem;
}

.alumni-quote-card {
  margin-top: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(6, 120, 52, 0.16);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.84), rgba(237, 248, 244, 0.7));
  border-left: 4px solid #067834;
  padding: 1.2rem;
}

.alumni-quote-card p {
  margin: 0;
  color: #2e5450;
  line-height: 1.65;
  font-style: italic;
}

.alumni-quote-card strong {
  display: inline-block;
  margin-top: 0.62rem;
  color: #0e4c43;
}

@media (max-width: 1080px) {
  .about-sub-grid-2,
  .about-sub-grid-3,
  .about-sub-grid-4,
  .alumni-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .about-sub-hero {
    padding: 3rem 0 2.2rem;
  }

  .about-sub-hero-content,
  .about-sub-pane,
  .about-sub-mini-card,
  .alumni-quote-card {
    padding: 1rem;
  }

  .about-sub-grid-2,
  .about-sub-grid-3,
  .about-sub-grid-4,
  .alumni-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PROGRAM DETAIL PAGE
   ========================================================= */

/* --- Hero --- */
.prog-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.prog-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.45) saturate(1.1);
  z-index: -3;
  transition: transform 8s ease;
}
.prog-hero:hover .prog-hero-bg { transform: scale(1.04); }
.prog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,40,30,0.72) 0%, rgba(15,41,38,0.60) 55%, rgba(180,120,20,0.22) 100%);
  z-index: -2;
}
.prog-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}
.prog-hero-orb-1 {
  width: 340px; height: 340px;
  background: #c38e2f;
  bottom: -80px; left: -60px;
}
.prog-hero-orb-2 {
  width: 260px; height: 260px;
  background: #27ae60;
  top: -40px; right: -40px;
}
.prog-hero-content {
  position: relative;
  padding: 5rem 0 3.5rem;
  width: 100%;
}
.prog-hero-title-wrap { margin: 0.75rem 0 1rem; }
.prog-hero-pre {
  font-family: var(--font-accent, 'Merriweather', serif);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0c040;
  margin-bottom: 0.35rem;
}
.prog-hero-title-wrap h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.6rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.prog-hero-rule {
  width: 64px; height: 4px;
  background: linear-gradient(90deg, #c38e2f 0%, #27ae60 100%);
  border-radius: 2px;
}
.prog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.1rem;
  align-items: center;
  margin-top: 0.5rem;
}
.prog-hero-meta span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 0.22rem 0.9rem;
  line-height: 1.4;
}
.prog-hero-meta .dot-sep {
  color: rgba(255,255,255,0.35);
  background: none;
  border: none;
  padding: 0 0.1rem;
  font-size: 1.1rem;
}

/* --- Quick Nav --- */
.prog-quick-nav {
  background: #0f2926;
  border-bottom: 2px solid rgba(195,142,47,0.28);
  position: sticky;
  top: 0;
  z-index: 80;
  overflow-x: auto;
}
.prog-quick-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0;
  min-height: 46px;
  white-space: nowrap;
}
.prog-quick-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.prog-quick-links a:hover,
.prog-quick-links a:focus-visible {
  color: #f0c040;
  border-bottom-color: #c38e2f;
}
.prog-quick-links .prog-quick-back {
  margin-left: auto;
  color: rgba(195,142,47,0.9);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 1.1rem;
}

/* --- Program Overview Grid --- */
.prog-overview-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}
.prog-intro-card {
  background: #fff;
  border: 1px solid rgba(15,41,38,0.1);
  border-radius: 14px;
  padding: 2rem 2.2rem;
  box-shadow: 0 2px 14px rgba(15,41,38,0.06);
}
.prog-intro-card h3 {
  font-size: 1.1rem;
  color: #0f2926;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(195,142,47,0.25);
}
.prog-glance-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.prog-glance-card {
  background: #0f2926;
  border-radius: 12px;
  padding: 0.9rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(15,41,38,0.12);
  border: 1px solid rgba(195,142,47,0.15);
  transition: transform 0.2s;
}
.prog-glance-card:hover { transform: translateX(4px); }
.prog-glance-card span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.prog-glance-card strong {
  font-size: 0.95rem;
  color: #f0c040;
  font-weight: 600;
  text-align: right;
}

/* --- Rich Content Sections --- */
.prog-rich-section {
  background: #fff;
  border: 1px solid rgba(15,41,38,0.09);
  border-radius: 14px;
  padding: 2rem 2.4rem;
  box-shadow: 0 2px 14px rgba(15,41,38,0.05);
  margin-top: 1.5rem;
}
.prog-rich-content,
.prog-rich-section {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #2e3d35;
}
.prog-rich-content p,
.prog-rich-section p { margin-bottom: 0.85rem; }
.prog-rich-content ul,
.prog-rich-section ul,
.prog-rich-content ol,
.prog-rich-section ol {
  padding-left: 1.4rem;
  margin-bottom: 0.85rem;
}
.prog-rich-content li,
.prog-rich-section li { margin-bottom: 0.35rem; }
.prog-rich-content h1,.prog-rich-content h2,.prog-rich-content h3,
.prog-rich-section h1,.prog-rich-section h2,.prog-rich-section h3 {
  color: #0f2926;
  font-weight: 700;
  margin: 1.2rem 0 0.5rem;
}
.prog-rich-content strong,.prog-rich-section strong { color: #0f2926; }

/* Objectives section has green accent */
.prog-objectives { background: #f0f9f4; }
.prog-objectives .prog-rich-section { border-color: rgba(39,174,96,0.2); }
.prog-objectives .prog-rich-section li::marker { color: #27ae60; }

/* Outcomes section has warm amber */
.prog-outcomes { background: #fffdf4; }
.prog-outcomes .prog-rich-section { border-color: rgba(195,142,47,0.25); }
.prog-outcomes .prog-rich-section li::marker { color: #c38e2f; }

/* --- Course Outline --- */
.prog-outline { background: #f7f9f8; }
.prog-outline-meta {
  color: rgba(15,41,38,0.55);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}
.prog-year-block { margin-top: 2rem; }
.prog-year-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #0f2926 0%, #1a4a3a 100%);
  color: #f0c040;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 8px rgba(15,41,38,0.18);
}
.prog-semesters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
  align-items: start;
}
.prog-semester-card {
  background: #fff;
  border: 1px solid rgba(15,41,38,0.1);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 2px 10px rgba(15,41,38,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.prog-semester-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(15,41,38,0.1);
}
.prog-semester-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f2926;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(195,142,47,0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: space-between;
  align-items: center;
}
.prog-semester-count {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(15,41,38,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.prog-course-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.prog-course-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(15,41,38,0.06);
}
.prog-course-item:last-child { border-bottom: none; padding-bottom: 0; }
.prog-course-name {
  font-size: 0.88rem;
  color: #1a3a2e;
  font-weight: 500;
  line-height: 1.35;
}
.prog-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.prog-course-code {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0f2926;
  background: #e8f0ec;
  border-radius: 4px;
  padding: 0.08rem 0.45rem;
  letter-spacing: 0.04em;
}
.prog-course-ch {
  font-size: 0.7rem;
  color: rgba(15,41,38,0.55);
  background: #f0f4f2;
  border-radius: 4px;
  padding: 0.08rem 0.4rem;
  margin-left: auto;
}
.prog-course-type {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  padding: 0.08rem 0.45rem;
}
.prog-course-type--core    { background: rgba(39,174,96,0.12); color: #1d6b3d; }
.prog-course-type--elective { background: rgba(52,152,219,0.12); color: #1a5f8a; }
.prog-course-type--lab     { background: rgba(155,89,182,0.12); color: #6a2e9c; }
.prog-course-type--seminar { background: rgba(231,76,60,0.12);  color: #922b21; }
.prog-course-type--project { background: rgba(243,156,18,0.12); color: #7d5a10; }
.prog-course-type--thesis  { background: rgba(22,160,133,0.12); color: #0e5e4e; }

/* --- Curriculum --- */
.prog-curriculum { background: #fff; }
.prog-curriculum-body { border-color: rgba(15,41,38,0.12); }

/* --- Admission --- */
.prog-admission { background: #f3f5f4; }
.prog-admission .dept-section-head p.eyebrow { color: #0f2926; }
.prog-admission .dept-section-head h2 { color: #0f2926; }
.prog-admission-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
.prog-admission-text .prog-rich-content { color: #2e3d35; }
.prog-admission-text .prog-rich-content strong { color: #0f2926; }
.prog-cta-card {
  background: #0f2926;
  border: 1px solid rgba(195,142,47,0.3);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  text-align: center;
  position: sticky;
  top: 70px;
  box-shadow: 0 4px 24px rgba(15,41,38,0.15);
}
.prog-cta-icon { font-size: 2.6rem; margin-bottom: 0.8rem; }
.prog-cta-card h3 {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.prog-cta-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.prog-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #c38e2f 0%, #e8b84b 100%);
  color: #0f2926;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(195,142,47,0.35);
}
.prog-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(195,142,47,0.5);
}

/* --- Alumni placeholder --- */
.dept-alumni-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0f2926 0%, #1a4a3a 100%);
  color: #c38e2f;
}
.dept-alumni-grad {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.1rem;
  margin-bottom: 0.4rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .prog-overview-grid {
    grid-template-columns: 1fr;
  }
  .prog-glance-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .prog-admission-grid {
    grid-template-columns: 1fr;
  }
  .prog-cta-card { position: static; }
}
@media (max-width: 600px) {
  .prog-hero { min-height: 320px; }
  .prog-hero-title-wrap h1 { font-size: 1.6rem; }
  .prog-semesters-grid { grid-template-columns: 1fr; }
  .prog-intro-card { padding: 1.4rem 1.1rem; }
  .prog-rich-section { padding: 1.4rem 1.1rem; }
  .prog-glance-stack { grid-template-columns: 1fr; }
  .prog-quick-links a { padding: 0.5rem 0.7rem; font-size: 0.77rem; }
}

/* ── Social Wall — clean card design matching website's news-card style ─────── */

/* Outer panel: no chrome — the inner .social-card provides it */
.social-panel--youtube,
.social-panel--facebook,
.social-panel--x,
.social-panel--instagram,
.social-panel--linkedin {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

.social-post-embed { background: transparent; width: 100%; }

/* ── .social-card mirrors .news-card ──────────────────────────────────────── */
.social-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(12, 95, 85, 0.12), 0 1.5px 6px rgba(195, 142, 47, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  width: 100%;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.social-card:hover {
  box-shadow: 0 20px 50px rgba(195, 142, 47, 0.18), 0 4px 16px rgba(12, 95, 85, 0.12);
  transform: translateY(-8px) scale(1.02);
}

/* YouTube: thumbnail image area */
.sc-thumb {
  position: relative;
  height: 170px;
  flex-shrink: 0;
  overflow: hidden;
  background: #d5e8e6;
}

.sc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.social-card:hover .sc-thumb img { transform: scale(1.06); }

/* Play button over thumbnail */
.sc-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  transition: background 0.24s ease, transform 0.24s ease;
}

.sc-play svg { margin-left: 3px; transition: fill 0.24s ease; }

.social-card:hover .sc-play {
  background: #0c5f55;
  transform: translate(-50%, -50%) scale(1.12);
}

.social-card:hover .sc-play svg { fill: #fff; }

/* Non-YouTube: branded colour strip */
.sc-brand {
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-brand--fb { background: linear-gradient(135deg, #1877f2, #0b4da0); }
.sc-brand--x  { background: linear-gradient(135deg, #14171a, #1d2d40); }
.sc-brand--ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.sc-brand--li { background: linear-gradient(135deg, #0a66c2, #003d7a); }

.sc-brand svg { width: 50px; height: 50px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25)); }

/* Card body */
.sc-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Platform label — gradient pill, same style as .news-card-label */
.sc-label {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  background: linear-gradient(90deg, #0c5f55 60%, #c38e2f 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 0.28em 0.8em;
  box-shadow: 0 3px 10px rgba(12, 95, 85, 0.18);
  align-self: flex-start;
  margin-bottom: 0.6rem;
  white-space: nowrap;
}

/* Title — matches .news-card h3 colour */
.sc-title {
  margin: 0 0 auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0b4740;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA link — matches .news-card .inline-link */
.sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0c5f55;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.social-card:hover .sc-cta { color: #c38e2f; }

/* ── Facebook Official Embed ─────────────────────────────────────────────── */

.fb-embed-wrap {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(12, 95, 85, 0.11), 0 1px 5px rgba(195, 142, 47, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.fb-embed-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(24, 119, 242, 0.14), 0 3px 12px rgba(12, 95, 85, 0.09);
}

/* Force the Facebook embed to fill the card width */
.fb-embed-wrap .fb-post,
.fb-embed-wrap .fb-post > span,
.fb-embed-wrap .fb-post > span > iframe {
  width: 100% !important;
  min-width: 0 !important;
}

/* While the SDK is loading, show a skeleton placeholder */
.fb-embed-wrap .fb-post:not([style]) {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: fb-skeleton 1.4s infinite;
}

@keyframes fb-skeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Fallback link inside blockquote (shown before SDK loads) */
.fb-embed-wrap .fb-xfbml-parse-ignore {
  margin: 0;
  padding: 1.2rem 1.1rem;
  font-size: 0.85rem;
}

.fb-embed-wrap .fb-xfbml-parse-ignore a {
  color: #1877f2;
  font-weight: 600;
  text-decoration: underline;
}
