*{
    margin: 0;
    padding: 0;

}

body{
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

}
/*purana*/

nav {
  height: 72px;
  display: flex;
  justify-content: space-around;
  color:#08cb00;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

.navlogo {
    margin-top: 10px;
  height: 100px;
  width: 150px;
}

.ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin-bottom: 10px;
}

nav ul li a {
    color: #08cb00;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
  text-decoration: none;
}

#a.active, #a:hover {
  background-color:#08cb00;
  color: white;
  transition: 0.5s;
}

#check {
  display: none;
}

.checkbtn {
  font-size: 30px;
  color: white;
  cursor: pointer;
  display: none;
}


.scrolled {
      background: rgba(0, 0, 0, 0.8);
      color: white;
    }


/* khatam*/
/*
nav{

    height: 72px;
    width: 100%;
    display: flex;
    color: black;
    flex-wrap: wrap;
    position: fixed;
    background-color: #08cb00;
    z-index: 1;
    justify-content: space-between;
    border-radius: 5px;
    opacity: 0;
    

}

#check {
  display: none;
}

.checkbtn {
  font-size: 30px;
  color: white;
  cursor: pointer;
  display: none;
}

.bar:active nav{
    background-color: pink;
}



*/
.dusra{
    opacity: 0;
      transform: translatey(-50px); /* default left */
      transition: all 1.0s ease;

}

.then{
    opacity: 1;
    transform: translateY(0);
    
}

#nav_img{
    height: 80px;
    width: 120px;
    border-radius: 5px;
    margin-left: 5.5%;
    background-color: black;
    
    
}

ul{
    width: 50%;
    display: flex;
    align-content: center;
    position: relative;
    padding-left: 10%;
    list-style: none;
    align-items: center;
}

li {
    width: 15%;
    font-size: 20px;
    align-self: center;
   

        
}
li a{
    text-decoration: none;
    color: white;
    font-size: 1.1em;

}
li a:hover{
    transition: 0.5s;
}


.main_divA{
    width: 100%;
    height: 90vh;
    color: white;

}



.hdng{
    width: 60%;
    height: 80%;
    position: relative;
    top: 15%;
    left: 5.5%;
    font-size: 65px;
    

}


.hdng h1{
    font-size: 1em;
   
    
}

.hidden {
      opacity: 0;
      transform: translateX(-100px); /* default left */
      transition: all 0.8s ease;
}

.hidden.right {
      transform: translateX(100px); /* right se aane ke liye */
}

.show {
      opacity: 1;
      transform: translateX(0); /* visible hone par center */
}

.hdng h1 span{
    color: #08cb00;
    line-height: 80%;
    margin-left: 15%;
}

.hdng #subhdng{
    font-size: 0.7em;
    line-height: 110%;
}

.hdng p{
    margin-top: 2%;
    font-size: 0.4em;
    
}

button{
    height: 10%;
    width:30%;
    font-size: 20px;
    border-radius: 5px;
    border: 1px solid grey;
    color: #08cb00;
    
}
button:hover{
    height: 10%;
    width:30%;
    font-size: 20px;
    border-radius: 5px;
    border: 1px solid grey;
    background-color: #08cb00;
    color: white;
    transition: 0.5s;

}


.video iframe{
    width: 90%;
    height: 80vh;
    margin-left: 5.5%;
    border-radius: 5px;
}

.crs_hdng {
    font-size: 25px;
    line-height: 1.2;
    
}
.crs_hdng p{
    margin-left: 5.5%;
    text-align: center;
    font-size: 20px;
}

.courses{
    width: 100%;
    height: 1150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}
.courses .child{
    width: 43%;
    height: 45%;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgb(128, 128, 128);
    box-shadow: 4px 4px 10px rgb(128, 128, 128,0.3) ;
}

.courses
.child:hover{
    width: 43%;
    height: 45%;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgb(128, 128, 128);
    box-shadow: 4px 4px 10px rgb(128, 128, 128,0.9) ;
    background-color: rgb(8, 203, 0,0.8);
    color: white;
    transition: 0.7s;

}
.courses .child:hover img{
    transition: 0.7s;
    border-radius: 15px;
}

.courses .child img{
    width: 85%;
    height: 55%;
    margin-top: 5%;

}

.courses .child h3{
    display: inline;
}
.courses .child .left_h{
    font-size: 25px;
    margin-right: 20%;
    line-height: 1.5;
    
}

.courses .child p{
    width: 85%;
    text-align: left;
    margin-left: 8%;
    font-size: 18px;
}

.courses .child button{
    width: 85%;
    color: #08cb00;
    background-color: white;
    border-radius: 8px;
    margin-top: 4%;
    border: 1px solid black;
}
.courses .child button:hover{
    background-color: white;
    color: #08cb00;
}
.benefits{
    text-align: center;
    font-size: 25px;
    margin-left: 5.5%; 
}

.benefits p{
    font-size: 20px;
    margin-right: 5%;
}
.bnft_div{
    height: 500px;
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-content:center ;
}


.bnft_div .child{
    height: 40%;
    padding: 0px 10px 0px 10px;
    align-self: center;
    width: 29%;
    margin-left: 2%;
    border: 1px solid rgb(128, 128, 128);
    box-shadow: 4px 4px 10px rgb(128, 128, 128,0.3) ;
}


.bottom {
      opacity: 0;
      transform: translatey(120px); /* default left */
      transition: all 0.8s ease;
}
.bnft-show{
          transform: translateY(0);
          opacity: 1;
}

.bnft_div .child:hover{
    height: 40%;
    align-self: center;
    width: 29%;
    margin-left: 2%;
    box-shadow: 4px 4px 10px rgb(128, 128, 128) ;
    color: white;
    background-color: #08cb00;
    border-radius: 12px;
    transition: 0.75s;
}

.bnft_div .child h1{
    text-align: right;
    padding-right: 5%;
    font-size: 50px;
}

.bnft_div .child h3{
    text-align: left;
    padding-left: 8%;
    line-height: 2;
}
.bnft_div .child h3:hover{
    text-align: left;
    padding-left: 8%;
    line-height: 2;
    color: white;
}



.tstmls{
    height: 5em;
    width: 90%;
    margin-left: 5.5%;
    display: flex;
    justify-content: space-between;
}

.tstmls .left h1{
    width: 60%;
    font-size: 35px;
}

.tstmls button{
    width: 10%;
    height: 2em;
    font-size: 20px;
    background-color: rgb(128, 128, 128,0.3);
    border: 1px;
    margin-bottom: 8%;
}

.testominal{
    height: 520px;
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-content:center ;
    
}

.testominal .child{
    height: 38%;
    text-align: center;
    align-self: center;
    padding-top: 2%;
    width: 29%;
    margin-left: 2%;
    border-radius: 8px;
    border: 1px solid rgb(128, 128, 128);
    box-shadow: 4px 4px 10px rgb(128, 128, 128,0.3) ;
    
}

.testominal .child:hover{
    background-color: #08cb00;
    color: white;
    box-shadow: 4px 4px 10px rgb(128, 128, 128,0.9) ;

    transition: 0.3s;
}

.testominal .child img{
    height:70px;
    width: 70px;
    border-radius: 100%;

}

.contact{
    height: 300px;
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    justify-content:center ;
}

.contact .inner{
    display: flex;
    flex-wrap: wrap;
    align-self: center;
    width: 70%;
    height: 40%;
}

.contact .child{
    height: 50%;
    text-align: center;
    background-color: rgb(128, 128, 128,0.3);
    align-self: center;
    padding-top: 2%;
    width: 23%;
    margin-left: 8.5%;
    border-radius: 8px;
}

.toleft{
    opacity: 1;
    transform: translateX(-200px);
}
.toright{
    opacity: 1;
    transform: translateX(200px);
}
.now{
    transform: translateX(0);
    transition: 0.8s;
}

.contact button{
    align-self: center;
    margin-top: 2%;
    width: 30%;
    height: 17%;
    border-radius: 10px;
    border: 1px solid black;
    background-color: white;
    color: #08cb00;
}


.contact button:hover{
    background-color: #08cb00;
    color: white;
}

footer{
    width: 100%;
    height: 400px;
    background-color: #253900;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}


footer h2{
    color: white;
}

footer h3{
    position: relative;
    left: 1%;
    color: yellow;
    bottom: 20%;
}

footer a{
    color: grey;
    font-size: 20px;
    text-decoration: none;

}

footer .child{
    width: 22%;
    height: 70%;
    align-self: center;
    margin-left: 2%;
}

.logo{
    font-size: 30px;
    color: white;
    margin-right: 4%;
}

.newsletter{
    width: 45%;
    margin-left: 5%;
    margin-bottom: 10%;
}

.newsletter p{
    color: white;
    font-size: 20px;
   
}
.newsletter input{
    height: 50px;
    width: 45%;
    padding-left: 2%;
    font-size: 20px;
    border-radius: 8px;
    border: 1px solid grey;
}
.newsletter button{
    height: 52px;
    width: 49%;
    color: black;
    background-color: yellow;
    border: 1px solid grey;
}










@media (max-width: 576px) {
    *{
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
      

    }
    html,body{
        overflow-x: hidden;
    }
  .checkbtn {
    display: block;
    position: absolute;
    right: 30px;
    color: black;
    top: 18px;
  }

  .navlogo {
    margin-top: 10px;
    height: 60px;
    width: 80px;
    position: relative;
    right: 35%;
   }

  .ul {
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: 100vh;
    background:#253900;
    color: white;
    text-align: center;
    justify-content: center;
    transition: all 0.3s ease;
    
  }

  #check:checked ~ .ul {
    left: 0;
  }

  .ul li {
    width: auto;
    margin-top: 25px;
    display: block;
    line-height: 2;
    position: relative;
    bottom: 100px;
  }

  .ul li a {
    font-size: 20px;
    color: white;
  }

  nav ul li a:hover, a.active {
    text-align: center;
    background: none;
    color:#08cb00;
  }

  .nav_div i,
  .nav_div p {
    display: none;
  }
  

  /* Hero section */
  .main_divA {
    height: 70vh;
    text-align: center;
    padding: 20px;
    justify-content: center;
  }

  .hdng {
    width: 100%;
    font-size: 35px;
    left: 0;
    top: 10%;
  }

  .hdng h1 {
    font-size: 2.8rem;
  }

  .hdng p {
    font-size: 0.9rem;
    margin: 15px auto;
  }

  .hdng button {
    width: 60%;
    font-size: 16px;
  }

  .video iframe{
    width: 90%;
    height: 50vh;
    
  }

 .crs_hdng {
    font-size: 15px;
    line-height: 1.0;
    
 }
 .crs_hdng p{
    display: none;
 }

  /* Courses */
  .courses {
    flex-direction: column;
    height: auto;
  }

  .courses .child {
    width: 90%;
    height: auto;
    margin-bottom: 20px;
    padding-bottom: 2%;
  }

  .courses .toleft:hover{
    width: 83%;
    height: 48%;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgb(128, 128, 128);
    box-shadow: 4px 4px 10px rgb(128, 128, 128,0.9) ;
    background-color: rgb(8, 203, 0,0.8);
    color: white;
    padding-bottom: 5%;
    transition: 0.7s;

    }
    .courses .toright:hover{
    width: 83%;
    height: 48%;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgb(128, 128, 128);
    box-shadow: 4px 4px 10px rgb(128, 128, 128,0.9) ;
    background-color: rgb(8, 203, 0,0.8);
    color: white;
    transform: translatey(10px);
    padding-bottom: 5%;
    transition: 0.7s;

    }
    .courses .child img{
    width: 85%;
    height: 55%;
    margin-top: 5%;

   }
   .courses .child .left_h{
    font-size: 20px;
    margin-right: 5%;
    line-height: 1.5;
    
   }
   .courses .child:hover .courses .child .left_h{
    line-height: 2;
   }



  /* Benefits */
.bnft_div {
    flex-direction: column;
    height: auto;
  }
  .benefits{
    text-align: center;
    font-size: 15px;
    margin-left: 5.5%; 
   }
   .benefits p{
    display: none;
   }

  .bnft_div .child {
    width: 90%;
    margin: 10px auto;
    
  }

  

  .bnft_div .child:hover{
    height: 40%;
    align-self: center;
    width: 90%;
    margin-left: 5%;
    box-shadow: 4px 4px 10px rgb(128, 128, 128) ;
    color: white;
    background-color: #08cb00;
    border-radius: 12px;
    transition: 0.75s;
}

  /* Testimonials */
  .testominal {
    flex-direction: column;
    height: auto;
    margin-top: 17%;
  }
   

  .testominal .child {
    width: 90%;
    margin: 10px auto;
    padding-bottom: 4%;
  }

  .testominal .child:hover{
    height: 35%;
    background-color: #08cb00;
    color: white;
    box-shadow: 4px 4px 10px rgb(128, 128, 128,0.9) ;
    padding-bottom: 4%;
    transition: 0.3s;
}
   .testominal .child p{
    padding-left: 3%;
   }

  /* Contact */
  .contact {
    height: auto;
    padding: 20px 0;
  }

  .contact .inner {
    flex-direction: column;
    width: 80%;
    
  }

  .contact .child {
    width: 80%;
    margin: 10px auto;
    height: 50%;
    padding-bottom: 2%;
  }

  .contact .c-btn {
    width: 60%;
    font-size: 16px;
    height: 40px;
  }

  /* Footer */
  footer {
    flex-direction: column;
    height: auto;
    padding: 20px;
    text-align: center;
  }

  footer .child {
    width: 100%;
    margin: 15px 0;
  }

  .newsletter {
    width: 100%;
    margin: 20px 0;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
    margin: 5px 0;
  }
}




