*{
   margin: 0;
   padding: 0;
   font-family: 'Poppins', sans-serif;
}
.header{
   min-height: 100vh;
   width: 100%;
   background-image: linear-gradient(rgba(6, 44, 51, 0.7), rgba(4,9,30,0.7)), url(Nuotraukos/baandymas.jpg);
   background-position: center;
   background-size: cover;
   position: relative;

}
 nav{
   display: flex;
   padding: 3% 6%;
   justify-content: space-between;
   align-items: center;
 }
 nav img{
   width: 150px;
 }
 .nav-links{
   flex: 1;
   text-align: right;
 }
 .nav-links ul li{
   list-style: none;
   display: inline-block;
   padding: 8px 12px;
   position: relative;
 }
 .nav-links ul li a{
   color: #fff;
   text-decoration: none;
   font-size: 15px;
 }
 .nav-links ul li::after{
   content: '';
   width: 0%;
   height: 2px;
   background: #4fa814;
   display: block;
   margin:auto;
   transition: 0.5s;
 }
 .nav-links ul li:hover::after{
   width: 100%;
 }
 .text-box{
   width: 90%;
   color: white;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%,-50%);
   text-align: center;
 }
 .text-box h1{
   font-size: 62px;

 }
 .text-box p{
   margin: 10px;
   font-size: 14px;
   color:white;
 }
 .hero-btn{
   display: inline-block;
   text-decoration: none;
   color: white;
   margin-left: 50px;
   border: 1px solid #fff;
   border-radius: 10px;
   padding: 12px 45px;
   font-size: 16px;
   background-color: #4fa814;
   position: relative;
   cursor: pointer;
 }
 .mygtukas1{
  border-radius: 10px;
  text-decoration: none;
  width: 600px;
  margin-left: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: white;
  align-items: center;
  color: black;
  justify-content: space-between;
  background-color: white;
  outline: none;
  font-size: 18px;
  outline:color #fff;
  display: inline-block;
}
.mygtukas1 input{
  border: none;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  size: 20px;
  font-size: 16px;
}
.langeliai{
  border-radius: 10px;
  text-decoration: none;
  border-bottom: none;
  width: 590px;
  margin-left: 2px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 2px;
  padding-right: 0px;
  border: white;
  align-items: center;
  color: black;
  justify-content: space-between;
  background-color: white;
  outline: none;
  font-size: 16px;
  outline:color #fff;
  display: inline-block;
}
.langeliai input{
  border: none;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 35px;
  padding-right: 50px;
  size: 20px;
  font-size: 16px; 
}
.minput{
margin-right: 70px;
margin-left: 0px;
}
@media(max-width: 700px){
  .minput{
    margin-right: 0px;
    margin-left: 0px;
    }
}

input:focus, textarea:focus {
  outline: none;
}
@media(max-width: 768px){
  .hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    margin-left: 5px;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 12px 34px;
    font-size: 13px;
    background-color: #4fa814;
    position: relative;
    cursor: pointer;
  }
  .mygtukas1{
   border-radius: 10px;
   text-decoration: none;
   width: 320px;
   margin-left: 0px;
   padding-top: 10px;
   padding-bottom: 10px;
   border: white;
   align-items: center;
   color: black;
   justify-content: space-between;
   background-color: white;
   outline: none;
   font-size: 16px;
   outline:color #fff;
   display: inline-block;
   padding-left: 15px;
 }
 .mygtukas1 input{
   border: none;
   padding-top: 10px;
   padding-bottom: 10px;
   size: 20px;
   font-size: 16px;
   padding-left: 0px;
 }
 .langeliai{
   border-radius: 10px;
   text-decoration: none;
   border-bottom: none;
   width: 240px;
   margin-left: 2px;
   padding-top: 10px;
   padding-bottom: 10px;
   padding-left: 2px;
   padding-right: 0px;
   border: white;
   align-items: center;
   color: black;
   justify-content: space-between;
   background-color: white;
   outline: none;
   font-size: 16px;
   outline:color #fff;
   display: inline-block;
 }
 .langeliai input{
   border: none;
   padding-top: 10px;
   padding-bottom: 10px;
   padding-left: 0px;
   border-left: 10px;
   padding-right: 100px;
   size: 20px;
   font-size: 16px; 
 }
 input:focus, textarea:focus {
   outline: none;
}
.minput{
  margin-left: 0px;
}
}


 nav .fa{
   display: none;

 }

 @media(max-width:700px){
   .text-box h1{
      font-size: 20px;
   }
     .nav-links ul li{
     list-style: block;
    }
    .nav-links{
      position:absolute;
      background: rgba(42, 54, 48, 0.884);
      height: 100vh;
      width: 200px;
      top: 0;
      right: -200px;
      text-align: left;
      z-index: 2;
      transition: 1s;
    }
    nav .fa{
      display: block;
      color: #fff;
      font-size: 22px;
      cursor: pointer;

    }
    .nav-links ul{
      padding: 30px;

    }

}
/*------course-------*/
.course{
   width: 80%;
   margin: auto;
   text-align: center;
   padding-top: 100px;
}
h1{
   font-size: 36px;
   font-weight: 600;
}
p{
   color: #777;
   font-size: 14px;
   font-weight: 300;
   line-height: 22px;
   padding: 10px;
}
.row{
   margin-top: 5%;
   display: flex;
   justify-content: space-between;
   margin-bottom: 5%;
}
.course-col{
   flex-basis: 31%;
   background:#87eb6e7e;
   border-radius: 10px;
   margin-bottom: 1%;
   margin-top: 30px;
   padding-bottom: 20px 12px;
   box-sizing: border-box;
   transition: 0.5s;
}
h3{
   text-align: center;
   font-weight: 600;
   margin: 10px 0;
}
.course-col:hover{
   box-shadow: 0 0 20px 0px rgba(0, 0, 0,0.2);
}
@media(max-width: 768px){
   .row{
      flex-direction: column;
   }
   .row h5{
    color: black;
   }

}
.course-col img{
  width: 30%;
}

/*--------campus---------*/

.naujienos{
  color: black;
}
.campus{
   width: 80%;
   margin: auto;
   text-align: center;
   color: white;
   padding-top: 50px;

}
.campus-col{
   flex-basis: 32%;
   border-radius: 10px;
   margin-bottom: 30px;
   position: relative;
   overflow: hidden;
}
.campus-col img{
   width: 100%;
   display: block;
}

.layer{
   background: transparent;
   height: 100%;
   width: 100%;
   position: absolute;
   top:0;
   left:0;
   transition: 0.5s;
}
.layer:hover{
  background: rgba(98, 114, 97, 0.7);
}

.layer h3{
  width: 100%;
  font-weight: 500;
  color:#fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
} 
.layer:hover h3{
  bottom: 49%;
  opacity: 1;
}
.layer p{
  width: 50%;
  font-weight: 500;
  color:#fff;
  font-size: 16px;
  bottom: 0;
  left: 45%;
  transform: translateX(-40%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
} 
.layer:hover p{
  bottom: 30%;
  opacity: 1;
}

/*------------------Musu vietos/fasilities----------*/

  .facilities{
    width: 100%;
    text-align: center;
    margin-top: 5%;
  }

  .facilities-col img{
    border-radius: 10px;
    justify-content: center ;
   }
   
  .facilities-col-2 img{
    border-radius: 10px;
    justify-content: center ;
   }
   .facilities-col-3 img{
    border-radius: 10px;
    justify-content: center ;
   }

 .facilities-col{
  float: left;
  width: 16%;
  margin-left: 150px;
 }
  .facilities-col-2{
    float: left;
    width: 16%;
    padding: 1px;
    margin-left: 150px;
    transform: translateY(-89%);
  }
  .facilities-col-3{
    float: left;
    width: 16%;
    padding: 1px;
    border-radius: 10px;
    margin-left: 150px;
    transform: translateY(9%);
  }
  
   .row-2 {
    margin-top: 40px;
   }
   .row-2::after{
    content: "";
    clear: both;
    display: table;
    margin: 150px;
    overflow: hidden;
   }

   @media(max-width: 768px){

    .facilities{
      width: 50%;
      text-align: center;
      margin-top: 5%;
    }
  
    .facilities-col img{
      border-radius: 10px;
      justify-content: center ;
     }
     
    .facilities-col-2 img{
      border-radius: 10px;
      width: 80%;
      justify-content: center ;
     }
     .facilities-col-3 img{
      border-radius: 10px;
      justify-content: center ;
     }

   .facilities-col{
    float: left;
    width: 16%;
    margin-left: 150px;
   }
    .facilities-col-2{
      float: left;
      width: 16%;
      padding: 1px;
    }
    .facilities-col-3{
      float: left;
      width: 16%;
      padding: 1px;
      border-radius: 10px;
    }
    
     .row-2 {
      margin-top: 40px;
     }
     .row-2::after{
      content: "";
      clear: both;
      display: table;
      margin: 150px;
      overflow: hidden;
     }
  
   }



/*--------------------call to action-----------*/

.cta{
  margin: 100px auto;
  width: 80%;
  background-image: url(Nuotraukos/4k\ apacia.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}
.cta h1{
  color: white;
  margin-bottom: 40px;
  padding: 0;
}
.cta-btn{
  display: inline-block;
  text-decoration: none;
  color: white;
  border: 1px solid #4fa814;
  border-radius: 10px;
  padding: 12px 34px;
  font-size: 13px;
  background-color: #4fa814;
  position: relative;
  cursor: pointer;
}
@media(max-width: 768px){
  .cta h1{
    font-size: 24px;
  }
}
/*--------------------apie mus-----------*/
.container {
  width: 100%;
  align-items: center;
  align-self: center;
  display: relative;
}
.big-foto{
  display: none;
}
.foto-apie {
  max-width: 100%;
  display: block;
  margin-right: 30%;
  border-radius: 10px;
  margin-bottom: 5%;
}

.text-block h1{
  color: black;
  font-size: 25px;
  display: none;
  text-align: center;
  margin-top: 30px;
  align-items: center;
  font-family: "Dosis", sans-serif;
}
.text-block p{
  padding: 10px;
  font-size: 20px;
  text-align:center;
  display: block;
  color:black;
  font-family: "Dosis", sans-serif;
}
.container img{
  width: 100%;
  display: block;
  margin-left: 20%;
  min-width: auto;
  border-radius: 10px;
}
.kas-mes-h1{
  text-align: center;
  margin-bottom: 20px;
}


@media(max-width: 768px) {
  .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .container img{
    width: 100%;
    border-radius: 6px;
    min-width: 100%;
    margin: 0;
  }
  .foto-apie img{
    display: none;
  }
  .text-block h1{
    margin-top: 30px;
    color: black;
    align-items: center;
    align-self: center;
    font-size: 25px;
    display: block;
    text-align: center;
    
  }
  .big-foto{
    max-width: 85%;
    display: block;
    border-radius: 10px;

  }
  .hero-btn2{
    display: none;
  }
  .text-block p{
    font-size: 20px;
    color:black;
    margin-bottom: 60px;
    display: block;
    text-align: center;
    font-weight: 500;
  }
}



/*-------------Footer---------------------------*/
footer{
  background-color:rgb(17,39,46);
}
.footerContainer{
  width: 100%;
  padding: 70px 30px 20px;
}
.socialIcons{
  display: flex;
  justify-content: center;
}

.socialIcons a{
  text-decoration: none;
  padding: 6px;
  background-color: white;
  margin: 6px;
  border-radius: 50%;
}

.socialIcons a i{
  font-size: 30px;
  color: black;
  opacity: 1;
}

.socialIcons a:hover{
  background-color: #111;
  transition: 0.5s;
}
.socialIcons a:hover i{
 color: white;
 transition: 0.5s;
}
.footerNav{
  margin: 30px 0;
}

.footerNav ul{
  display: flex;
  justify-content: center;
}
.footerNav ul li a{
color:white;
margin: 20px;
text-decoration: none;
font-size: 20px;
opacity: 0.7;
transition: 0.5s;
}
.footerNav ul li a:hover{
  opacity: 1;
}

.footerBottom{
  background-color: #000;
  padding: 10px;
  text-align: center;
}

.footerBottom p{
  color: white;
}


/*-------------sub header------------*/

.sub-header{
  height: 30vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(Nuotraukos/4k\ miskas.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: white;
}
@media(max-width: 700px){
  .sub-header{
   height: 30vh;
  }
}
  
.sub-header h1{
  margin-top: 10px;
}

.location{
  width: 80%;
  margin:auto;
  padding: 80px 0;
}
.location iframe{
  width: 100%;
}
.contact-us{
  width: 80%;
  margin:auto;
}
.contact-col{
  flex-basis: 48%;
  margin-bottom: 30px;
}
.contact-col div{
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.contact-col div .fa{
  font-size: 29px;
  color:black;
  margin: 10px;
  margin-right: 30px;

}
.contact-col div p{
  padding: 0;
}
.contact-col div h5{
  font-size: 20px;
  margin-bottom: 5px;
  color:black;
  font-weight: 400;
}
.contact-col input, .contact-col textarea{
   width: 100%;
   padding: 15px;
   margin-bottom: 17px;
   outline: none
   ;
   border: 1px solid #ccc;
   box-sizing: border-box;
}

/*---------------intro-header ----------------------*/

.intro-header{
  height: 30vh;
  width: 100%;
  background-image:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(Nuotraukos/paslaugos\ 4k.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: white;
}


@media(max-width: 2560px){
.intro-header h1{
  margin-bottom: 10px;
  display: block;
  text-align: center;
  justify-content: center;
}
}
@media(max-width: 768px){
  .intro-header{
    height: 25vh;
    width: 100%;
    background-image:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(Nuotraukos/paslaugos\ 4k.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
  }
}



.contact-usmain {
  width: 80%;
  display: flex;
  margin-left: 10%;
  top: 5%;
  background-image: linear-gradient(rgba(6, 44, 51, 0.7), rgba(4,9,30,0.7)), url(Nuotraukos/pexels-photo.jpg);
  align-items: center;
  color: white;
  border-image: fill;
  justify-content: center;
  margin-bottom: 0px;
  border-radius: 5px;
  margin-bottom: 30px;
}
.contact-usmain h1{
  font-weight: 600;
  align-items: center;
  text-align: center;
  margin-bottom: 25px;
  
}
.contact-usmain input, .contact-usmain textarea{
  width: 80%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-left: 10%;
}
.hero-btn22{
  margin-left: 10%;
  display: block;
  text-decoration: none;
  color: white;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 12px 45px;
  font-size: 16px;
  background-color: #4fa814;
  border-color: #4fa814;
  cursor: pointer;
  margin-bottom: 15px;
}
.contact-index p{
  color: white;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 500;
}

@media(max-width: 768px) {
  .contact-usmain {
    width: 80%;
    display: flex;
    top: 5%;
    background-image: linear-gradient(rgba(6, 44, 51, 0.7), rgba(4,9,30,0.7)), url(Nuotraukos/pexels-photo.jpg);
    align-items: center;
    text-align: center;
    justify-content: center;
    background-position: left;
  }
  .contact-usmain h1{
    font-weight: 600;
    align-items: center;
    text-align: center;
    margin-bottom: 5px;
    font-size: 25px;
  }
  .contact-usmain input, .contact-usmain textarea{
    width: 80%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-left: 0%;
  }
  .contact-index{
    margin-top: 10px;
    margin-right: 0%;
  }
  .hero-btn22{
    display: flex;
    text-decoration: none;
    color: white;
    margin-right: 0px;
    border-color: #4fa814;
    align-self: center;
  }

}


section,h1 {
  padding: 0 1em;
}
.parduodame-med{
  align-items: center;
  text-align: center;
  margin-top: 5%;
  margin-bottom: 5%;
}

.grid
 {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(3,250px);  /* 3 columns */
  grid-template-rows: repeat(3,200px); /* 3 rows  */
  grid-gap:0px 30px; /* 50 pixels of space added between rows and 30 pixels added between columns  */
}

.grid-item{
  border:none;
  padding:0px;
}
img {
  width: 100%;
  border-radius: 5px;
}


@media (max-width: 1200px) {
  
  section,h1 {
    padding: 0 1em;
  }
  .parduodame-med{
    align-items: center;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 5%;
  }
  
  .grid
   {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3,250px);  /* 3 columns */
    grid-template-rows: repeat(3,200px); /* 3 rows  */
    grid-gap: 0px 30px; /* 50 pixels of space added between rows and 30 pixels added between columns  */
  }
  
  .grid-item{
    border:none;
    padding:0px;
  }
  img {
    width: 100%;
    border-radius: 5px;
  }
  
}
@media (max-width: 768px) {
  
  section,h1 {
    padding: 0 1em;
  }
  .parduodame-med{
    align-items: center;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 5%;
  }
  
  .grid
   {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2,150px);  /* 3 columns */
    grid-template-rows: repeat(3,100px); /* 3 rows  */
    grid-gap: 0px 20px; /* 50 pixels of space added between rows and 30 pixels added between columns  */
    margin-bottom: 20px;
  }
  
  .grid-item{
    border:none;
    padding:0px;
  }
  img {
    width: 100%;
    border-radius: 5px;
  } 
}



.m-paslaugos{
  text-align: center;
  margin-top: -50px;
}


.features{
  padding: 50px 12%;
  font-size: 22px;
}

.row2{
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  padding: 50px 0;
}


.text-col2{
  flex-basis: 50%;
  margin-bottom: 20px;
}
.img-col{
  flex-basis: 50%;
  margin-bottom: 20px;
}

.img-col2 img{
  display: block;
  width: 90%;
  margin: auto;
}
.features p{
  font-size: 23px;
  color: black;
  font-weight: 600;
  margin-left: 7%;
}

@media(max-width: 768px){
  .features{
    padding: 50px 12%;
    font-size: 22px;
  }
  
  .row2{
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 0;
  }
  
  
  .text-col2{
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  .img-col{
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  
  .img-col2 img{
    display: block;
    height: 400px;
    width: 400px;
    margin: auto;
  }
  .features p{
    font-size: 23px;
    color: black;
    font-weight: 600;
    margin-left: 7%;
  }
}


.heading{
  text-align: center;
  margin-bottom:  3rem;
  margin-top: 20px;
  span{
    color: #4fa814;
  }
}

.box-container{
  grid: 200px 200px;
}

.box{
  text-align: center;
  background: white;
  border: none;
  padding:  3rem 2rem;
  color: #064B4B;
}
.box p{
  color: #064B4B;
  font-size: 20px;
}
.box img{
  height: 50px;
  width: 50px;
  margin-bottom: 0;
}

@media(max-width: 768px){
  .heading{
    text-align: center;
    margin-bottom:  3rem;
    margin-top: 20px;
    span{
      color: #4fa814;
    }
  }
  
  .box-container{
    grid: 2rem;
  }
  
  .box{
    text-align: center;
    background: white;
    border: none;
    padding:  3rem 2rem;
    color: #064B4B;
  }
  .box p{
    color: #064B4B;
    font-size: 20px;
  }
  .box img{
    height: 50px;
    width: 50px;
    margin-bottom: 0;
  }
}



*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
header{
  background-color: transparent;
}
li{
  list-style: none;
}

a{
  color: white;
  text-decoration: none;
}
 
.navbar{
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.nav-menu{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.nav-branding{
  font-size: 2rem;
}
.nav-link{
  transition: 0.7s ease;
}
.nav-link:hover{
  color: #4fa814;
}

.hamburger{
  display: none;
  cursor: pointer;
}
.bar{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: white;
}


@media(max-width: 768px)  {
  .hamburger{
    display: block;
  }
  .nav-branding img{
    width: 50%;
    justify-content: left;
    align-items: left;
    display: flex;
  } 
  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
 .nav-menu{
  position: fixed;
  left: -100%;
  top: 0px;
  gap: 0;
  flex-direction: column;
  background-color: rgba(17, 39, 46, 0.616);
  width: 100%;
  text-align: center;
  transition: 0.3s;
 }

 .nav-item{
  margin: 16px 0;
 }
 
 .nav-menu.active{
  left: 0%;
 }
}




