:root {
  --brand-primary: #245463;
  --brand-primary-dark: #183a45;
  --brand-accent: #00bade;
  --brand-text: #1f2d3d;
  --brand-muted: #6c757d;
  --brand-bg: #f5f8fa;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--brand-text);
  background: #fff;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  color: var(--brand-primary-dark);
}

.top-strip {
  background: #fbfcfd;
}

.top-strip a {
  font-weight: 500;
}

.site-header .navbar {
  min-height: 82px;
}

.brand-logo {
  height: 52px;
  width: auto;
}

.brand-text {
  font-weight: 700;
  color: var(--brand-primary-dark);
  font-size: 1rem;
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--brand-text);
  padding-inline: 0.9rem !important;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.show {
  color: var(--brand-primary);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.4rem;
  height: 3px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.navbar .dropdown-toggle::after {
  margin-left: 0.4rem;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.show::after {
  transform: scaleX(1);
}

.dropdown-menu {
  border-radius: 0.9rem;
  padding: 0.6rem;
  min-width: 16rem;
}

.dropdown-item {
  border-radius: 0.7rem;
  padding: 0.75rem 0.9rem;
  font-weight: 500;
  white-space: normal;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(36, 84, 99, 0.09);
  color: var(--brand-primary);
}

.departments-menu {
  max-height: 60vh;
  overflow: auto;
}

.mobile-menu-links a {
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  font-weight: 500;
}

.hero-section {
  min-height: 720px;
  background: #111;
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.8s ease, transform 6s ease;
}

.hero-bg-image.active {
  opacity: 1;
  transform: scale(1.05);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero-copy,
.hero-card-wrap {
  position: relative;
  z-index: 2;
}

.eyebrow {
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.hero-copy .lead {
  max-width: 42rem;
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-dot.active {
  background: var(--brand-accent);
  box-shadow: 0 0 0 5px rgba(0, 186, 222, 0.2);
}

.btn-primary {
  --bs-btn-bg: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: var(--brand-primary-dark);
  --bs-btn-hover-border-color: var(--brand-primary-dark);
  --bs-btn-active-bg: var(--brand-primary-dark);
  --bs-btn-active-border-color: var(--brand-primary-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: var(--brand-primary);
  --bs-btn-hover-border-color: var(--brand-primary);
  --bs-btn-active-bg: var(--brand-primary-dark);
  --bs-btn-active-border-color: var(--brand-primary-dark);
}

.hero-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.hero-nav-btn:hover {
  background: var(--brand-primary);
  color: #fff;
}

.hero-cards-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.hero-cards-scroll::-webkit-scrollbar {
  height: 8px;
}

.hero-cards-scroll::-webkit-scrollbar-thumb {
  background: rgb(243, 236, 236);
  border-radius: 999px;
}

.hero-card {
  flex: 0 0 clamp(260px, 42vw, 430px);
  min-height: 390px;
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  background: #000;
  border: 2px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  opacity: 0.68;
}

.hero-card.active {
  transform: translateY(-6px);
  border-color: rgb(241, 235, 235);
  opacity: 1;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card .card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.2rem 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.92) 100%);
}

.hero-card .card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.hero-card .card-meta {
  font-size: 0.78rem;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-section {
  background: var(--brand-bg);
}

.info-card {
  border-radius: 1.2rem;
  overflow: hidden;
}

.info-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.spotlight-section {
  background: var(--brand-primary-dark);
}

.spotlight-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}

.spotlight-scroll::-webkit-scrollbar {
  height: 8px;
}

.spotlight-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.spotlight-card {
  flex: 0 0 min(480px, 88vw);
  display: grid;
  grid-template-columns: 38px 44% 1fr;
  background: var(--brand-primary);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 280px;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.spotlight-card:hover {
  color: #fff;
  transform: translateY(-4px);
}

.spotlight-label {
  background: rgba(0, 0, 0, 0.08);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}

.spotlight-image-wrap {
  padding: 1.2rem;
}

.spotlight-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 0.85rem;
}

.spotlight-body {
  padding: 1.5rem 1.35rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  width: fit-content;
}

.spotlight-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.spotlight-nav-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.spotlight-nav-btn:hover {
  background: var(--brand-primary);
  color: #fff;
}

.site-footer {
  background: #10252d;
}

.footer-copy,
.footer-copy a,
.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links li + li {
  margin-top: 0.55rem;
}

.footer-links a:hover,
.footer-copy a:hover {
  color: #fff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.09);
}

@media (min-width: 1200px) {
  .nav-dropdown-wide .dropdown-menu {
    min-width: 24rem;
  }

  .departments-menu {
    width: 30rem;
    column-count: 2;
    column-gap: 0;
  }

  .departments-menu li {
    break-inside: avoid;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-block: 4rem 3rem;
  }

  .hero-card {
    flex-basis: 320px;
    min-height: 250px;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .spotlight-label {
    writing-mode: horizontal-tb;
    transform: none;
    padding: 0.65rem 1rem;
    justify-content: flex-start;
  }

  .spotlight-image-wrap {
    padding: 1rem 1rem 0;
    min-height: 180px;
  }

  .spotlight-body {
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  .brand-logo {
    height: 44px;
  }

  .hero-copy .display-5 {
    font-size: 2rem;
  }

  .hero-card {
    flex-basis: 265px;
    min-height: 200px;
  }

  .hero-card .card-title {
    font-size: 0.95rem;
  }
}