/* =====================================================================
   PUBLIC INFORMATION HUB STYLESHEET (index.css)
   Palette: Royal Purple (#431B82), Deep Violet (#230B4A), Gold (#F7C32E)
   ===================================================================== */

:root {
  --csc-primary: #431B82;
  --csc-accent: #F7C32E;
  --csc-dark: #230B4A;
  --csc-bg: #F8FAFC;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--csc-bg);
  color: #1e293b;
  margin: 0;
  padding: 0;
}

.app-header {
  background: linear-gradient(90deg, #230B4A 0%, #35126B 55%, #230B4A 100%);
  border-bottom: 3px solid var(--csc-accent);
}

.nav-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #475569;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.nav-btn:hover {
  background-color: #f3e8ff;
  color: var(--csc-primary);
  border-color: #d8b4fe;
}

.nav-active {
  background-color: var(--csc-primary) !important;
  color: #ffffff !important;
  border-color: var(--csc-primary) !important;
  box-shadow: 0 4px 10px rgba(67, 27, 130, 0.3) !important;
}

/* Photo Banner Slideshow */
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background-color: rgba(35, 11, 74, 0.75);
  color: #ffffff;
  border: 2px solid var(--csc-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 30;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.banner-nav-btn:hover {
  background-color: var(--csc-accent);
  color: var(--csc-dark);
  transform: translateY(-50%) scale(1.08);
}

.banner-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(35, 11, 74, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.banner-dot.active {
  width: 2rem;
  background-color: var(--csc-accent);
}

/* Portal Cards */
.portal-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.15rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(67, 27, 130, 0.12);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }