body {
  font: 1.2rem "Noto Sans", sans-serif;
  padding-bottom: 2rem;
  background-color: #f5fcfe;
}

/* Top Bar Styles */
.top-bar-container {
  background-color: #003a9f;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.top-bar {
  background-color: #003a9f;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0;
  color: white;
}

.contact-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.top-bar ul {
  background-color: #003a9f;
}

.top-bar .dropdown.menu {
  display: flex;
  align-items: center;
}

.top-bar .dropdown.menu > li {
  display: flex;
  align-items: center;
}

.top-bar .dropdown.menu > li > a.top-bar-text,
.top-bar .menu > li > a.top-bar-text,
.contact-bar .menu > li > a.top-bar-text {
  color: white !important;
  font-size: 1rem;
  padding: 0.7rem 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: transform 0.2s ease;
}

.top-bar .dropdown.menu > li > a.top-bar-text:hover,
.top-bar .menu > li > a.top-bar-text:hover,
.contact-bar .menu > li > a.top-bar-text:hover {
  color: white !important;
  background-color: #0046c2;
  transform: translateY(-1px);
}

.top-bar .dropdown.menu > li > a.top-bar-text:active,
.top-bar .menu > li > a.top-bar-text:active,
.contact-bar .menu > li > a.top-bar-text:active {
  transform: translateY(0);
}

/* Special styling for important menu items */
.top-bar .menu > li > a.top-bar-text.important-item,
.contact-bar .menu > li > a.top-bar-text.important-item {
  background-color: #0046c2;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  margin: 0.2rem 0.5rem;
  padding: 0.5rem 1rem;
  height: auto;
  color: white !important;
}

.top-bar .menu > li > a.top-bar-text.important-item:hover,
.contact-bar .menu > li > a.top-bar-text.important-item:hover {
  background-color: #0051df;
  border-color: rgba(255,255,255,0.5);
  color: white !important;
}

/* Make sure dropdown items also have white text */
.is-dropdown-submenu > li > a {
  color: white !important;
  font-size: 1rem;
  padding: 0.7rem 1rem;
}

.is-dropdown-submenu > li > a:hover {
  color: white !important;
  background-color: #0046c2;
}

.is-dropdown-submenu {
  border: 1px solid #002a7f;
  background-color: #003a9f;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.dropdown.menu > li.is-dropdown-submenu-parent > a::after {
  border-color: white transparent transparent;
  right: 5px;
}

/* Ensure there's space for the arrow */
.dropdown.menu > li.is-dropdown-submenu-parent > a.top-bar-text {
  padding-right: 1.5rem;
}

.contact-container {
  width: 100%;
  display: flex;
}

.contact-info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0 1rem;
}

.contact-info li {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 0.5rem;
  color: white;
}

.contact-info a {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

h1 {
  margin-top: 1rem;
}

/* Card */
.card {
  /* height: 15.5rem; */
  margin-bottom: 0rem;
  padding-bottom: 0rem;
}

.card-section {
  font-size: 0.8rem;
  padding: 0rem;
  background: inherit
}

.double-size {
  min-width: 40%;
}

.thumbnail {
  margin: 0;
  border: none;
  box-shadow: none;
}

.block {
  border-style: solid;
  border-width: 0.5px;
  margin-bottom: 1rem;
  background: whitesmoke;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
  scroll-margin-top: 120px; /* Adjust this value based on your header height */
}

.scrollable-bar {
  overflow-x: scroll;
}

.mb0 {
  margin-bottom: 0rem;
}

.mb05 {
  margin-bottom: .5rem;
}

/* Add some spacing for the content below the fixed top bar */
.grid-container {
  margin-top: 1rem;
}

/* Make the site name slightly larger than other items */
.menu-text.top-bar-text {
  font-size: 1.15rem;
  font-weight: 500;
}
