body {
    margin: 0;
    font-family: Arial, sans-serif;
  }
  
  #nav {
    background-color: aliceblue;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f9fa;
  }
  .navbar-shrink {
    padding: 5px 20px; /* Decrease padding when navbar shrinks */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow for visibility */
    position: fixed; /* Fix navbar position when scrolled */
    top: 0; /* Position navbar at the top */
    width: 100%; /* Ensure full width */
    z-index: 1000; /* Set z-index higher than other elements */
  }
  .navbar-brand img {
    height: 80px; /* Retaining the original height */
    width: auto; /* Ensure logo responsiveness */
    mix-blend-mode: unset;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
  }
  
  .nav-links a {
    color: #343a40;
    text-decoration: none;
    margin-left: 20px;
    padding: 10px;
    transition: transform 0.3s, color 0.3s;
  }
  
  .nav-links a:hover {
    color: #000;
  }
  
  .nav-links a.active {
    color: #000;
    transform: scale(1.1);
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f8f9fa;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: #343a40;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
  }
  
  .dropdown-content a:hover {
    color: #000;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .navbar-toggler {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .navbar-toggler span {
    background-color: #343a40;
    height: 2px;
    margin: 4px 0;
    width: 25px;
  }
  
  @media (max-width: 768px) {
    .navbar-brand img {
      height: 80px; /* Retaining the original height */
    }
    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      align-items: flex-start; /* Align titles to the left */
    }
    .nav-links a {
      margin-left: 0;
      text-align: left; /* Align titles to the left */
      padding: 15px;
      border-top: 1px solid #ddd;
      width: 100%;
    }
    .navbar-toggler {
      display: flex;
    }
    .navbar-toggler.active + .nav-links {
      display: flex;
      justify-content: flex-start; /* Align titles to the left */
    }
  }
  