.nav-1 {
  background: #2c52a0;
  color: white;
  display: flex;
  align-items: center;
  padding: 2px 0;
  overflow: visible;
}

.nav-1-content {
  /* border:2px solid red; */
  width: 1110px;
  display: flex;
  margin: auto;
  justify-content: space-between;
  align-items: center;
}

.nav-1-first {
  display: flex;
  gap: 16px;
}

.nav-1-second {
  display: flex;
}

.nav-1 a {
  color: white;
  text-decoration: none;
  font-size: 12.5px;
  transition: color 0.3s ease;

  font-weight: 300;
}

.nav-1-second a {
  font-size: 13px;
  padding: 8px 14px;
  transition: background-color 0.3s ease;
}

.nav-1-second a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}
.resp-nav1,
.sidebar {
  display: none;
}

@media only screen and (min-width: 320px) and (max-width: 600px) {
  * {
    position: relative;
    color: #666;
  }
  .header {
    display: none !important;
  }
  .resp-nav1 {
    z-index: 100;
    position: sticky;
    top: 0;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: end;
    background-color: white;
    border: 2px solid rgb(255, 255, 255);
  }
  .resp-nav1-div {
    height: 4rem;
    /* border: 2px solid rgb(215, 21, 21); */
    width: 97%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .resp-nav1-div-div1 {
    width: 10%;
    /* border: 2px solid black; */
  }
  .resp-nav1-div-div1 i {
    margin-left: 15px;
    font-size: 1.8rem;
  }
  .resp-nav1-div-div2 {
    width: 50%;
    /* border: 2px solid black; */
  }
  .resp-nav1-div-div2 img {
    height: 3.2rem;
    width: 100%;
  }
  .resp-nav1-div-div3 {
    width: 10%;
    display: flex;
    justify-content: end;
    /* border: 2px solid black; */
  }
  .resp-nav1-div-div3 i {
    margin-right:15px ;
    font-size: 1.5rem;
  }
  .nav-2 {
    display: none;
  }
  .sidebar {
    position: fixed;
    display: block;
    top: 0;
    left: -65%; /* Initially hidden */
    width: 65%;
    height: 100%;
    overflow: scroll;
    background-color: white;
    transition: left 0.5s ease-in-out; /* Smooth slide effect */
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  }

  /* Show sidebar when 'open' class is added */
  .sidebar.open {
    left: 0;
  }

  /* Sidebar links */
  .sidebar ul {
    list-style: none;
    /* border: 2px solid black; */
    padding-left: 0;
    margin-left: 0;
    width: 100%;
  }

  .sidebar ul li {
    padding: 13px 0;
    align-items: center;
    border-bottom: 1px solid #ddd;
  }
  .sidebar ul li i{
    /* border:2px solid black; */
    position: absolute;
    top:27%;
    font-size: 1.2rem;
    right: 2%;
  }
  .sidebar ul li a {
    padding: 10px 15px;
    width: 100%;
    text-decoration: none;
    font-size: 1rem;
    color: #666;
  }
  .sidebar ul li:hover{
    background-color: #ddd;
  }
  .ul-li:hover a {
    color: lightseagreen !important; /* Change to desired color */
    transition: color 0.3s ease-in-out; /* Smooth transition */
  }
.resp-nav1.menu-active{
  margin-left: 65%;
  transition: 0.5s ease-in-out;
  width:100%;
  height: 90px;
}
.myroute.menu-active{
  margin-left: 65%;
  transition: 0.5s ease-in-out;
  width:100%;
  height: 90px;
}
.resp-nav1.not-active{
  width:100%;
  margin-left: 0;
  transition: 0.5s ease-in-out;

}
.myroute.not-active{
  width:100%;
  margin-left: 0;
  transition: 0.5s ease-in-out;

}
  /* Overlay to push content */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
  }
 
  .about-cnt a{
    text-decoration: none;
  }
  .about-cnt a div{
    font-size: 15px;
    padding: 10px 15px;
    border-bottom: 1px dashed #ddd;
  }
  .about-cnt a div:hover{
    margin-left: 5px;
   color:lightseagreen;
  }

  .dept-row {
    padding:0px 15px;
    margin-top: 1rem !important;
  }
  .dept-p2{
    font-size: 15px;
  }
  .nav-cnt.active {
    /* background-color: #ddd; */
    color:lightseagreen;
    transition: color 0.3s ease-in-out;
  }
 
  .rotate {
    transition: scale 0.5 transform 0.9s ease-in-out;
  }
  .browse-cnt a{
    text-decoration: none;
  }
  .browse-cnt a div{
    font-size: 15px;
    width: 100%;
    padding: 10px 15px;
    border-bottom: 1px dashed #ddd;
  }
  .browse-cnt a div:hover{
    margin-left: 5px;
   color:lightseagreen;
  }
  .ul-li-last{
    background-color: #2c52a0 !important;
   
  }
 .ul-li-last:hover{
  background-color: lightseagreen !important;
 }
 
}
