*{
  margin: 0;
  padding: 0;
  color: #1c1d22;
  font-family: sans-serif;
  letter-spacing: 1px;
  font-weight: 300;
  box-sizing: border-box;
}

.page-container {
  position: relative;
  min-height: 100vh;
}

ul, li, 
a:link,
a:visited, 
a:hover, 
a:active{
  list-style-type: none;
  text-decoration: none;
}

.background-header {
  width: 100%;
  background-color: #e0f8fd;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.13);
  border-bottom: 2px solid #3863b9;
}

.center {
  box-shadow: 0px 1px 3px rgb(0, 0, 0);
  min-height: 87vh;
  background-color: #e1f3ff;
  padding-bottom: 8rem;
}

.container {
  max-width: 100ch;
  margin: 0 auto;
}

nav {
  position: relative;
  z-index: 10;
}

/*Styling logo*/
.logo {
  position: absolute;
  top: 3px;
  left: -3em;
}
.logo img {
  width: 4rem;
}

/*Styling Links*/
.nav-links {
  display: flex;
  height: 70px;
  list-style: none; 
  padding: 0 0.7vw;
  justify-content: space-evenly;
  align-content: center;
  align-items: center;
  text-transform: uppercase;
}

.nav-links li .link {
  text-decoration: none;
  padding: 0.7vw;
}

.active {
  color: #3863b9;
}

.nav-links .active::before {
  content: "";
  position: absolute;
  color: #3863b9;
  left: 10%;
  bottom: -13px;
  width: 80%;
  border-bottom: 4px solid #3863b9;
}

.nav-links li .link:hover {
  color: #3863b9;
}

.nav-links li {
  position: relative;
}
/*
.nav-links li .link:not(.active)::before 
 {
  content: "";
  display: block;
  height: 4px;
  width: 0%;
  background-color: #3863b9;
  position: absolute;
  transition: all ease-in 250ms;
  margin: 1ch 0 0 10%;
}*/

.nav-links li .link:hover::before{
  width: 80%;
}

/*Styling Buttons*/

.contact-button {
  text-decoration: none;
  text-transform: none;;
  color: #e0f8fd;
  background-color: #4287f5;
  border: 1.5px solid #4287f5;
  border-radius: 2em;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  cursor: pointer;
}

.contact-button:hover {
  color: #4287f5;
  background-color: #e0f8fd;
  border:1.5px solid #4287f5;
  transition: all ease-in-out 350ms;
}

/* Hero Section */
.hero {
  position: relative;
  height: 88vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/images/hero-bur.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 20% 30%;
  background-attachment: fixed;
  filter: brightness(60%);
}

.hero-content{
  position: relative; 
  font-family: "Monserrat", sans-serif;
  color: #f0efe5;
  text-align: center;
  /* background-color: rgba(0, 0, 0, 0.568); */
  width: 100%;
  border: 1px solid white;
  padding: 20px;
}

.hero h1, .hero h2{
  color: #f0efe5 ;
  
  /* -webkit-text-stroke: 1px black; */
  /* text-shadow: 2px 2px 4px rgb(0, 0, 0); */
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 0;
}
.hero-subtitle {
  font-size: 2rem;
  font-weight: 200;
  margin-top: 3rem;
}

.hero-button {
  background-color: #4a4267;
  color: white;
  border: 1px solid #5d4267;
  /* margin-top: 5rem; */
  padding: 0.9375rem 1.875rem;
  font-family: "Monserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 200;
  cursor: pointer;
  opacity: 100%;
}
.hero-button:hover {
  background-color: #5d4267;
  border: 1px solid #424d67;
}

/*Styling Hamburger Icon*/
.hamburger div{
  width: 30px;
  height:3px;
  background: #000000;
  margin: 5px;
  transition: all 0.3s ease;
}
.hamburger{
  display: none;
  justify-content: center;
  margin-top: 20px;
}

/* Footer */

.background-footer {
  position: absolute; 
  bottom: 0;
  /* height: 8rem;  */
  width: 100%;
  /* margin-bottom: -7rem; */
  background-color: #3a61aa;
  border-top: 1px solid #000000;;
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  height: 5rem;
  margin-right: 10px;
}

.icon {
  width: 30px;
  padding: 5px;
  transition: all 250ms ease-in-out ;
}

.icon:hover {
  filter: opacity(0.7);
  transform: scale(1.2);
}

.copy {
  text-align: center;
  font-size: 13px;
  padding-right: 5px;
  margin-top: -8px;
  padding-bottom: 8px;
}

/*Services */

.services-bg {
  position: relative;
  height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url(/images/services.jpg);
  background-position: 25% 55%;
  background-size: cover;
  filter: brightness(60%) blur(1px);
}

.services-bg .title{
  position: relative;
  color: #f0efe5;
  border: 1px solid #f0efe5;
  padding: 20px;
}

button {
color: #fff ;
text-transform: uppercase;
text-decoration: none;
background: #5b85bb;
padding: 10px;
margin: 10px 0;
border-radius: 5px;
display: inline-block;
border: none;
transition: all 0.4s ease 0s;
opacity: 50%;
}

button:hover {
  background: #165bb4;
  /* letter-spacing: 2px; */
  margin-top: 14px;
  margin-bottom: 6px;
  box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
  transition: all 0.4s ease 0s;
  cursor: pointer;
  opacity: 100%;
}

/* ----------------------------------------------------------------- */

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0 40px;
  margin-bottom: 15px;
}

.scene {
  width: 250px;
  height: 400px;
  margin: 15px 5px 0;
  perspective: 600px;
}

.card {
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
  margin: 0 5px;
}

.card.is-flipped {
  transform: rotateY(180deg);
}

.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* border-radius: 25px; */
  box-shadow: 0 0 2px black;
  border: 1px solid black;
}

.card__face--front {
  height: 100%;
  width: 100%;
  /* background-color: cadetblue; */
}

.card__face--back {
  height: 100%;
  width: 100%;
  /* background: rgba(0, 0, 0, 0.5); */
  transform: rotateY(180deg);
  cursor: default;
}



.card__face--front section{
  color: white;
  position: relative;
  top: 100%;
  transform: translateY(-100%);
}
.card__face--back section {
  color: #ffffff;
  position: relative;
  text-shadow: 1px 1px 1px black;;
  font-size: 16px;
  top: 100%;
  transform: translateY(-100%);
}

/* .card__face--back section.bright{
  color: #000000;
  text-shadow: none;
} */

.front1 {
  background-image: url(/images/ppl-cover.jpg);
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

.back1 {
  background-image: url(/images/ppl-cover2.jpg);
  background-size: cover;
  background-position: center;
}

.front2 {
  background-image: url(/images/ir-cover.jpg);
  background-size: cover;
  
  background-position: 30%;
  filter: grayscale(100%);
}

.back2 {
  background-image: url(/images/ir-cover2.jpg);
  background-size: cover;
  background-position: 70%;
}

.front3 {
  background-image: url(/images/commercial-cover.jpg);
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

.back3 {
  background-image: url(/images/commercial-cover2.jpg);
  background-size: cover;
  background-position: center;
}

.front4 {
  background-image: url(/images/ground-cover.jpg);
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

.back4 {
  background-image: url(/images/ground-cover2.jpg);
  background-size: cover;
  background-position: center;
}

.front5 {
  background-image: url(/images/bfr-cover.jpg);
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

.back5 {
  background-image: url(/images/bfr-cover2.jpg);
  background-size: cover;
  background-position: center;
}

.front6 {
  background-image: url(/images/ipc-cover.jpg);
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

.back6 {
  background-image: url(/images/ipc-cover2.jpg);
  background-size: cover;
  background-position: center;
}

/* ----------------------------------------------------------------- */
/* Material */

.material-bg {
  position: relative;
  height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.material-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url(/images/material.jpg);
  background-position: center;
  background-size: cover;
  filter: brightness(80%) blur(1px);
}

.material-bg .title {
  position: relative;
  color: #f0efe5;
}

.material-bg div {
  position: relative;
  text-align: center;
  border: 1px solid #f0efe5;
  padding: 20px;
}

.material-bg h1 {
  /* padding-top: 5vh; */
  padding-bottom: 1vh;
}

.material-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 2vh;
}

.material-menu>li {
  display: inline-block;
  border: 1px solid black;
  width: 30%;
  margin: 0 5px 50px;
  padding: 20px;
  background-color: #e0f8fd;
  box-shadow: 0 0 2px black;
  height: 350px;
}

.material-menu h3{
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
}

.material-menu .item{
    list-style-type: none;
  text-align: center;
  font-size: 14px;
}

.material-menu .item:hover {
  text-decoration: underline;
  text-decoration-color: #3863b9;
}

.material-menu a {
  display: block;
  color: #3863b9;
  padding: 7px;
  /* margin: 2px; */
  border: 1px solid #e0f8fd;
}

.material-menu a:hover{
  border: 1px solid #3863b9;
  border-radius: 5px;
  /* padding: 7px; */
  text-decoration: underline;
  text-decoration-color: #3863b9;
  
}

.material-menu a:active {
  border: 1px solid #3863b9;
  border-radius: 5px;
}

.material-menu .list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* padding-bottom: 50px; */
  height: 100%;
}

.material-menu .item:hover {
text-decoration: underline;
}

/*About
------------------------------------------------------------------*/

.about-bg {
  position: relative;
  height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url(/images/about.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(80%) blur(1px);
}

.about-bg .title {
  position: relative;
  color: #f0efe5;
  border: 1px solid #f0efe5;
  padding: 20px;
}

.about-content {
  padding: 50px;
  line-height: 3ch;
  margin-bottom: 50px;
}

.mySlides {
  display: none
}
img {
  vertical-align: middle;
  border-radius: 5px;
}
.slideshow-container {
  max-width: 400px;
  position: relative;
  margin: auto;
  /* border: 5px solid red; */
  box-shadow: 0 0 5px black;
  border-radius: 5px;
}
/* Next & previous buttons */
.prev,
.next {
cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding:80px 20px;
  margin-top: -90px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* Caption text */
.text {
  color: #ffffff;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
  color: #ffffff;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #999999;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.activedot,
.dot:hover {
  background-color: #111111;
}
/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: .4
  }
  to {
    opacity: 1
  }
}
@keyframes fade {
  from {
    opacity: .4
  }
  to {
    opacity: 1
  }
}


/*Contact */

.contact-bg {
  position: relative;
  height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url(/images/contact.jpg);
  background-position: 50% 40%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(80%) blur(1px);
}

.contact-bg .title {
  position: relative;
  color: #f0efe5;
  border: 1px solid #f0efe5;
  padding: 20px;
}

.contact-content {
  padding: 50px;
  display: flex;
  max-width: 500px;
  flex-direction: column;
  text-align: center;
  /* align-content: center; */
  margin: 50px auto;
  background-color: #bfe6f0;
  border: 1px solid #000000;
  box-shadow: 0px 0px 10px black;
  border-radius: 5px;
}
.contact-content h3 {
  margin-bottom: 1vh;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.contact-content p {
  margin-bottom: 2vh;
}

#fs-frm-inputs {
  border: none;
}

input[type=text],input[type=email] , select, textarea {
  display: block;
  width: 80%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 6px auto 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #4c82af;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #455da0;
}

/*Stying for small screens*/
@media screen and (max-width: 1024px){
  .prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0);
  }
}


@media screen and (max-width: 834px){
  .mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
  }
  
  .logo {
    position: static;
    order: 1;
    padding-right: 20px;
  }
  
  .logo img {
    width: 9vh;
  }

  nav{
      z-index: 3;
      padding-bottom: 7px;
      height: 10vh;
      /* position: fixed;
      width: 100%; */
  }
  .hamburger {
      display:inline-block;
      cursor: pointer;
      transform: translate(-5%, -50%);
      z-index: 2;
      transition: all 0.7s ease;
  }
  .nav-links li .link:not(.active)::before {
    content: unset;
  }
/* .hamburger .line1,
.hamburger .line2,
.hamburger .line3 {
  border: 1px solid #c7c4b4;
  padding: 1px;
} */

  .nav-links{
      position: absolute;
      background: #1c1d22;
      height: 90vh;
      width: 100%;
      flex-direction: column;
      top: 10vh;
      justify-content: flex-start;
      clip-path: circle(50px at -20% -50%);
      -webkit-clip-path: circle(50px at -20% -20%);
      transition: all 1s ease-out;
      pointer-events: none;
  }

  .nav-links.open{
      clip-path: circle(800px at 10% 10%);
      -webkit-clip-path: circle(800px at 10% 10%);
      pointer-events: all;
  }
  .nav-links>li{
      opacity: 0;
      margin: 5vh 0;  
  }
  .nav-links li:nth-child(1){
      transition: all 0.5s ease 0.2s;
      margin-top: 3em;
  }
  .nav-links li:nth-child(2){
      transition: all 0.5s ease 0.4s;
  }
  .nav-links li:nth-child(3){
      transition: all 0.5s ease 0.6s;
  }
  .nav-links li:nth-child(4){
      transition: all 0.5s ease 0.7s;
  }
  .nav-links li:nth-child(5){
      transition: all 0.5s ease 0.8s;
  }
  .nav-links li:nth-child(6){
      transition: all 0.5s ease 0.9s;
  }
  .nav-links li:nth-child(7){
      transition: all 0.5s ease 1s;
  }
  li.fade{
      opacity: 1;
  }

  .nav-links li a {
    color: white;
  }

  .nav-links li .active {
    color: #4287f5
  }

  .hero::before {
    position: absolute;
    background: url(/images/hero-vny.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:  150%;
    background-position: 30% 40%;
  }

  .social {
    justify-content: flex-end;
  }

  .copy {
    text-align: end;
  }

  .material-menu {
    justify-content: center;
  }

  .material-menu>li {
    /* max-width: 50vw; */
    width: 250px;
    margin: 10px 10px;
  }

  .contact-content {
    padding: 50px 0px;
    /* margin: 50px 20px; */
    max-width: 80vw;
  }

  .hero-content{
    border: none;
  }
}
/*Animating Hamburger Icon on Click*/
.toggle .line1{
  transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
  transition: all 0.7s ease;
  width:0;
}
.toggle .line3{
  transform: rotate(45deg) translate(-5px,-6px);
}
