@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK&display=swap');
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

html {
  scroll-behavior: smooth;

}

body {
  font-family: 'Noto Sans HK', sans-serif;
  background: #fff;
  
}

.slider {
  margin-bottom: 30px;
  position: relative;
}
.slider .owl-item.active.center .slider-card {
  transform: scale(1.15);
  opacity: 1;
  background: transparent; /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, transparent, transparent); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, transparent, transparent); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: black;
}
.slider-card {
  background: #fff;
  padding: 0px 0px;
  margin: 50px 15px 60px 15px;
  border-radius: 5px;
  box-shadow: 0 15px 45px -20px rgb(0 0 0 / 73%);
  transform: scale(0.9);
  opacity: 0.5;
  transition: all 0.3s;
}
.slider-card img {
  border-radius: 5px 5px 0px 0px;
}
.owl-nav .owl-prev {
  position: absolute;
  top: calc(50% - 25px);
  left: 0;
  opacity: 1;
  font-size: 30px !important;
  z-index: 1;
}
.owl-nav .owl-next {
  position: absolute;
  top: calc(50% - 25px);
  right: 0;
  opacity: 1;
  font-size: 30px !important;
  z-index: 1;
}
.owl-dots {
  text-align: center;
}
.owl-dots .owl-dot {
  height: 10px;
  width: 10px;
  border-radius: 10px;
  background: #ccc !important;
  margin-left: 3px;
  margin-right: 3px;
  outline: none;
}
.owl-dots .owl-dot.active {
  background: #f44336 !important;
}
nav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 99999;
}
.container{
  margin-top: 20px;
}
nav .navbar{
  height: 100%;
  max-width: 1250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 50px;
}
.navbar .logo a{
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
nav .navbar .nav-links{
  line-height: 70px;
  height: 100%;
}
nav .navbar .links{
  display: flex;
}
nav .navbar .links li{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}
nav .navbar .links li a{
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: black;
  font-size: 17px;
  font-weight: 500;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(180deg);
  }
nav .navbar .links li .arrow{
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: black;
  transition: all 0.3s ease;
}
nav .navbar .links li .sub-menu{
  position: absolute;
  top: 30px;
  left: 0;
  line-height: 40px;
  background: #3E8DA8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}
nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu{
  display: block;
}
.navbar .links li .sub-menu li{
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .links li .sub-menu a{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.navbar .links li .sub-menu .more-arrow{
  line-height: 40px;
  color: transparent;
}
.navbar .links li .htmlCss-more-sub-menu{
   line-height: 40px; 
}
.navbar .links li .sub-menu .more-sub-menu{
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}
.links li .sub-menu .more:hover .more-sub-menu{
  display: block;
}
.navbar .search-box{
  position: relative;
   height: 40px;
  width: 40px;
}
.navbar .search-box i{
  position: absolute;
  height: 100%;
  width: 100%;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
  color: black;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.navbar .search-box .input-box{
  position: absolute;
  right: calc(100% - 40px);
  top: 80px;
  height: 60px;
  width: 300px;
  background: #3E8DA8;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}
.navbar.showInput .search-box .input-box{
  top: 65px;
  opacity: 1;
  pointer-events: auto;
  background: #3E8DA8;
}
.search-box .input-box::before{
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  background: #3E8DA8;
  right: 10px;
  top: -6px;
  transform: rotate(45deg);
}
.search-box .input-box input{
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  transform: translate(-50%, -50%);
  height: 35px;
  width: 280px;
  outline: none;
  padding: 0 15px;
  font-size: 16px;
  border: none;
}
.navbar .nav-links .sidebar-logo{
  display: none;
}
.navbar .bx-menu{
  display: none;
}
@media (max-width:920px) {
  nav .navbar{
    max-width: 100%;
    padding: 0 25px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 10px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 15px;
  }
}
@media (max-width:800px){
  nav{
     position: relative; 
  }
  .navbar .bx-menu{
    display: block;
  }
  nav .navbar .nav-links{
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 100%;
    background:  #3E8DA8;
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }
  .navbar .nav-links .sidebar-logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-logo .logo-name{
    font-size: 25px;
    color: #fff;
  }
    .sidebar-logo  i,
    .navbar .bx-menu{
      font-size: 25px;
      color: black ;
    }
  nav .navbar .links{
    display: block;
    margin-top: 20px;
  }
  nav .navbar .links li .arrow{
    line-height: 40px;
  }
nav .navbar .links li{
    display: block;
  }
nav .navbar .links li .sub-menu{
  position: relative;
  top: 0;
  box-shadow: none;
  display: none;
}
nav .navbar .links li .sub-menu li{
  border-bottom: none;
}
.navbar .links li .sub-menu .more-sub-menu{
  display: none;
  position: relative;
  left: 0;
}
.navbar .links li .sub-menu .more-sub-menu li{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(0deg);
  }
  .navbar .links li .sub-menu .more-sub-menu{
    display: none;
  }
  .navbar .links li .sub-menu .more span{
    /* background: red; */
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
  }
  .links li .sub-menu .more:hover .more-sub-menu{
    display: none;
  }
  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu{
    display: none;
  }
.navbar .nav-links.show1 .links .htmlCss-sub-menu,
  .navbar .nav-links.show3 .links .js-sub-menu,
  .navbar .nav-links.show2 .links .more .more-sub-menu{
      display: block;
    }
    .navbar .nav-links.show1 .links .htmlcss-arrow,
    .navbar .nav-links.show3 .links .js-arrow{
        transform: rotate(180deg);
}
    .navbar .nav-links.show2 .links .more-arrow{
      transform: rotate(180deg);
      
    }
}
@media (max-width:370px){
  nav .navbar .nav-links{
  max-width: 100%;
} 
}
.page-footer {
direction:ltr;
     z-index:99;
  background-color: #3E8DA8;
  flex-grow: 0;
  flex-shrink: 0;
  height: 75px;
}
.content-footer {
    direction:ltr;
     z-index:99;
  padding: 20px;
  padding-bottom: 50px;
}
.footer-section { 
  direction:ltr;
  z-index:99;
  background-color: #2f2b2b;
  height: 0px;
  padding: 55px 0;
  padding-top: 7px;
  color: #fff;
  position: relative;
}
.footer-section-a {
    direction:ltr;
     z-index:99;
  background-color: #2f2b2b;
  height: 0px;
  padding: 55px 0;
  padding-top: 5px;
  color: #fff;
  position: relative;
  text-align:right;
  
}
.copyright {
    direction:ltr;
     z-index:99;
  text-align: start;
  margin-left: 15px;
}

.creator-container{
    direction:ltr;
     z-index:99;
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 5px;
}
.fa {
    direction:ltr;
  padding: 5px;
  font-size: 30px;
  width: 40px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity:1.5;
}

/* Set a specific color for each brand */

/* Social Media Links and Icons */
.fa-facebook {
  background: transparent;
  color: white;
}
.fa-instagram{
  color: white;
  background-color: transparent;
}
.fa-youtube{
  color: white;
}
.fa-twitter{
  color: white;
}

.lovan-company{
  display: flex;
}
.mile{
  margin-top: 30px;
  margin-left: 15px;
  font-weight: bold;
}
.betek-Products{
  width: auto;
  height: 750px;
  background-color: white;
  margin-top: 100px;
}
.pa{
  font-size: 34px;
}
.con{
  width: auto;
  height: 200px;
  background-color: pink;
}
/* custom font from google fonts */

/* Basic styling and positioning of elements */
body {color:#444;font-size:16px;}
#some-box {background:#fff;padding:40px 0px 80px;font-family:'Open Sans', sans-serif;}
#some-box h1 {text-align:center;}
#some-box h3 {font-size:26px;}
#some-box a {color:#70BCB8;text-decoration:none;display:block;font-weight:bold;}
#some-box a:hover {color:#8E7BB2;}
.h1-a{margin-right: 175px;}
article.row {width:100%;max-width:800px;margin:0 auto;padding:45px 0;}
article.row div {width:49.4%;display:inline-block;position:relative;border:1px solid white;}

/**** For your reference ****/
article.row {border:1px solid transparent;}
article.row:hover {border:1px solid transparent;}
article.row div:hover {border:1px solid transparent;}


#idea-one img, #idea-two img, #idea-three img {position:absolute;bottom:-20px;left:50px;}
@media(max-width:750px){

  /* This resizes the divs that contain your content to fill the width of the page so that they stack vertically */
  article.row div {min-width:300px;width:90%;margin:0 5%;text-align:center;display:block;}
  
  /* Center your text */
	#some-other-box h3 {text-align:center; margin-left: 0px;}
  .h1-a{margin-left: 0px;}
  /* Center your image */
	#idea-one img, #idea-two img, #idea-three img {position:relative;margin:auto;left:inherit;bottom:inherit;}

  /* This tells the browswer to stack the content vertically */
  #idea-two {display:-webkit-box;display:-moz-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;box-orient:vertical;}
	#idea-two div:first-of-type {-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;box-ordinal-group:2;}
}
.product-grid{ font-family: 'Roboto', sans-serif; margin-left :30px;}
.product-grid .product-image{
overflow: hidden;
position: relative;
}
.product-grid .product-image a.image{ display: block; }
.product-grid .product-image img{
width: 90%;
height: auto;
}
.image{
    width:320px;
    height:320px;
}
.product-grid .product-links{
width: 100%;
padding: 0;
margin: 0;
list-style: none;
opacity: 0;
position: absolute;
bottom: 10px;
left: 10px;
transition: all .5s ease 0s;
}
.product-grid:hover .product-links{ opacity: 1; }
.product-grid .product-links li{
margin: 0 2px;
display: inline-block;
}
.product-grid .product-links li a{
color: #212121;background: #fff;
font-size: 16px;
text-align: center;
line-height: 41px;
width: 40px;
height: 40px;
border-radius: 2px;box-shadow: 0 0 10px rgba(0,0,0,0.15);
display: block;transition: all 0.3s ease 0s;
}
.product-grid .product-links li:first-child a,
.product-grid .product-links li a:hover{color: #fff;
background: #066bec;
}
.product-grid .product-content{ padding: 12px 0; }
.product-grid .product-category{
color: #757575;font-size: 12px;
font-weight: 500;
text-transform: uppercase;
margin: 0 0 5px;
display: block;
}
.product-grid .product-category a{
color: #757575;
transition: all .3s ease 0s;
}
.product-grid .product-category a:hover{ color: #076cec; }
.product-grid .title{
font-size: 17px;
font-weight: 500;
text-transform: capitalize;
margin: 0 0 7px;
}
.product-grid .title a{
color: #3a3a3a;
transition: all 0.3s ease 0s;
}
.product-grid .title a:hover{ color: #0790f4; }
.product-grid .price{
color: #0790f4;
font-size: 17px;
font-weight: 400;
}
@media screen and (max-width: 990px){
.product-grid{ margin-bottom: 30px; }
}
div.row{
    margin-right:0px;
}
.right{
   text-align:right;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2rem;
}

.service {
    flex-basis: calc(33.33% - 2rem);
    margin: 1rem;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}

.service:hover {
    transform: scale(1.05);
}

.service img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
.serviceimg:hover{
    transform:scale(1.03);
}
@media screen and (max-width: 768px) {
    .service {
        flex-basis: calc(50% - 2rem);
    }
}

@media screen and (max-width: 576px) {
    .service {
        flex-basis: 100%;
    }
}