*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html, body {
    overflow-x: hidden;
  }
  body {
    position: relative
  }

.header {
    width: 100%;
    height: 60vh;
    background-position: center;
    background-size: cover;
}

.nav-baar{
    width: 100%;
    text-align: center;
    background-color: white;
}

.logo{
    width: 200px;
    margin: 40px 0;
    cursor: pointer;
}

.line{
    border-bottom: 1px solid rgb(212, 212, 212);
    width: 100%;
    height: 0;
}

.big-menu{
    width: 100%;
    margin-top: 10px;
}

.drop-list{
    width: 100%;
    margin-top: 10px;
}

.main-list{
    display: inline-block;
    list-style: none;
    margin: 5px 5px 10px 5px;
    color: black;
    font-size: 15px;
    font-family: 'Arial', sans-serif;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 250ms ease-in-out;
}

.drop-list-item{
    display: inline-block;
    list-style: none;
    margin: 5px 5px 10px 5px;
    color: black;
    font-size: 12px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 250ms ease-in-out;
}



.main-list:hover{
    background-color: #38694a;
    cursor: pointer;
}

.drop-list-item:hover{
    background-color: #38694a;
    cursor: pointer;
}

#l-list:hover > #a-list{
    color: white;
}


#a-list{
    text-decoration: none;
    color: black;
    transition: 250ms;
}

#menu li a:hover{
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.text{
    padding: 20px 8%;
}

nav.sticky{
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px 8%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 250ms ease-out;
    z-index: 99;
}

nav.sticky ul{
    width: auto;
}

nav.sticky img{
    width: 100px;
    margin: 10px 0;
}

nav.sticky div {
    display: none;
}

nav.sticky ul li{
    margin: 0px 5px 0px 5px;
}

.drop-list{
    position: absolute;
    box-shadow: 0 0 10px rgb(64, 64, 64);
    background-color: white;
    border-radius: 0.2rem;
    width: 14rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.1rem;
    opacity: 0;
    visibility: hidden;
    transition: 150ms ease-in-out;
    transform: translatey(-5px);
    z-index: 1;
  }
  
  .main-list:hover ul,
  .main-list:focus ul{
    transform: translatey(0);
    opacity: 1;
    visibility: visible;
  
  }
  
  
  .main-list:hover::after,
  .main-list:focus::after{
      width: 80%;
  
  }
  
  .drop-list-item{
    font-weight: 500;
    font-size: 15px;
    font-family: Arial, sans-serif;
    margin: 0;
    text-decoration: none;
  }

  .drop-list-item a{
    padding: 10px 10px 10px 5px;
    margin: -10px -10px -10px -5px;
  }

  .main-list a{
    padding: 10px 120px 10px 5px;
    margin: -10px -120px -10px -5px;
  }

/* floating menu */
.float-menu{
  position: fixed;
  width: 90px;
  margin-top: 300px;
  transition: all 0.2s linear;
}

.float-menu li{
    top: 5px;
  height: 60px;
  position:relative;
  left: -45px;
}

.float-icon {
  color: white;
  display: block;
  height: 100%;
  width: 100%;
  line-height: 60px;
  padding-left:25%;
  border-bottom: 1px solid rgba(0,0,0,.4);
  transition: all .2s linear;
}
.float-menu li:nth-child(1) a{
  background: #e8a83b;
}
.float-menu li:nth-child(2) a{
  background: #e4b86c;
}
.float-menu li:nth-child(3) a{
  background: #dbc195;
}

.float-list a i{
  position:absolute;
  top: 17px;
  left: 20px;
  font-size: 27px;
}
.float-list a span{
  display: none;
  font-weight: 600;
  font-family: Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.float-list a:hover {
  z-index:1;
  width: 200px;
  text-decoration: none;
  color: white;
  border-bottom: 1px solid rgba(0,0,0,.5);
  box-shadow: 0 0 1px 1px rgba(157, 157, 157, 0.3);
}
.float-list:hover .float-text{
  padding-left: 30%;
  display: block;
}

  /* NAV CSS OVER */

.academic-sect-head{
    width: 55%;
    margin: -100px auto 70px auto;
}

.academic-sect-head h2{
    font-weight: 700;
    display: inline-block;
    height: 50px;
    border-bottom: 2px solid #dbbc85;
    
}

.academic-sect{
    width: 55%;
    margin: 60px auto 70px auto;
}

.academic-sect h2{
    font-weight: 700;
    display: inline-block;
    height: 50px;
    border-bottom: 2px solid #dbbc85;
    
}

.list-style{
    padding: 20px 0 40px 0;
    line-height: 30px;
    width: 90%;
    margin: auto;
}

.academic-sect img{
    width: 100%;
}

.academic-sect p{
    padding: 40px 0 0 0;
}

.final-list{
    line-height: 30px;
}

.admission-btn{
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    color: white;
    background-color: rgba(56, 105, 74, 0.8);
    transition: 250ms ease-in-out;
}

.admission-btn:hover{
    background-color: rgba(112, 188, 140, 0.8);
    box-shadow: 0 5px 10px 0px rgba(0,0,0,0.5);
}


/* Main style end */

.sec-nav-bar{
    display: none;
}

.mob-bg{
    display: none;
}

@media (max-width: 700px){

    .float-menu{
        display: none;
    }

    .header{
		display: none;
	}

    .sec-nav-bar{
        display: block;
    }

    .mob-bg{
        display: block;
    }

    .mob-bg img{
        width: 100%;
    }
}

/* Main Mobile Items */

@media (max-width: 700px){
.academic-sect-head{
    width: 90%;
    margin: 40px auto 70px auto;
}

.academic-sect-head h2{
    font-weight: 700;
    display: inline-block;
    text-align: center;
    font-size: 20px;
    height: 50px;
    border-bottom: 2px solid #dbbc85;
    
}

.academic-sect{
    width: 90%;
    margin: 60px auto 70px auto;
}

.academic-sect h2{
    font-weight: 700;
    display: inline-block;
    height: 50px;
    font-size: 20px;
    border-bottom: 2px solid #dbbc85;
    
}

.list-style{
    padding: 20px 0 40px 0;
    line-height: 30px;
    width: 90%;
    margin: auto;
}

.academic-sect img{
    width: 100%;
}

.academic-sect p{
    padding: 40px 0 0 0;
}

.final-list{
    line-height: 30px;
}

.admission-btn{
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    color: white;
    background-color: rgba(56, 105, 74, 0.8);
    transition: 250ms ease-in-out;
}

.admission-btn:hover{
    background-color: rgba(112, 188, 140, 0.8);
    box-shadow: 0 5px 10px 0px rgba(0,0,0,0.5);
}
}