:root {
  --nitw-blue: #105491;
  --nitw-blue-dark: #082a49;
  --nitw-navy: #0d1b2b;
  --nitw-overlay: #09111c;
  --nitw-gold: #c9972c;
  --nitw-gold-2: #e3b65c;
  --nitw-gold-soft: rgba(201, 151, 44, 0.18);
  --paper: #edf1f5;
  --ink: #16283d;
  --muted: #5b6b7c;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4, .serif { font-family: "Fraunces", Georgia, serif; }

.header-brand-nav {
  background: linear-gradient(to right, #105491 0%, #105491 35%, #082a49 100%) !important;
  padding: 0.35rem 0;
  box-shadow: 0 6px 20px rgba(8, 42, 73, 0.28);
}
.header-brand-nav .navbar-brand {
  color: #fff !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-brand-nav .navbar-brand img { height: 42px; width: auto; background: #fff; border-radius: 6px; padding: 3px; }
.header-brand-nav .nav-link {
  color: #e8ecf1 !important;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.55rem 0.7rem !important;
}
.header-brand-nav .nav-link:hover,
.header-brand-nav .nav-link.active,
.header-brand-nav .dropdown-toggle.show {
  color: var(--nitw-gold-2) !important;
}
.header-brand-nav .dropdown-menu {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(8, 42, 73, 0.18);
  padding: 0.4rem;
}
.header-brand-nav .dropdown-item {
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
}
.header-brand-nav .dropdown-item:hover {
  background: var(--nitw-gold-soft);
  color: var(--nitw-blue-dark);
}

.hero {
  position: relative;
  min-height: 86vh;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.campus-bg {
  position: absolute;
  inset: 0;
  background: url("../img/campus-bg.png") center/cover no-repeat;
  transform: scale(1.04);
}
.campus-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9,17,28,0.94) 0%, rgba(9,17,28,0.80) 38%, rgba(9,17,28,0.55) 62%, rgba(9,17,28,0.35) 100%),
    linear-gradient(0deg, rgba(9,17,28,0.55) 0%, rgba(9,17,28,0.05) 30%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0 80px; }
.kicker {
  display: inline-block;
  background: rgba(201,151,44,0.18);
  border: 1px solid rgba(227,182,92,0.45);
  color: var(--nitw-gold-2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.1; margin: 16px 0; }
.gold { color: var(--nitw-gold-2); }
.meta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 14px;
  border-radius: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
}
.btn-gold {
  background: linear-gradient(135deg, #c9972c, #e3b65c);
  color: #082a49;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
}
.btn-gold:hover { color: #041422; filter: brightness(1.05); }
.btn-outline-light-pill {
  border: 1.5px solid rgba(232,236,241,0.6);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  padding: 10px 18px;
}
.btn-outline-light-pill:hover { background: #fff; color: var(--nitw-blue-dark); }

.page-hero {
  position: relative;
  color: #fff;
  padding: 120px 0 48px;
  overflow: hidden;
}
.page-hero .campus-bg { background-position: center 40%; }
.section { padding: 72px 0; }
.card-n {
  background: #fff;
  border: 1px solid rgba(16,84,145,0.1);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(8,42,73,0.08);
}
.topic-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #105491, #082a49);
  color: #fff; margin-bottom: 12px; font-size: 1.25rem;
}
.table thead { background: #105491; color: #fff; }
.footer-n {
  background: linear-gradient(to right, #082a49, #0d1b2b);
  color: #e8ecf1;
  padding: 42px 0 18px;
}
.footer-n a { color: var(--nitw-gold-2); text-decoration: none; }
.countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.count-box {
  min-width: 72px; text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 10px 8px;
}
.count-box strong { display: block; color: var(--nitw-gold-2); font-size: 1.35rem; }
.person h5 { margin-bottom: 4px; }
.role { color: var(--nitw-blue); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 991px) {
  .hero { min-height: auto; }
}
