:root {
  --bs-primary: #005fa3;
  --bs-secondary: #338eda;
}

body {
  color: #1c1c1c;
  background: linear-gradient(135deg, #f3f7fc 0%, #d9e4f2 100%);
  min-height: 100vh;
}

p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.card {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.08); /* Slight left push */
}

.card h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}

.card hr {
  margin-left: 0;
  border-top: 1px solid #005fa3;
}

.navbar {
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.navbar .navbar-brand svg {
  width: 200px;
  height: 44px;
  transition: width 0.3s ease, height 0.3s ease;
}

.nav-link.active-page {
  color: #fff;
  cursor: default;
  pointer-events: none;
  font-weight: bold;
}

.nav-link.disabled {
  pointer-events: none;
  opacity: 1;
}

.navbar-shrink {
  padding-top: 0.15rem !important;
  padding-bottom: 0.15rem !important;
}

.navbar-shrink .navbar-brand svg {
  width: 160px !important;
  height: 38px !important;
}

.hero {
  background: var(--bs-secondary); /* required behind the pattern */
  color: white;
  min-height: 270px;
  padding: 70px 20px 0;
  text-align: center;
  display: flex;
  align-items: center;
  position: relative;
}

footer {
  background-color: var(--bs-primary);
  color: white;
  padding: 20px 0;
  margin-top: 40px;
}

/* FIX: Explicitly set beaker icon color and size */
.navbar-brand .bi-beaker {
  color: #ffffff !important;
  font-size: 2rem !important;
}

.popup-trigger {
  color: var(--bs-primary);
  text-decoration: underline dotted;
  cursor: pointer;
}

.popup-trigger:hover {
  text-decoration: underline solid;
}

.popover {
  background-color: #f3f7fc;
  border: 2px solid var(--bs-primary);
  border-radius: 12px;
  max-width: 320px;
  font-size: 0.875rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.popover-header {
  font-weight: 600;
  background-color: var(--bs-primary);
  color: white;
  border-bottom: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.popover-body {
  color: #1c1c1c;
  padding: 0.75rem;
}

