.whatsapp_float {
  position: fixed;        
  bottom: 20px;           
  right: 20px;            
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
  z-index: 9999;
  width: 55px;
  height: 55px;
  line-height: 55px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp_float:hover {
  transform: scale(1.1);
  box-shadow: 3px 3px 6px rgba(0,0,0,0.4);
  color: #fff;
}

.whatsapp-icon {
  vertical-align: middle;
}
  
 @media (max-width: 1024px) {
  #mainNav {
    display: none;
    flex-direction: column;
    width: 100%;
   
    position: absolute;
    top: 60px; /* adjust to match header height */
    left: 0;
    z-index: 9999;
    padding: 10px 0;
    margin-top:100px;
    background-color:#163666;
  }

  #mainNav.show {
    display: inline-flex;
   
  }

  #mainNav li {
    list-style: none;
    margin: 10px 0;
    text-align: center;
    height:1px !important;
  }
#mainNav>li>.sub-menu  {
   position: absolute;
    height: 100px;
    width: 100%;
  }
  #mainNav li a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
  }

  #mainNav li a:hover {
    background-color: #005177; /* highlight on hover */
    border-radius: 5px;
  }

  /* Sub-menu styling */
  #mainNav li ul {
    display: none;
    flex-direction: column;
    padding-left: 20px;
  }

  #mainNav li:hover > ul {
    display: flex; /* show sub-menu on hover */
  }
  
  
}
@media (max-width: 1024px) {
  #mainNav li {
    margin: 5px 0;        /* reduce vertical margin */
    padding: 0;           /* remove padding from li if any */
  }

  #mainNav li a {
    padding: 8px 12px;    /* control padding inside links */
    display: block;
    line-height: 1.3;     /* tighter line height for compactness */
  }
}
