/* a {
    color: #fff;
} */
header {
  padding-top: 3rem;
}
.banner {
  position: relative;
}
.banner::before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  content: "";
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 1%,
    rgba(18, 17, 17, 1) 79%,
    rgba(23, 21, 21, 1) 99%
  );
}

.stellarnav > ul > li > a {
  padding: 0 !important;
  color: #fff;
  font-weight: 400;
}

.stellarnav > ul > li > a:hover {
  color: #f7931e;
}

.invalid-feedback {
  color: #dc3232;
}

.nav-link.active {
  color: #ffb400;
  font-weight: 600;
}

.sticky-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9;
  background-color: #000;
  backdrop-filter: blur(10px);
  padding-top: 1.5rem;
}

#home .button-wrap {
  margin-top: 7rem;
}

#service .card img {
  transform: scale(1);
  transition:
    opacity 1s,
    transform 1s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

#service .card:hover img {
  transform: scale(1.05);
}

#training-programs .swiper-pagination-bullet {
  width: 10px;
  height: 1px;
  background-color: #656565;
}

#training-programs .swiper-pagination-bullet-active {
  background-color: #fff;
  width: 25px;
}

#training-programs .swiper-pagination {
  bottom: 0;
  margin: 0;
}
#training-programs .secondaryBtn {
  margin-top: 22px;
}
#training-programs .swiper-wrapper {
  padding: 0 0 50px;
}

#service .secondaryBtn {
  margin-top: 0.8rem;
  border-color: #5b5b5b;
}

.secondaryBtn {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.secondaryBtn span {
  display: block;
  position: relative;
}

.primaryBtn::before {
  background-color: #f7931e;
}

.secondaryBtn:hover::before {
  background-color: #f7931e;
}

.primaryBtn:hover::before {
  background-color: #000;
}

.primaryBtn:before {
  animation: opacityFallbackOut 0.5s step-end forwards;
  backface-visibility: hidden;
  background-color: #ebebeb;
  clip-path: polygon(-1% 0, 0 0, -25% 100%, -1% 100%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateZ(0);
  transition:
    clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    -webkit-clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 100%;
}

.primaryBtn:hover:before {
  animation: opacityFallbackIn 0s step-start forwards;
  clip-path: polygon(0 0, 101% 0, 101% 101%, 0 101%);
}

.primaryBtn:after {
  background-color: #ffffff;
}

.secondaryBtn:before {
  animation: opacityFallbackOut 0.5s step-end forwards;
  backface-visibility: hidden;
  background-color: #ebebeb;
  clip-path: polygon(-1% 0, 0 0, -25% 100%, -1% 100%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateZ(0);
  transition:
    clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    -webkit-clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 100%;
}

.secondaryBtn:hover:before {
  animation: opacityFallbackIn 0s step-start forwards;
  clip-path: polygon(0 0, 101% 0, 101% 101%, 0 101%);
}

.secondaryBtn:after {
  background-color: #ffffff;
}

.primaryBtn span,
.secondaryBtn span {
  z-index: 1;
  position: relative;
}

@media screen and (max-width: 1025px) {
  html,
  body {
    overflow-x: hidden;
  }

  #home .button-wrap {
    margin-top: 3rem;
  }
}

@media (max-width: 991px) {
  .our-portfolio .portfolio-card {
    width: calc(33% - 0.5rem);
  }

  .stellarnav.mobile,
  .stellarnav.mobile.fixed {
    text-align: end;
  }

  .stellarnav .menu-toggle span.bars span {
    background: #fff;
  }

  .stellarnav.mobile.right > ul {
    right: 0;
    padding-left: 20px;
    padding-right: 20px;
    background: #000;
    z-index: 99;
    height: 100vh;
}

  .stellarnav .icon-close:after,
  .stellarnav .icon-close:before {
    width: 25px;
    border-color: #fff;
  }

  .stellarnav.mobile.left .close-menu,
  .stellarnav.mobile.right .close-menu {
    padding-right: 30px;
  }

  .stellarnav.mobile > ul > li {
    margin-bottom: 0.5rem;
  }

  .stellarnav.mobile li a {
    padding-bottom: 0.4rem !important;
  }

  .text-heading {
    font-size: 2rem;
  }

  #home {
    padding-bottom: 0;
    padding-top: 9rem;
  }

  #home .buuble .content {
    padding-top: 5.2rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  /* #service .service-img {
    top: 0;
    height: 23rem;
    max-width: 65%;
  } */

  .secondaryBtn {
    padding: 0.8rem 1rem;
  }

  #service .card h5 {
    min-height: 48px;
  }

  #training-programs .exploreSlide {
    padding-bottom: 3rem;
  }

  #about-us .mission,
  #about-us .about {
    padding: 2rem;
  }

  #about-us .mission .max-w-xl,
  #about-us .about .max-w-lg {
    width: 100%;
    max-width: unset;
  }

  #service {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .our-portfolio .portfolio-card {
    width: 100%;
    height: auto;
  }

  .our-portfolio .portfolio-card > div {
    height: auto;
  }

  .foo-menu {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .foo-menu li {
    width: calc(50% - 1rem);
  }

  #service .card h5 {
    min-height: unset;
  }

  /* #service .service-img {
    height: auto;
    max-width: unset;
    position: static;
    transform: translateX(50%);
  } */

  #training-programs {
    padding-top: 0;
    padding-bottom: 0;
  }
  .banner p {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  header {
    padding-top: 1.5rem;
  }

  #home {
    padding-bottom: 0;
    padding-top: 6rem;
  }

  #home .primaryBtn,
  #home .secondaryBtn {
    font-size: 14px;
    line-height: 1.4;
    padding: 0.8rem 1rem;
  }

  #home .button-wrap {
    justify-content: space-between;
  }

  #about-us .about .max-w-lg {
    text-align: center;
  }
  .text-heading {
    font-size: 1.5rem;
  }
  .banner p {
    font-size: 13px !important;
    margin-top: 5px;
  }
  #home .buuble .content {
    padding-top: 4.5rem;
    padding-left: 2.7rem;
    padding-right: 2.7rem;
  }
  /* 
    #about-us .about {
        padding-top: 0;
    } */
}

@media (max-width: 380px) {
  #home .buuble .content p {
    font-size: 14px;
  }
}

@media (max-width: 330px) {
  #home .buuble .content {
    padding-top: 3.5rem;
    padding-left: 2.5rem;
    padding-right: 2rem;
  }

  #home .buuble .content .text-heading {
    font-size: 1.5rem;
  }
}
