body,
html {
  width: 100% !important;
  margin: 0 !important;
  overflow-x: hidden;
}
header {
  padding: 300px 0 100px;
}

section {
  padding: 100px 0;
}

.intro {
  background-image: url(../img/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 800px;
}

.intro #overlay {
  position: absolute; /* Sit on top of the page content */
  width: 100%; /* Full width (cover the whole page) */
  height: 800px !important; /* Full height (cover the whole page) */
  top: 0;
  background-color: #1094e5; /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
  opacity: 0.3;
}

.text {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color: white;
  transform: translate(-50%, -25%);
  -ms-transform: translate(-50%, -25%);
  z-index: 3;
}

.head-text {
  border-bottom: 2px solid #f1a804;
  margin-bottom: 20px;
}

.bg-dark {
  background-color: #23527c !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff !important;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link {
  color: #9dc3e7 !important;
}

.btn-secondary {
  color: #fff;
  background-color: #23527c !important;
  border-color: #23527c !important;
}

.btn-secondary:hover {
  color: #000;
  background-color: #9dc3e7 !important;
  border-color: #23527c !important;
}

.fa-phone {
  color: #23527c;
}

.fa-envelope-open {
  color: #23527c;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
  font-size: 30px;
}

.intro {
  height: 100vh;
}

.intro #overlay {
  height: 100vh !important;
}
.mh-470 {
  min-height: 420px;
}

#services .card-img-top {
  height: 100%;
  max-height: 300px;
}
@media (min-width: 360px) {
  .move1 {
    margin-left: 30px;
  }

  .logo {
    margin-top: 10px;
  }

  .navbar-brand {
    font-size: 14px;
    font-weight: 700;
  }

  .mob {
    display: inline-flex;
  }
  .review {
    position: relative;
    top: -80px;
    color: white;
  }
}

@media (min-width: 411px) {
  .navbar-brand {
    font-size: 16px;
    font-weight: 700;
  }

  .mob {
    display: inline-flex;
  }
}

@media (min-width: 320px) {
  .logo {
    margin-top: 10px;
  }

  .header h1 {
    font-size: 30px;
  }

  .header h3 {
    font-size: 20px;
  }

  .navbar-brand {
    font-size: 12px;
    font-weight: 700;
  }

  .mob {
    display: inline-flex;
  }
  .review {
    position: relative;
    top: -80px;
    color: white;
  }
}

@media (min-width: 375px) {
  .logo {
    margin-top: -20px;
  }
  .navbar-brand {
    font-size: 15px;
    font-weight: 600;
  }

  .mob {
    display: inline-flex;
  }
}

@media (min-width: 414px) {
  .navbar-brand {
    font-size: 16px;
    font-weight: 700;
  }

  .mob {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  .logo {
    margin-top: -200px;
  }
  .review {
    position: relative;
    top: -200px;
    color: white;
  }
}

@media (min-width: 1024px) {
  .logo {
    margin-top: -300px;
  }

  .header {
    margin-top: 100px;
  }
  .review {
    position: relative;
    top: -300px;
    color: white;
  }
}

/* @media (max-width: 768px) {
 
  .text {
    position: absolute;
    top: 42%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%, -25%);
    -ms-transform: translate(-50%, -25%);
    z-index: 3;
}

} */
