@font-face {
  font-family: "Bona Nova";
  src: url(/static/fonts/BonaNova-Regular.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url(/static/fonts/Raleway-Regular.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Boris";
  src: url(/static/fonts/Boris.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url(/static/fonts/Inter-Variable.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url(/static/fonts/Montserrat-VariableFont_wght.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
#services {
  font-family: "Bona Nova";
}
.services-title-container {
  position: relative;
  margin-top: 79px;
  margin-left: 400px;
  width: 314px;
  height: 49.14px;
}
.services-title {
  color: rgba(32, 28, 28, 1);
  font-family: Bona Nova;
  font-size: 48px;
  font-weight: 700;
  line-height: 62.4px;
  letter-spacing: -6%;
  text-align: center;
  position: absolute;
  z-index: 2;
}
.services-title-img {
  margin-top: 46px;
  margin-left: 210px;
  position: absolute;
  z-index: 1;
  width: 79px;
  height: 15px;
}
.nav-tabs {
  margin-top: 71.01px;
  display: flex;
  justify-content: space-around;
}
#service-nav-tab {
  border-bottom: 0px;
}
#service-nav-tab .service-category {
  width: 134px;
  height: 34px;
  padding: 10px 35px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(196, 196, 196, 1);
  box-sizing: border-box;
  font-family: Bona Nova;
  font-size: 12px;
  font-weight: 400;
  line-height: 100%;
  text-align: center;
  color: rgba(129, 140, 150, 1);
  text-transform: capitalize;
}
#service-nav-tab .active {
  background: rgba(255, 121, 25, 1);
  border: 1px solid rgba(255, 121, 25, 1);
  color: white;
}
.cards {
  display: flex;
  justify-content: space-around;
  margin-bottom: 153px;
  margin-top: 59px;
}
.card {
  border: 1px solid rgba(196, 196, 196, 1);
  border-radius: 5px;
  padding: 0px;
  max-width: 320px;
  min-height: 463px;
  box-shadow: 0px 0px 15.899999618530273px 0px rgba(0, 0, 0, 0.18);
  transition: 0.7s;
}
.card.hidden::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0.65;
  border-radius: 5px;
}

.card:hover {
  transform: scale(1.1);
}

.img-container {
  overflow: hidden;
  margin-top: 0px;
  max-height: 200px;
  max-width: 320px;
  border-radius: 4px;
}
.card .card-title {
  color: rgba(255, 121, 25, 1);
}
.card .card-header {
  background: white;
  border-bottom: 0px;
  margin-top: 19.67px;
}
.card .card-title {
  color: rgba(255, 121, 26, 1);
  font-size: 19px;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: 0.39px;
  text-align: left;
  font-family: Bona Nova;
}
.card .card-body {
  background: white;
  border-bottom: 0px;
  width: 275.1px;
  height: 60.27px;
  padding-top: 0px;
}
.card-body .card-text {
  color: #808080;
  font-size: 13px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: 0px;
  text-align: left;
  font-family: Raleway;
}
.card .card-footer {
  background: white;
  border-top: 0px;
  display: flex;
  justify-content: space-between;
}
.card-footer p {
  height: 25px;
  width: 100px;
  font-size: 19px;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: 0px;
  font-family: Inter;
  color: rgba(255, 121, 25, 1);
}
.card-footer a {
  color: rgba(255, 255, 255, 1);
  font-size: 12px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: capitalize;
  font-family: Raleway;
  background: rgba(255, 121, 25, 1);
  border-radius: 5px;
  width: 106px;
  height: 35px;
  padding: 11px 16px 11px 16px;
  text-decoration: none;
}
.card-hidden {
  display: none;
  visibility: hidden;
}

.carousel-next {
  float: right;
  margin-top: -420px;
  margin-right: -60px;
  padding: 10px;
  color: rgba(255, 121, 25, 1);
  border: 0px;
  background: inherit;
  border-radius: 5px;
  transition: 0.7s;
  font-size: large;
  font-weight: bold;
}
.carousel-prev {
  position: absolute;
  margin-left: -60px;
  margin-top: -420px;
  padding: 10px;
  color: rgba(255, 121, 25, 1);
  border: 0px;
  background: inherit;
  border-radius: 5px;
  transition: 0.7s;
  font-size: large;
  font-weight: bold;
}
.carousel-next:hover {
  transform: scale(1.2);
}
.carousel-prev:hover {
  transform: scale(1.2);
}
.arrow {
  max-width: 55px;
  max-height: 55px;
}
.arrow-prev {
  transform: scaleX(-1);
}
@media (max-width: 1199px) {
  .card {
    max-width: 260px;
    min-height: 363px;
  }
  .card .card-title {
    font-size: 15px;
  }
  .card .card-body {
    width: 200px;
  }
  .card-footer p {
    font-size: 15px;
  }
  .arrow {
    max-width: 50px;
    max-height: 50px;
  }
}
@media (max-width: 992px) {
    #services {
        margin-left: 190px;
    }
    .services-title-container {
    position: relative;
    margin-top: 79px;
    margin-left: 250px;
    width: 214px;
    height: 49.14px;
  }
  .services-title-img {
    margin-left: 120px;
    width: 59px;
    margin-top: 43px;
  }
  .services-title {
    font-size: 30px;
  }
  .card {
    max-width: 220px;
    max-height: 253px;
  }
  .card .card-title {
    font-size: 12px;
  }
  .card .card-body {
    width: 180px;
  }
  .card-footer p {
    font-size: 13px;
  }
  .arrow {
    max-width: 45px;
    max-height: 45px;
  }
}
@media (max-width: 767px) {
  #services.container {
    max-width: 700px;
    margin-left: 185px;
  }
    .card {
    max-width: 170px;
    max-height: 100px;
  }
  .img-container {
    max-height: 150px;
  }
  .card .card-img-top {
    max-width: 220px;
  }
  .card .card-body {
    width: 140px;
  }
  .card-footer p {
    font-size: 13px;
  }
  .card-footer a {
    font-size: 8px;
    width: 76px;
    height: 25px;
    padding: 8px 11px;
  }
}
@media (max-width: 554px) {
    .card {
        margin-right: 10px;
    }
}