/*------ General ------*/
*{
  overflow: visible;
  margin:0;
  padding:0;

  box-sizing: border-box;

  /*font Poppins*/
  font-family: 'Poppins', sans-serif;
}

h1{
  font-size: 36px;
  font-weight: 600;
}

h3{
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

p{
  color:rgb(65, 65, 65);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  padding: 10px;
}



/*----- Nav Bar Style -----*/
nav{
  position: fixed;
  top: 0; left:0; right:0;
  display: flex;
  padding: 3px 3%;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(243, 246, 255, 0.98);

  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);

  z-index: 1000;

  /*border-top: solid #06cfcf;*/
}


nav img{
  width: 178px;
  display: block;
}


/*---Nav menu---*/

/*
.nav-links{
  position: sticky;
  text-align: right;
  flex: 1;
}
*/

.nav-links ul{
  list-style: none;
}

.nav-links ul li{
  /*
  display: inline-block;
  padding: 0px 18px;
  */
  position: relative;
  float: left;

}

.nav-links ul li a{
  color: rgb(1, 100, 139);
  text-decoration: none;
  padding: 20px 28px;
  font-size: 16px;
  display: block;
}

/*sub menu*/
.nav-links ul li ul{
  position: absolute;
  width:115%;
  left:0;
  background: rgba(243, 246, 255, 0.98);
  display: none;
}



.nav-links ul li ul li a{
  width:100%;
  font-size: 14px;
}


/*display submenu when hover*/
.nav-links ul li:hover > ul{
  display: initial;
}


/*line hover effect on nav-link*/
.nav-links ul li a::after{
  content: '';
  width: 0%;
  height: 2px;
  background: #06cfcf;
  display: block;
  transition: 0.15s;
}

.nav-links ul li a:hover::after{
  width:100%;
}



/*hide icons before media query*/
nav .fas{
  display: none;
}

nav .fa-solid{
  display: none;
}

/*media query to change nav display*/
@media(max-width: 716px){
  .text-box h1{
    font-size: 20px;
  }

  .text-box p{
    font-size: 14px;
  }

  nav{
    padding: 10px 5%;
    /*border-top: solid #06cfcf;*/
  }

  /*mobile style menu*/
  .nav-links{
    position:fixed;
    overflow: visible;
    overflow-y:scroll;
    /*border-left: solid #06cfcf;*/
    background: rgb(238,245,252);
    height: 100vh;
    width: 230px;
    top: 0; 
    right: -300px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  .nav-links ul li{
    padding: 12px;
  }

  
  .nav-links ul li ul{
    display: block;
    position: relative;
  }

  /*remove border*/
  .nav-links ul li ul li{
    border-top: none;
  }

  /*remove hover effect on nav-link*/
  .nav-links ul li a:hover::after{
    width:0%;
  }


  /*display icons for mobile style*/
  nav .fa-solid{
    display: block;
    color: rgb(1, 100, 139);
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  nav .fas{
    display: block;
    color: rgb(1, 100, 139);
    cursor: pointer;
  }


}

/*---------------------Index Page---------------------------*/
/*-----Header section-----*/
.header{
  min-height:100vh;
  width:100%;

  /*
  background-image: linear-gradient(
    rgba(4,9,30,0.7),
    rgba(4,9,30,0.7)
  ),url(images/banner.jpg);
  */

  background-position: center;
  background-size: cover;
  position: relative;
}

/*Header Video*/
.header video{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height: 100%;
  object-fit:initial;
  opacity: 0.8;
}

/*Video overlay*/
.overlay{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height: 100%;
  background-color: #396380;
  mix-blend-mode: overlay;
}

/*Main banner text*/
.text-box{
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;

}

.text-box h1{
  font-size: 52px;
}

.text-box p{
  margin: 10px 0 40px;
  font-size: 20px;
  color: #fff;

}

/*------Main Button------*/
.main-button{
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

/*button hover effect*/
.main-button:hover{
  border: 1px solid #2699bd;
  background: #2699bd;
  transition: 0.15s;
}



/*----- What We Offer Section ----- */
.offer{
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;

}


.featureImg img{
  width: 90%;
  display: relative;
}

.row{
  margin-top: 5%;
  display: flex;
  justify-content:space-evenly;

}

.offer-col{
  flex-basis: 40%;
  background: #f3f6ff;
  border-radius: 10px;
  margin-bottom: 1%;
  padding: 20px, 12px;
  box-sizing: border-box;
  transition: 0.5s;
}

.offer-col ul{
  color:rgb(65, 65, 65);
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px 25px;
  text-align: left;
}

.offer-col h3{
  text-decoration: underline;
  text-decoration-thickness: 10%;
}

.offer-col h4{
  color:rgb(0, 0, 0);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  padding: 10px 25px;
  text-align: left;
}

.offer-col p{
  color:rgb(65, 65, 65);
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
  padding: 1px 25px;
  text-align: left;
}

.offer-col:hover{
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

/*media query*/
@media(max-width: 716px){
  .row{
    flex-direction: column;
  }
}


/*----- Products Section -----*/
.product{
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.product-col{
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;

  cursor: pointer;
}

.product-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(0, 88, 196, 0.5); 
}

.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;
}


/*----- Solutions section -----*/
.solutions{
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.solutions-col{
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;

}

.solutions-col img{
  width: 100%;
  border-radius: 10px;
  transition: 0.25s;
}

.solutions-col img:hover{
  box-shadow: 0 0 12px 0px rgba(0, 0, 0, 0.5);
}


.solutions-col p{
  padding:0;
}

.solutions-col h3{
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
}



/*----- Testimonials section -----*/
.testimonials{
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;

}

.testimonial-col{
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: #f3f6ff;
  padding: 25px;
  /*cursor: pointer;*/
  display: flex;
}

.testimonial-col img{
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.testimonial-col p{
  padding: 0;
}

.testimonial-col h3{
  margin-top: 15px;
  text-align: left;
}

.testimonial-col .fa-solid{
  color: #ff4433
}

@media(max-width: 716px){
  .testimonial-col img{
    margin-left: 0;
    margin-right: 15px;
  }
}


/*----- Contact us section-----*/
.banner{
  margin: 80px auto;
  width: 80%;
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.7)), 
  url(images/contact\ us.jpg);

  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}

.banner h1{
  color: #fff;
  margin-bottom: 40px;
  padding: 0;
}

@media(max-width: 716px){
  .banner h1{
    font-size: 24px;
  }
}


/*----- Footer Section -----*/
.footer{
  width: 100%;
  text-align: center;
  padding: 30px 0;
}

.footer h4{
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}

.icons .fa-brands{
  color: #2699bd;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
}

/*-------------------------------------------------------------------*/
/*----- Common sub header-----*/
.sub-header{
  height: 50vh;
  width: 100%;
  margin-bottom: 20px;
  background-image: linear-gradient(
    rgba(4, 9, 30, 0.7),
    rgba(4, 9, 30, 0.7)
  ),
  url(images/banner3.jpg);

  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header h1{
  margin-top: 0px;
  padding-top: 150px;
}

/*------AI dashcam header------*/
.aicam-sub-header{
  height: 50vh;
  width: 100%;
  margin-bottom: 20px;
  background-image: linear-gradient(
    rgba(4, 9, 30, 0.7),
    rgba(4, 9, 30, 0.7)
  ),
  url(images/aidashcam/aicam-banner.png);

  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.aicam-sub-header h1{
  margin-top: 0px;
  padding-top: 150px;
}

/*------fleet dashcam header------*/
.fleetcam-sub-header{
  height: 50vh;
  width: 100%;
  margin-bottom: 20px;
  background-image: linear-gradient(
    rgba(4, 9, 30, 0.7),
    rgba(4, 9, 30, 0.7)
  ),
  url(images/fleetcam/fleetcam-banner.png);

  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.fleetcam-sub-header h1{
  margin-top: 0px;
  padding-top: 150px;
}

/*------vms sub header------*/
.vms-sub-header{
  height: 50vh;
  width: 100%;
  margin-bottom: 20px;
  background-image: linear-gradient(
    rgba(4, 9, 30, 0.7),
    rgba(4, 9, 30, 0.7)
  ),
  url(images/vms/vms-banner.png);

  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.vms-sub-header h1{
  margin-top: 0px;
  padding-top: 150px;
}

/*-----------------------------------------------------------------*/
/*------ About Us page ------*/
.about-us{
  width: 80%;
  margin: auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

.about-col{
  flex-basis: 48%;
  padding: 30px 2px;
}

.about-col img{
  width: 100%;
}

.about-col h1{
  padding-top: 0;
}

.about-col p{
  padding: 15px 0 25px;
}

.red-button{
  border: 1px solid #2699bd;
  background: transparent;
  color: #2699bd
}

.red-button:hover{
  color: #fff;
}


/*-----AI cam page Embedded Video--------*/

.aicam-movie{
  margin-bottom: 10%;
  /*cursor: pointer;*/
}

.aicam-movie video{
  border-radius: 10px;
  width:80%;
  object-fit: cover;
  margin: auto;
}

/*
.container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) 
}


.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
*/

.iframe-video{
  position: relative;
  overflow:hidden;
  width:100%;
  margin: auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.iframe-video iframe{
  position: absolute;
  width: 100%;
  height: 80%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}


/*------ VMS page videos------*/
.vms-movie{
  flex-basis: 48%;
  border-radius: 10px;
  margin-bottom: 5%;
  left:0;
  background: #f0f3ff;  
  padding: 10px;
  /*cursor: pointer;*/
  display: flex;
}

.vms-movie video{
  width:100%;
  height: 100%;
  object-fit: cover;
  margin: auto;
}

.vms-solutions-col{
  flex-basis: 100%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}

.vms-solutions-col img{
  width: 100%;
}


/*----- Contact Us Page -----*/
.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-solid{
  font-size: 28px;
  color: #2699bd;
  margin: 10px;
  margin-right: 30px;
}

.contact-col div p{
  padding: 0;
}

.contact-col div h5{
  font-size: 20px;
  margin-bottom: 5px;
  color: #555;
  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;
}