@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #1b4332;
  --primary-light: #2d6a4f;
  --accent: #52b788;
  --accent-hover: #40916c;
  --mint: #74c69d;
  --ink: #081c15;
  --white: #ffffff;
  --bg-dark: #081c15;
  --bg-card: #122c22;
  --bg-light: #f4f9f6;
  --text-primary: #ffffff;
  --text-secondary: #9fb8a6;
  --text-dark: #1b4332;
  --text-body: #2d6a4f;
  --border: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.05);
  --gradient-1: linear-gradient(135deg, #1b4332 0%, #081c15 100%);
  --gradient-2: linear-gradient(135deg, #74c69d 0%, #52b788 100%);
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-light);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
ol { list-style: none; margin: 0; padding: 0; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ========== TOP BAR ========== */
.top-bar {
  background: #091a2e;
  padding: 8px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-bar a {
  color: var(--text-secondary);
  margin-left: 0;
}
.top-bar a:hover { color: #4ea5d9; }
.top-bar-left a { margin-left: 0; margin-right: 18px; }
.notification-bell {
  position: relative;
  display: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}
.notification-bell::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 4px;
  width: 14px;
  height: 15px;
  border: 2px solid currentColor;
  border-bottom-width: 3px;
  border-radius: 8px 8px 5px 5px;
}
.notification-bell::after {
  content: '';
  position: absolute;
  left: 10px;
  bottom: 2px;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.notification-bell.has-notifications {
  display: inline-flex;
}
.notification-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 7px;
  height: 7px;
  background: #4ea5d9;
  border: 1px solid #091a2e;
  border-radius: 50%;
  z-index: 1;
}
.login-link.is-logged-in {
  color: #4ea5d9;
}
/* ========== HEADER ========== */
header {
  background: linear-gradient(135deg, #001e36 0%, #002b49 55%, #083b66 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #002b49;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.logo-text h1 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}
.logo-text span {
  font-size: 0.68rem;
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  display: block;
  white-space: nowrap;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  display: flex;
  align-items: center;
}
nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
nav a.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  font-weight: 700;
}
nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 8px;
  right: 8px;
  height: 2.5px;
  background: #38bdf8;
  border-radius: 999px;
}

/* SEARCH BAR IN HEADER */
.header-search {
  position: relative;
  flex-shrink: 0;
  margin-left: 6px;
}
.header-search input {
  width: 130px;
  padding: 6px 12px 6px 30px;
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat 10px center;
  color: #ffffff;
  outline: none;
  transition: width 0.25s ease, background 0.25s ease;
}
.header-search input:focus {
  width: 190px;
  background-color: rgba(0, 30, 60, 0.95);
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}
.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* MOBILE NAV */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-1);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.hero-bg.slideshow img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-bg.slideshow img.active {
  opacity: 0.55;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

/* ========== HERO ANIMATIONS ========== */
.hero-content .hero-badge {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}
.hero-content h2 {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.35s;
}
.hero-content p {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}
.hero-content .hero-links {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.85s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(78,165,217,0.15);
  border: 1px solid rgba(78,165,217,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient-2);
  color: var(--primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78,165,217,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}
.section-dark {
  background: var(--bg-dark);
  color: var(--text-primary);
}
.section-alt {
  background: #f1f5f9;
}
.section-header {
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 640px;
}
.section-dark .section-header p {
  color: var(--text-secondary);
}
.section-header .accent-line {
  width: 48px;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(82, 183, 136, 0.12) 0%, rgba(27, 67, 50, 0.08) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.inline-icon {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 6px;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 16px;
}
.card-link:hover { color: var(--accent); gap: 10px; }

/* Dark cards */
.card-dark {
  background: var(--bg-card);
  border-color: var(--border);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--text-secondary); }
.card-dark:hover { border-color: rgba(78,165,217,0.35); }

/* ========== PROGRAMME CARDS ========== */
.programme-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}
.programme-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.programme-card .tag {
  display: inline-block;
  background: rgba(82, 183, 136, 0.12);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.programme-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.programme-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}
.programme-card .meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-body);
}
.programme-card .meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== STAFF GRID ========== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.staff-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.staff-card-link {
  display: block;
  color: inherit;
}

.faculty-toolbar {
  margin-top: 14px;
  margin-bottom: 26px;
}

.faculty-search {
  max-width: 520px;
  position: relative;
}

.faculty-search input {
  width: 100%;
  border: 1px solid #c8d8ea;
  background: #fff;
  border-radius: 999px;
  padding: 12px 18px 12px 42px;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: var(--transition);
}

.faculty-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(78, 165, 217, 0.2);
}

.faculty-search .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-light);
  font-size: 0.9rem;
}

.staff-card.is-hidden {
  display: none;
}

.faculty-empty {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #e9f4fd;
  color: var(--primary);
  font-weight: 600;
}

.faculty-empty.active {
  display: inline-block;
}

.profile-highlight {
  border-left: 4px solid var(--mint);
  padding-left: 14px;
}

.project-list li {
  padding: 8px 0;
  color: var(--text-body);
}

.project-list li strong {
  color: var(--ink);
}
.staff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.staff-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
}
.staff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.staff-card .role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.staff-card .email {
  font-size: 0.8rem;
  color: var(--primary);
}

/* ========== STATS ========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.stat-item {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-item .number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ========== INFO BOX ========== */
.info-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}
.info-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-box ul li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.info-box ul li::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ========== NEWS CARDS ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.news-card-img {
  height: 200px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 2.5rem;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-body {
  padding: 24px;
  background: #fff;
  position: relative;
  z-index: 1;
}
.news-card .date {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-card p {
  font-size: 0.88rem;
  color: var(--text-body);
}

/* ========== CONTACT GRID ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.contact-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--accent); }
.contact-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-item p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 4px;
}
.contact-item a {
  color: var(--primary);
  font-weight: 500;
}
.contact-item a:hover { color: var(--accent); }

/* ========== TWO COLUMN ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.two-col-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 14px;
}
.two-col-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== EXPERTISE LIST ========== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.expertise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}
.expertise-item:hover {
  background: rgba(156,214,124,0.12);
  border-color: rgba(156,214,124,0.35);
}
.expertise-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ========== RESEARCH FOCUS ========== */
.research-focus-section {
  background: #f4f9f6;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.focus-card {
  background: #fff;
  border: 1px solid #d9e4df;
  border-radius: var(--radius);
  min-height: 260px;
  padding: 42px 34px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(8, 28, 21, 0.03);
}
.focus-card:hover {
  transform: translateY(-3px);
  border-color: #c9ddd3;
  box-shadow: 0 14px 34px rgba(8, 28, 21, 0.08);
}
.focus-tag,
.industry-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: #e9f4ef;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  padding: 10px 18px;
  margin-bottom: 24px;
}
.focus-card h3 {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.focus-card p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.65;
}
.focus-meta,
.industry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
  color: var(--primary-light);
  font-size: 0.92rem;
  font-weight: 700;
}
.focus-meta a,
.industry-meta a {
  color: var(--primary-light);
}
.focus-meta a:hover,
.industry-meta a:hover {
  color: var(--accent-hover);
}

/* ========== INDUSTRY COOPERATION ========== */
.industry-cooperation-section {
  background: #f4f9f6;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.industry-card {
  background: #fff;
  border: 1px solid #d9e4df;
  border-radius: var(--radius);
  min-height: 260px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(8, 28, 21, 0.03);
}
.industry-card:hover {
  transform: translateY(-3px);
  border-color: #c9ddd3;
  box-shadow: 0 14px 34px rgba(8, 28, 21, 0.08);
}
.industry-card-content {
  padding: 42px 34px;
}
.industry-card h3 {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.industry-card p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.65;
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg-dark);
  color: var(--text-secondary);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 5px 0;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.social-links a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ========== SEARCH BAR ========== */
.search-bar {
  position: relative;
  flex: 1;
  max-width: 420px;
}
.search-bar input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  padding: 10px 16px;
  color: #fff;
  font-size: 0.82rem;
  font-family: inherit;
  width: 100%;
  transition: var(--transition);
  outline: none;
}
.search-bar input::placeholder { color: rgba(255,255,255,0.4); }
.search-bar input:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--mint);
}
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 100;
}
.search-results.active { display: block; }
.search-results a {
  display: block;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-dark);
  border-bottom: 1px solid #f1f5f9;
}
.search-results a:hover { background: #f8fafc; color: var(--accent); }
.search-results .no-results {
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-body);
  text-align: center;
}
.search-results .result-title {
  font-weight: 600;
  color: var(--primary);
}
.search-results .result-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--text-body);
}

/* ========== PROFILE PAGE ========== */
.profile-hero {
  background: var(--gradient-1);
  padding: 60px 0;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 40px;
}
.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(78,165,217,0.45);
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-photo-initials {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  border: 4px solid rgba(78,165,217,0.45);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.profile-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.profile-info .profile-role {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.profile-info .profile-dept {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
}

.profile-contact-bar {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.profile-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.profile-contact-item .label {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.profile-contact-item .value {
  font-size: 0.92rem;
  color: #fff;
}
.profile-contact-item .value a {
  color: rgba(255,255,255,0.85);
}
.profile-contact-item .value a:hover { color: var(--accent); }

/* Publications */
.pub-list { max-width: 800px; }
.pub-item {
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
}
.pub-item:last-child { border-bottom: none; }
.pub-meta {
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pub-meta .pub-type {
  color: var(--accent);
  font-weight: 600;
}
.pub-meta .pub-year {
  color: var(--primary);
  font-weight: 600;
}
.pub-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--text-dark);
}
.pub-item h3 a { color: var(--primary); }
.pub-item h3 a:hover { color: var(--accent); }
.pub-journal {
  font-size: 0.88rem;
  color: var(--primary-light);
  font-style: italic;
  margin-bottom: 4px;
}
.pub-authors {
  font-size: 0.82rem;
  color: var(--text-body);
}
.pub-authors strong {
  color: var(--text-dark);
}
.more-pubs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
}
.more-pubs-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Staff card with photo */
.staff-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid rgba(78,165,217,0.35);
}
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .profile-header { flex-direction: column; text-align: center; gap: 24px; }
  .profile-photo, .profile-photo-initials { width: 140px; height: 140px; }
  .profile-photo-initials { font-size: 2.8rem; }
  .profile-info h2 { font-size: 1.8rem; }
  .search-bar { display: none; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-d1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-d2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-d3 { animation-delay: 0.3s; opacity: 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero h2 { font-size: 2.2rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .focus-grid, .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #091a2e;
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid var(--border);
  }
  nav ul.open { display: flex; }
  nav a { padding: 12px 16px; }
  .hero { min-height: 420px; }
  .hero h2 { font-size: 1.8rem; }
  .hero-content { padding: 48px 0; }
  .card-grid, .news-grid, .focus-grid, .industry-grid { grid-template-columns: 1fr; }
  .focus-card, .industry-card-content { padding: 30px 24px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .staff-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .top-bar { display: none; }
  .header-main { padding: 12px 0; }
}
@media (max-width: 480px) {
  .hero h2 { font-size: 1.5rem; }
  .hero-links { flex-direction: column; }
  .section { padding: 48px 0; }
  .stats-row { grid-template-columns: 1fr; }
}

/* Faculty search visibility helper class */
.staff-card.is-hidden {
  display: none !important;
}

/* ==============================================================================
   SPLIT HERO SECTION (TEXT LEFT + IMAGE CAROUSEL WITH ARROWS RIGHT)
   ============================================================================== */
.hero-split-section {
  background: linear-gradient(135deg, #001e36 0%, #002b49 50%, #083b66 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.hero-split-section::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; width: 40%;
  background: radial-gradient(circle at top right, rgba(0, 115, 183, 0.25), transparent 70%);
  pointer-events: none;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text-side {
  padding-right: 12px;
}
.hero-split-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #ffd700;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero-text-side h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-text-side h1 span {
  color: #38bdf8;
}
.hero-text-side p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 580px;
}
.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.stat-chip-item {
  display: flex;
  flex-direction: column;
}
.stat-chip-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.1;
}
.stat-chip-label {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-top: 2px;
}

/* Hero Carousel Right Side */
.hero-slider-side {
  position: relative;
  width: 100%;
}
.hero-carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: #001e36;
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}
.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 15, 30, 0.92) 0%, rgba(0, 15, 30, 0.65) 60%, transparent 100%);
  padding: 32px 24px 20px;
  color: #ffffff;
  z-index: 3;
}
.carousel-caption-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.carousel-caption-desc {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Slider Controls (Arrows & Dots) */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 20, 40, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.slider-arrow-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow-prev { left: 16px; }
.slider-arrow-next { right: 16px; }

.slider-dots-row {
  position: absolute;
  bottom: 12px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.slider-dot.active {
  background: #38bdf8;
  width: 26px;
  border-radius: 999px;
}

/* ==============================================================================
   WIDE SCREEN-FILLING IMAGE INFO BOXES (JYU-INSPIRED)
   ============================================================================== */
.info-box-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.info-box-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-box-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-box-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.info-box-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -6px rgba(0, 43, 73, 0.12);
  border-color: #cbd5e1;
}

.info-box-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}
.info-box-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.info-box-card:hover .info-box-img-wrap img {
  transform: scale(1.05);
}
.info-box-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 43, 73, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.info-box-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.info-box-content h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.35;
}
.info-box-content p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.info-box-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  transition: gap 0.2s ease;
}
.info-box-card:hover .info-box-link {
  gap: 12px;
}

/* ==============================================================================
   PROGRAMMES / STUDY WITH US PAGE
   ============================================================================== */
.programme-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  background: #f8fafc;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  width: fit-content;
}
.prog-filter-btn {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}
.prog-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 43, 73, 0.25);
}

.programme-detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.programme-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.prog-header-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.prog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prog-level-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.badge-undergrad { background: #e0f2fe; color: #0369a1; }
.badge-postgrad { background: #fef3c7; color: #92400e; }
.badge-phd { background: #f3e8ff; color: #6b21a8; }
.badge-cert { background: #dcfce7; color: #166534; }

.prog-meta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 0.82rem;
}
.prog-meta-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.72rem;
  text-transform: uppercase;
}

/* ==============================================================================
   FOR STUDENTS HUB PAGE
   ============================================================================== */
.student-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.shortcut-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 30, 60, 0.05);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.shortcut-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 16px 32px rgba(0, 30, 60, 0.12);
}
.shortcut-card-img {
  width: 100%;
  height: 150px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
.shortcut-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.shortcut-card:hover .shortcut-card-img img {
  transform: scale(1.06);
}
.shortcut-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 30, 60, 0.88);
  color: #ffffff;
  backdrop-filter: blur(4px);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
}
.shortcut-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shortcut-card-body h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.shortcut-card-body p {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}
.shortcut-card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s ease;
}
.shortcut-card:hover .shortcut-card-link {
  color: #0284c7;
  gap: 9px;
}

/* Accordion Component */
.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.accordion-header {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s ease;
}
.accordion-header:hover {
  background: #f8fafc;
}
.accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
  color: var(--accent);
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}
.accordion-body {
  display: none;
  padding: 0 22px 20px 22px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
}
.accordion-item.active .accordion-body {
  display: block;
}

/* ==============================================================================
   EXECUTIVE HEAD OF DEPARTMENT SHOWCASE (ABOUT US PAGE)
   ============================================================================== */
.hod-showcase-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 30, 60, 0.08);
  overflow: hidden;
  align-items: stretch;
}

.hod-portrait-col {
  background: linear-gradient(135deg, #001e36 0%, #002b49 50%, #083b66 100%);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.hod-portrait-frame {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #38bdf8 0%, #ffd700 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 20px;
  position: relative;
}

.hod-portrait-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #001e36;
}

.hod-nameplate h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.25;
}

.hod-title-creds {
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hod-role-sub {
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hod-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.hod-message-col {
  padding: 40px 44px 40px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hod-message-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hod-message-heading h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

.hod-quote-icon {
  font-size: 3.5rem;
  font-family: Georgia, serif;
  color: rgba(56, 189, 248, 0.25);
  line-height: 0.8;
}

.hod-quote-body p.hod-lead-quote {
  font-size: 1.1rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.hod-quote-body p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 14px;
}

.hod-signature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.hod-signature-badge .sig-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.hod-signature-badge .sig-role {
  font-size: 0.82rem;
  color: var(--text-body);
}

/* ==============================================================================
   ENHANCED FACULTY DIRECTORY CARDS (FACULTY PAGE)
   ============================================================================== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.staff-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 30, 60, 0.05);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 30, 60, 0.12);
  border-color: #38bdf8;
}

.staff-card-banner {
  height: 54px;
  background: linear-gradient(135deg, #001e36 0%, #002b49 50%, #083b66 100%);
  width: 100%;
}

.staff-card-body {
  padding: 0 22px 24px;
  margin-top: -38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.staff-photo-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.staff-photo-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid #38bdf8;
}

.staff-avatar-badge {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #002b49 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  border: 2px solid #38bdf8;
}

.staff-role-wrap {
  margin-bottom: 10px;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faculty-role-pill {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.role-pill-hod {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.role-pill-prof {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.role-pill-snr {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.role-pill-lecturer {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.staff-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.staff-spec {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 14px;
  min-height: 38px;
}

.staff-email-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--primary);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-weight: 600;
  word-break: break-all;
}

.staff-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  background: #eef6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.staff-view-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

@media (max-width: 992px) {
  .hero-split-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-text-side { padding-right: 0; }
  .info-box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-box-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student-shortcuts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alumni-spotlight-card { grid-template-columns: 1fr; }
  .hod-showcase-card { grid-template-columns: 1fr; }
  .hod-message-col { padding: 30px; }
}

@media (max-width: 640px) {
  .info-box-grid, .info-box-grid-2, .info-box-grid-4 { grid-template-columns: 1fr; }
  .student-shortcuts-grid { grid-template-columns: 1fr; }
  .hero-text-side h1 { font-size: 2.1rem; }
  .programme-filter-bar { width: 100%; border-radius: var(--radius-sm); }
  .prog-filter-btn { flex: 1; text-align: center; }
  .staff-grid { grid-template-columns: 1fr; }
}

/* ==============================================================================
   PUBLICATIONS STYLING (PICTURE, TYPE BADGE & FACULTY HIGHLIGHTING)
   ============================================================================== */
.pub-card-flex {
  background: #ffffff;  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(0, 30, 60, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.pub-card-flex:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  border-left-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 30, 60, 0.07);
}
.pub-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pub-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.pub-title-link {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 6px;
  display: inline-block;
  transition: color 0.2s ease;
}
.pub-title-link:hover {
  color: var(--accent);
}
.pub-venue {
  font-size: 0.9rem;
  font-style: italic;
  color: #0369a1;
  font-weight: 600;
  margin-bottom: 8px;
}
.pub-authors-row {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .pub-card-flex {
    flex-direction: column;
    gap: 14px;
  }
}
