@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 */

.text-row-1{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 55%;
    margin: -100px auto 0 auto;
  }



  .text-row-1 input{
    padding: 12px 10px;
    margin: 1%;
    width: 400px;
    border-radius: 5px;
    border: 1px solid rgb(216, 216, 216);
    transition: 0.5s ease-in-out;
  }

  .text-row-1 h3{
    flex-basis: 100%;
    font-weight: 700;
    margin: 1%;
    margin-left: 10px;
  }

  .text-row-1 h5{
    flex-basis: 100%;
    font-size: 15px;
    color: rgb(40, 161, 104);
    margin: 1%;
    margin-left: 10px;
  }

  .text-row-1 p{
    flex-basis: 100%;
    font-size: 15px;
    margin: 1%;
    margin-left: 10px;
  }

  .full-box{
    flex-basis: 100%;
  }

  .text-row-1 textarea{
    padding: 12px 10px;
    margin: 1%;
  width: 100%;
  height: 150px;
  border-radius: 5px;
  border: 1px solid rgb(216, 216, 216);
  transition: 0.5s;
}

.btn-msg{
    flex-basis: 100%;
}



.btn-msg button{
  padding: 10px 50px 10px 50px;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 5px;
  border-radius: 8px;
  border: none;
  text-align: center;
  color: white;
  background-color: rgb(0, 101, 54);
  transition: 0.5s;
}
  
.btn-msg button:hover{
  background-color: rgb(50, 190, 125);
  box-shadow: 0 5px 10px rgb(172, 172, 172);
}


input:focus{
    border: 1px solid rgb(50, 190, 125);
    outline-offset: 0px;
    outline: none;
}

textarea:focus{
  border: 1px solid rgb(50, 190, 125);
  outline-offset: 0px;
  outline: none;
}



/* 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){
  .text-row-1{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 90%;
    margin: 50px auto 0 auto;
  }



  .text-row-1 input{
    padding: 12px 10px;
    margin: 1%;
    width: 400px;
    border-radius: 5px;
    border: 1px solid rgb(216, 216, 216);
    transition: 0.5s ease-in-out;
  }

  .text-row-1 h3{
    flex-basis: 100%;
    font-weight: 700;
    margin: 1%;
    margin-left: 10px;
  }

  .text-row-1 h5{
    flex-basis: 100%;
    font-size: 15px;
    color: rgb(40, 161, 104);
    margin: 1%;
    margin-left: 10px;
  }

  .text-row-1 p{
    flex-basis: 100%;
    font-size: 15px;
    margin: 1%;
    margin-left: 10px;
  }

  .full-box{
    flex-basis: 100%;
  }

  .text-row-1 textarea{
    padding: 12px 10px;
    margin: 1%;
  width: 100%;
  height: 150px;
  border-radius: 5px;
  border: 1px solid rgb(216, 216, 216);
  transition: 0.5s;
}

.btn-msg{
    flex-basis: 100%;
}



.btn-msg button{
  padding: 10px 50px 10px 50px;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 5px;
  border-radius: 8px;
  border: none;
  text-align: center;
  color: white;
  background-color: rgb(0, 101, 54);
  transition: 0.5s;
}
  
.btn-msg button:hover{
  background-color: rgb(50, 190, 125);
  box-shadow: 0 5px 10px rgb(172, 172, 172);
}


input:focus{
    border: 1px solid rgb(50, 190, 125);
    outline-offset: 0px;
    outline: none;
}

textarea:focus{
  border: 1px solid rgb(50, 190, 125);
  outline-offset: 0px;
  outline: none;
}

}