.navbar {
  padding: 1rem 2rem;
  box-shadow: var(--shadow);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.maps-header {
  background-color: #0b3158 !important;
}

.modern-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  animation: fadeIn 0.6s ease-in;
}

.modern-header {
  margin-bottom: 2rem;
  padding: 1rem 0;
  text-align: center;
}

.modern-header h2 {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modern-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.hero-title h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-title p {
  color: var(--text-light);
  font-size: 1.2rem;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
}

.page-header i {
  color: var(--secondary-color);
  font-size: 1.8rem;
}

.page-header h4 {
  color: var(--primary-color);
  margin: 0;
}

.modern-footer {
  margin-top: 2rem;
  padding: 1.5rem 1rem;
  background: var(--lab-footer-bg);
  color: var(--white);
}

.footer-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-nav a,
.modern-footer a,
.modern-footer .footer-links a {
  color: #f4f8ff !important;
  text-decoration: none;
}

.footer-nav a:hover,
.modern-footer a:hover,
.modern-footer .footer-links a:hover {
  color: var(--accent-color) !important;
}

.footer-bottom-compact {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  text-align: center;
}

.footer-disclaimer {
  color: var(--warning-color);
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.copyright {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.8rem !important;
  opacity: 0.7;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (width <= 768px) {
  .modern-section {
    margin: 1rem auto;
    padding: 1rem;
  }

  .hero-title h2 {
    font-size: 2rem;
  }

  .modern-header h2 {
    font-size: 1.5rem;
  }
}

@media (width <= 480px) {
  .hero-title h2 {
    font-size: 1.5rem;
  }

  .modern-footer {
    padding: 2rem 1rem 0.5rem;
  }
}
