<style>
  /* General styles */
  html, body {
    height: 100%;
  }

  body {
    display: flex;
    flex-direction: column;
  }

  main {
    flex: 1;
  }

  .navbar-brand {
    font-weight: bold;
    font-size: 2rem;
    transition: color 0.3s ease;
  }

  .navbar-brand:hover {
    color: #0d6efd;
  }

  .nav-link {
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #0d6efd;
    background-color: #e6f0ff;
    border-radius: 0.25rem;
  }

  .btn {
    transition: all 0.3s ease;
  }

  .btn:hover {
    transform: scale(1.03);
  }

  footer {
    flex-shrink: 0;
  }

  /* --- Responsive logo sizing --- */
  .logo-img {
    max-width: 800px;   /* default for desktop */
    width: 100%;        /* scale down with container */
    height: auto;       /* keep aspect ratio */
  }

  /* On small screens, reduce max width */
  @media (max-width: 576px) {
    .logo-img {
      max-width: 300px;  /* limit logo size on smartphones */
    }
  }
</style>
