@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  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 */

.his-banner{
  width: 100%;
  margin: -8% auto 0 auto;
}

.his-banner img{
  width: 100%;
}

html{
  scroll-behavior: smooth;
}

::selection{
  color: #fff;
  background: #ff7979;
}

.wrapper{
  max-width: 1080px;
  margin: 50px auto;
  padding: 0 20px;
  position: relative;
}
.wrapper .center-line{
  position: absolute;
  height: 100%;
  width: 4px;
  background: rgb(189, 189, 189);
  left: 40px;
  top: 20px;
  transform: translateX(-50%);
}
.wrapper .row{
  display: flex;
  margin: 30px 0 3px 60px;
}
.wrapper .row-1{
  justify-content: flex-start;
}
.wrapper .row-2{
  justify-content: flex-end;
}
.wrapper .row section{
  background: rgb(237, 237, 237);
  border-radius: 5px;
  width: 100%;
  padding: 20px;
  position: relative;
  transition: 0.5s;
}

.wrapper .row section:hover{
  box-shadow: 0 5px 20px 0px rgba(0,0,0,0.3);;
}

.wrapper .row section::before{
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  background: rgb(237, 237, 237);
  top: 28px;
  z-index: -1;
  transform: rotate(45deg);
}
.row-1 section::before{
  right: -7px;
  left: -7px;
}
.row-2 section::before{
  left: -7px;
}
.row section .icon,
.center-line .scroll-icon{
  position: absolute;
  background: #f2f2f2;
  height: 40px;
  width: 100px;
  text-align: center;
  line-height: 40px;
  border-radius: 5px;
  color: #000000;
  font-size: 17px;
  box-shadow: 0 0 0 4px #fff, inset 0 2px 0 rgba(0,0,0,0.08), 0 3px 0 4px rgba(0,0,0,0.05);
}
.center-line .scroll-icon{
  bottom: 0px;
  left: 50%;
  font-size: 25px;
  transform: translateX(-50%);
}
.row-1 section .icon{
  top: 14px;
  right: -60px;
  left: -120px;
}
.row-2 section .icon{
  top: 15px;
  left: -120px;
}
.row section .details,
.row section .bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.row section .details .title{
  font-size: 22px;
  font-weight: 600;
}
.row section p{
  margin: 10px 0 17px 0;
}
.row section .bottom a{
  text-decoration: none;
  background: #ff7979;
  color: #fff;
  padding: 7px 15px;
  border-radius: 5px;
  /* font-size: 17px; */
  font-weight: 400;
  transition: all 0.3s ease;
}
.row section .bottom a:hover{
  transform: scale(0.97);
}
@media(max-width: 790px){
  .wrapper .center-line{
    left: 40px;
  }
  .wrapper .row{
    margin: 30px 0 3px 60px;
  }
  .wrapper .row section{
    width: 100%;
  }
  .row-1 section::before{
    left: -7px;
  }
  .row-1 section .icon{
    left: -60px;
  }
}
@media(max-width: 440px){
  .wrapper .center-line,
  .row section::before,
  .row section .icon{
    display: none;
  }
  .wrapper .row{
    margin: 10px 0;
  }
}


.text-main{
  display: flex;
}

.img-1{
  padding-top: 20px;
  width: 120px;
  height: 100%;
  margin: 5px;
}

.main-text{
  padding-top: 20px;
  padding-left: 20px;
}

.img-2{
  padding-top: 20px;
  width: 190px;
  height: 100%;
  margin: 5px;
}

.img-3{
  padding-top: 10px;
  width: 350px;
  height: 100%;
  margin: 5px;
}

.img-4{
  padding-top: 10px;
  width: 170px;
  height: 100%;
  margin: 5px;
}

.img-5{
  padding-top: 10px;
  width: 300px;
  height: 100%;
  margin: 5px;
}


/* 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 */

.mob-date{
  display: none;
}

@media (max-width: 700px){
.his-banner{
  width: 100%;
  margin: auto;
}
.wrapper{
  display: flex;
  flex-direction: column;
}
.icon{
  display: none;
}

.mob-date{
  display:inline-block;
  margin-top: -20px;
  margin-bottom: -10px;
}

.mob-date p{
  font-weight: 600;
}

.text-main{
  flex-wrap: wrap;
}

.img-2{
  width: 100%;
}

.img-3{
  width: 100%;
}

.img-4{
  width: 100%;
}
}


