@import url('./font-awesome/css2.css');

:root{
  --themeColor: rgba(68, 121, 255, 1);
}

*{
  font-family: 'Nunito', sans-serif;
  margin:0; padding:0;
  box-sizing: border-box;
  text-transform: capitalize;
  outline: none; border:none;
  text-decoration: none;
  transition: all .2s linear;
}

*::selection{
  background:var(--themeColor);
  color:#fff;
}

html{
  min-width: 1200px;
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 6rem;
  scroll-behavior: smooth;
  
}

section{
  padding:2rem 9%;
}

.heading{
  text-align: center;
  padding:2.5rem 0
}

.heading span{
  font-size: 3.5rem;
  background:rgba(255, 165, 0,.2);
  color:var(--themeColor);
  border-radius: .5rem;
  padding:.2rem 1rem;
}

.heading span.space{
  background:none;
}

.btn{
  display: inline-block;
  margin-top: 1rem;
  background:var(--themeColor);
  color:#fff;
  padding:.8rem 3rem;
  border:.2rem solid var(--themeColor);
  cursor: pointer;
  font-size: 1.7rem;
}

.btn:hover{
  background:rgba(255, 165, 0,.2);
  color:var(--themeColor);
}

header{
  position: fixed;
  top:0; left: 0; right:0;
  background:#ffffff;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:2rem 9%;
}

header .logo{
  font-size: 2.5rem;
  font-weight: bolder;
  color:#fff;
  text-transform: uppercase;
}

header .logo span{
  color:var(--themeColor);
}

header .navbar a{
  color:rgba(102, 102, 102, 1);
  font-size: 2rem;
  margin:0 .8rem;
  font-weight: 700;
}
header .navbar .active{
  color: var(--themeColor);
}

header .navbar a:hover{
  color:var(--themeColor);
}

header .icons i{
  font-size: 2.5rem;
  color: var(--themeColor);
  cursor: pointer;
  margin-right: 2rem;
}

header .icons i:hover{
  color:var(--themeColor);
}

header .search-bar-container{
  position: absolute;
  top:100%; left: 0; right:0;
  padding:1.5rem 2rem;
  background:#333;
  border-top: .1rem solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  z-index: 1001;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

header .search-bar-container.active{
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

header .search-bar-container #search-bar{
  width:100%;
  padding:1rem;
  text-transform: none;
  color:#333;
  font-size: 1.7rem;
  border-radius: .5rem;
}

header .search-bar-container label{
  color:#fff;
  cursor: pointer;
  font-size: 3rem;
  margin-left: 1.5rem;
}

header .search-bar-container label:hover{
  color:var(--themeColor);
}


#menu-bar{
  color: var(--themeColor);
  border:.1rem solid #fff;
  border-radius: .5rem;
  font-size: 3rem;
  padding:.5rem 1.2rem;
  cursor: pointer;
  display: none;
}

.wrap{
  position: relative;
  width: 1200px;
}
.home{
  height: 90vh;
  min-height: 880px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  position: relative;
  margin:0 auto;
  z-index: 0;
  /* background-color: #e4f2ff; */
  background-size: cover;
  background-repeat: no-repeat;
  box-sizing: border-box;
  padding-bottom: 0vh;
}
.home-title1{
  width: 100%;
    text-align: center;
    font-size: 4.3rem;
    font-weight: bold;
    color: #ffffff;
    margin-top: 40px;
}
.home-tips{
width: 100%;
  margin-top: 20px;
  text-align: center;
  font-size: 2.3rem;
    color: #ffffff;
}

.block{
  min-height: 400px;
  display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.block:nth-child(odd){
  background-color: #ffffff;
}
.block:nth-child(even) {
  background-color:rgba(228, 236, 255, 1);
}
.block .block-title{
  width:100%;
  text-align: center;
  font-size: 3rem;
  color:rgba(51, 51, 51, 1);
  margin-top:40px;
}
.block .block-mark{
  width:100%;
  margin-top: 20px;
  text-align: center;
  font-size: 1.8rem;
  color:rgba(102, 102, 102, 1);
}
.block .block1-image,.block .block2-image{
  display: flex;
  justify-content: space-evenly;
  padding:34px 0;
  width: 100%;
  margin: 20px auto 0;
}

.block .block1-image img{
  width:300px;
  border-radius: 20px;
}
.block .block2-image img {
  width: 220px;
  margin:10px;
}
 .block3-image {
  display: inline-flex;
  justify-content: space-evenly;
  padding: 34px 0;
  width: 100%;
  margin: 20px auto 0;
  align-items: center;
}

 .block3-image .block3-item{
  display: inline-block;
  background-color: #ffffff;
  width:230px;
  border:2px solid rgba(228, 236, 255, 1);
  padding:15px;
  border-radius: 10px;
}
 .block3-image .block3-item p{
  width: 100%;
  font-weight: 700;
  font-size: 1.4rem;
  color:var(--themeColor);
  text-align: center;
}
 .block3-image .block3-item img{
  width:100%;
}
.block5-image {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0 34px 2px;
  max-width: 964px;
  margin: 0px auto 0;
}

.block5-image img {
  width: 220px;
  margin: 20px 20px 0 0;
  /* border-radius: 20px; */
}
 .block-title span{
  color: var(--themeColor);
}
 .block-tips {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 80px;
  color: rgba(51, 51, 51, 1);
}

.footer{
  background:#333;
}

.footer .box-container{
  display: flex;
  flex-wrap: wrap;
  gap:1.5rem;
}

.footer .box-container .box{
  padding:1rem 0;
  flex:1 1 25rem;
}

.footer .box-container .box h3{
  font-size: 2.5rem;
  padding:.7rem 0;
  color:#fff;
}

.footer .box-container .box p{
  font-size: 1.5rem;
  padding:.7rem 0;
  color:#eee;
}

.footer .box-container .box a{
  display: block;
  font-size: 1.5rem;
  padding:.7rem 0;
  color:#eee;
}

.footer .box-container .box a:hover{
  color:var(--themeColor);
  text-decoration: underline;
}

.footer .credit{
  text-align: center;
  padding:2rem 1rem;
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: normal;
  color:#fff;
  border-top: .1rem solid rgba(255,255,255,.2);
}

.footer .credit span{
  color:var(--themeColor);
}
















/* media queries  */

@media (max-width:1200px){

  html{
    font-size: 55%;
  }

}

@media (max-width:991px){

  header{
    padding:2rem;
  }

  section{
    padding:2rem;
  }

}

@media (max-width:768px){

  #menu-bar{
    display: initial;
  }

  header .navbar{
    position: absolute;
    top:100%; right:0; left: 0;
    background: #333;
    border-top: .1rem solid rgba(255,255,255,.2);
    padding:1rem 2rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  header .navbar.active{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  header .navbar a{
    display: block;
    border-radius: .5rem;
    padding:1.5rem;
    margin:1.5rem 0;    
    background:#222;
  }

}

@media (max-width:450px){

  html{
    font-size: 50%;
  }

  .heading span{
    font-size: 2.5rem;
  }

  .contact .row form .inputBox input{
    width:100%;
  }

}