/********** Template CSS **********/
:root {
  --primary: #dd5c11;
  --secondary: #8d9297;
  --light: #f8f9fa;
  --dark: #182333;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}
.g-recaptcha {
  transform: scale(1);
  transform-origin: top left;
  width: 100%;
  height: auto;
}
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/* top-bar */
.topbar a {
  color: #8d9297;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-left: 30px;
  padding: 25px 0;
  color: var(--secondary);
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 25px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  text-align: start;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--dark);
  border: 15px solid var(--dark);
  border-radius: 50px;
}

.carousel-caption .breadcrumb-item + .breadcrumb-item::before {
  content: "\f111";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-width: 12px;
  }
}
@media (max-width: 460px) {
  .g-recaptcha {
    transform: scale(0.7);
    transform-origin: top left;
  }
}
@media (max-width: 310px) {
  .g-recaptcha {
    transform: scale(0.5);
    transform-origin: top left;
  }
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url(../img/AB-tech-Solution-slider.webp) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: #999999;
}

/*** Facts ***/
.facts-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
}

.facts-overlay p.display-1 {
  font-size: 100px;
  color: transparent;
  -webkit-text-stroke: 2px var(--primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: "Poppins", sans-serif;
}
.fact-head {
  font-size: 1.5rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.facts-overlay a:hover {
  color: var(--primary) !important;
}

/*** Service ***/
.service-item {
  border: 1px solid #dd5c115c;
}
.service-text::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: var(--primary);
  opacity: 0;
  transition: 0.5s;
}

.service-item:hover .service-text::before {
  height: 100%;
  opacity: 1;
}

.service-text * {
  position: relative;
  transition: 0.5s;
  z-index: 1;
}

.service-item:hover .service-text * {
  color: #ffffff !important;
}

/*** Appointment ***/
.appointment {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url(../img/appionment-bg.webp) top center no-repeat;
  background-size: cover;
}

/* quality */
.quality {
  background-color: #dd5c11;
}
.quality p {
  color: #fff !important;
  font-size: 18px;
  font-weight: 300 !important;
}

/*** Footer ***/
.footer {
  color: #999999;
}
.footer h4 {
  font-size: 26px;
  text-transform: uppercase;
}
.footer .footer-subtitle {
  font-size: 22px;
  color: #fff;
}
.footer p a {
  color: #999999;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .copyright a:hover {
  color: var(--primary);
}
.display-7 {
  font-size: calc(1.02rem + 1.5vw);
  font-weight: 700;
  line-height: 1.2;
}
.display-8 {
  font-size: calc(0.8rem + 1vw);
  font-weight: 600;
  line-height: 1.2;
}
.text6h {
  font-weight: 600;
  line-height: 1.2;
  font-family: "Poppins", sans-serif;
}
.fw-600 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}
.fw-700 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.footer .fhead {
  font-size: 26px;
  text-transform: uppercase;
}
.help-block {
  color: red;
  display: inline-block;
  font-size: 13px;
  background: white;
  padding: 2px 10px;
  margin-top: 8px;
  position: relative;
  border-radius: 3px;
}
.help-block:after {
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent white;
}
