
    div.sticky {
      position: -webkit-sticky;
      position: sticky;
      top: 0;
      z-index: 2;
    }

    /* Dropdown Menu */
    .topnav {
      overflow: hidden;
      background-color: #333;
      display: flex;          /* <-- Makes items line up horizontally */
      align-items: center;    /* <-- Centers everything vertically */
    }

    .topnav a, 
    .topnav button.reveal-phone-btn {
      float: left;
      display: block;
      color: #f2f2f2;
      text-align: center;
      padding: 12px 16px;
      text-decoration: none;
      font-size: 17px;
      font-family: inherit;
      background: none;
      border: none;
      cursor: pointer;
      margin: 0;
    }

    .topnav .icon {
      display: none;
    }
    /* Apply a smooth transition to all links and buttons inside the topnav */
    #myTopnav a, 
    #myTopnav .dropbtn, 
    #myTopnav .dropdown-content a {
      transition: background-color 0.4s ease, color 0.4s ease;
    }

    .topnav img, 
    .topnav .logo {
      max-height: 20px;
      width: auto;
      vertical-align: middle;
      display: inline-block;
      position: relative;
      top: -1px; /* Adjust this up or down (-1px to -3px) to align perfectly with text */
    }

    .dropdown {
      float: left;
      overflow: hidden;
    }

    .dropdown .dropbtn {
      font-size: 17px;    
      border: none;
      outline: none;
      color: white;
      padding: 12px 16px;
      background-color: inherit;
      font-family: inherit;
      margin: 0;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      background-color: #f9f9f9;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 1;
    }

    .dropdown-content a {
      float: none;
      color: black;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
      text-align: left;
    }

    .topnav a:hover, 
    .topnav button.reveal-phone-btn:hover, 
    .dropdown:hover .dropbtn {
      background-color: #555;
      color: white;
    }

    .dropdown-content a:hover {
      background-color: #ddd;
      color: black;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }
@media screen and (max-width: 960px) {
      .topnav {
        display: block; /* Turns off flexbox on mobile so dropdown rows stack cleanly */
      }
      .topnav a:not(:first-child), 
      .topnav button.reveal-phone-btn, 
      .dropdown .dropbtn {
        display: none;
      }
      .topnav a.icon {
        float: right;
        display: block;
      }
    }

    @media screen and (max-width: 960px) {
      .topnav.responsive {
        position: relative;
      }
      .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
      }
      .topnav.responsive a,
      .topnav.responsive button.reveal-phone-btn {
        float: none;
        display: block;
        text-align: left;
        width: 100%;
      }
      .topnav.responsive .dropdown {
        float: none;
      }
      .topnav.responsive .dropdown-content {
        position: relative;
      }
      .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
      }
    }
/*
<!-- for footer -->
*/

.navbar {
  width: 100%;
  background-color: #555;
  overflow: auto;
}

.navbar a {
  float: left;
  padding: 12px 0 12px 0;
  color: white;
  text-decoration: none;
  font-size: 17px;
  width: 25%; 
  text-align: center;
}

.navbar a:hover {
  background-color: #333333;
}

.navbar a {
  background-color: #000;
}

@media screen and (max-width: 500px) {
  .navbar a {
    float: none;
    display: block;
    width: 100%;
    text-align: left;
  }
}


