* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Familjen Grotesk', sans-serif;
}
::-webkit-scrollbar {
    width: 3px;
}
::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 70px;
}
::-webkit-scrollbar-track {
    background: #D1CEC7;
}
body {
  background-color: #f2f1ed;
  font-family: "Familjen Grotesk", sans-serif;
  overflow-x: hidden;
}
.nav-container {
  height: 140px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #f2f1ed;
}
.top-nav {
  /* height: 45px; */
  width: 100%;
  background: #992e00;
  justify-content: space-evenly;
  align-items: center;
  gap: 43px;
  display: inline-flex;
  padding: 0 17px 0 23px;
}
.college-info {
  /* width: 45%; */
  color: var(--Colors-Tone-Cool-1, #f7f8ff);
  text-align: left;
  font-family: Kohinoor Devanagari;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}
.topnav-ul {
  /* width: 55%; */
  list-style: none;
  background: #992e00;
  padding: 10px 39px;
  display: inline-flex;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 0;
  gap: 30px;
}
.dropdown_topnavtxt {
  text-decoration: none;
  text-align: center;
  color: white;
  font-size: 15px;
  font-family: Familjen Grotesk;
  font-weight: 400;
  line-height: 22px;
  word-wrap: break-word;
  transition: all ease-in-out 0.5s;
  border: 0px;
}
.dropdown-content {
  color: black;
  display: none;
  width: 140px;
  position: absolute;
  z-index: 9999;
  padding: 5px;
  box-shadow: -1px 9px 11px 1px #85838375;
  background: #f2f1ed;
}
.dropdown-content a {
  text-decoration: none;
  color: #992e00;
  border-bottom: 1px solid #a5a1a12e;
  padding: 3%;
  text-align: left;
}
.dropdown-content a:last-child {
  border: none;
}

.dropdown-content:hover a {
  text-decoration: none;
}
.dropdown-content a:hover {
  border-bottom: 2px solid #992e00;
}
.dropdown_topnavtxt:hover {
  border-bottom: 1px white solid;
}
.ql svg path {
  fill: white;
}
.container {
  /* width: 1255px; */
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
#desktopheader {
  display: block;
  width: 250px;
}
#mobileheader{
    display: none;
    width: 40px;
}
.vignan-logo {
    width: 100%;
}
.navbar-nav {
    display: inline-flex;
    gap: 39px;
}
.navbar-nav li{
    list-style-type: none;
}
.navbar-nav li a{
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-family: Familjen Grotesk;
    font-weight: 400;
    line-height: 37px;
}
.navbar-nav li a:hover {
    color: #992E00 ;
}
.dropdown-menu {
    border: 0;
    border-radius: 0;
    width: 18%;
    box-shadow: 9px 15px 17px #2223248c;
    padding-bottom: 0% !important;
    height: auto;
    left: auto;
    position: absolute;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background: #F2F1ED;
}
.megamenu-options {
    list-style: none;
    color: black;
    font-family: Familjen Grotesk;
    font-weight: 500 !important;
    text-transform: uppercase;
    line-height: 25px !important;
    word-wrap: break-word;
    text-decoration: none !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    display: inline-flex;
    width: 216px;
    padding: 5px;
    font-size: 16px;
}
.first-nav-options{
  display: none;
}
/* Hide desktop elements and show hamburger on mobile */
@media (max-width: 767.99px) {
  .container{
    padding: 0px 20px;
  }
    .header-ul {
      display: none;
    }
    .nav-container {
        flex-direction: column;
        height: auto;
    }

    #mobileheader {
        display: block;
    }

    #desktopheader {
        display: none;
    }

    .navbar-toggle {
        display: block;
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        margin-left: auto;
        border: 1px solid transparent;
        border-radius: 4px;
        border-color: #ddd;
    }

    .icon-bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 4px auto;
        background-color: #333;
    }

    .header-ul.show {
        display: flex;
        flex-direction: column;
        background-color: #f2f1ed;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
        padding: 0px 20px;
    }
    .megamenu-options{
      width: auto;
      gap: 10px;
      font-size: 14px;
    }
    .dropdown-menu{
      width: auto;
      display: none;
      flex-direction: column;
      background: #f2f1ed;
      transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .header-ul li {
        padding: 0px 10px;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
        max-height: 500px;
    }

    .dropdown svg {
        transform: rotate(0deg);
        transition: transform 0.3s;
    }

    .dropdown.active svg {
        transform: rotate(180deg);
    }
    .navbar-nav{
      gap: 0px;
    }
    .navbar-nav li a{
      font-size: 14px;
    }
    .first-nav-options{
      display: flex;
    }
}
@media (min-width: 768px) and (max-width: 1119px) {
  .first-nav-options{
    display: none;
  }
    .top-nav {
        padding: 8px 17px 0px 23px;
        flex-direction: column;
        gap: 10px;
    }
    .college-info {
        width: 100%;
        text-align: center;
        font-size: 12px !important;
    }
    
    #desktopheader { 
        width: 120px;
    }
    .navbar-nav {
        gap: 20px;
    }
    .navbar-nav li a{
        font-size: 16px;
        line-height: 30px;
    }
    .megamenu-options{
        width: auto;
        font-size: 12px !important;
        line-height: 14px !important;
        gap: 15px;
    }
}

@media (min-width: 600) and (max-width: 1119px){
  .topnav-ul {
    width: 100%;
    padding-top: 0px;
    padding-bottom: 0px;
    justify-content: space-around;
}
}
@media (max-width: 599.99px) {
  .topnav-ul{
    display: none;
  }
}