/********** Template CSS **********/

img {
  will-change: transform, opacity;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.fw-medium {
  font-weight: 500;
}

.font1 {
  font-size: 17px;
}

/*** 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 {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
  color: var(--bs-dark);
}

.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;
  border-radius: 50px;
  font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
  position: relative;
  padding: 0 0 10px 10px;
  z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
  font-size: 60px;
  line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 45px;
  left: 50%;
  bottom: 0;
  border-radius: 35px;
  transition: 0.5s;
  z-index: -1;
}

.icon-box-primary::before {
  background: var(--bs-primary);
}

.icon-box-light::before {
  background: var(--bs-light);
}

/*** Navbar ***/

.ms-auto {
  margin-left: auto !important;
}

.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 20px 0;
  color: var(--bs-dark);
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #044bc7;
}

.navbar .dropdown-toggle::after {
  /* border: none; */
  /* content: "\f107"; */
  font-family: "Inter", sans-serif;
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.font-roboto {
  font-family: "Roboto", sans-serif;
}

.font-red-rose {
    font-family: "Red Rose", sans-serif;
}

.max-600 {
    max-width: 600px;
}

textarea {
    height: 130px !important;
}

.fa-phone {
    transform: rotate(90deg);
}

.footer_logo {
    padding-bottom:30px;
}

.service-container *:not(.btn),
.service-container ul li {
  color: #000000af !important;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
    float: left;
  }
}

@media (min-width: 992px) {
  .sticky-top {
    margin-top: -34px;
  }

  .navbar {
    height: 81px;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
  .navbar-brand {
        max-width: 18%;
    }
}

/*** Header ***/
@media (min-width: 992px) {
  .header-carousel,
  .page-header {
    margin-top: -34px;
  }
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  background: rgba(3, 27, 78, 0.3);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 3.5rem;
  background-color: var(--bs-primary);
  border: 15px solid var(--bs-primary);
}

@media (max-width: 767.98px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/testimonial.webp) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--bs-white);
}

/*** Features ***/
.feature {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/feature.jpg) left center no-repeat;
  background-size: cover;
}

.feature-row {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.feature-item {
  border-color: rgba(0, 0, 0, 0.03) !important;
}

.experience .progress {
  height: 5px;
}

.experience .progress .progress-bar {
  width: 0px;
  transition: 3s;
}

.experience .nav-pills .nav-link {
  color: var(--dark);
}

.experience .nav-pills .nav-link.active {
  color: #ffffff;
}

.experience .tab-content hr {
  width: 30px;
}

/*** About ***/
.about-fact {
  width: 170px;
  height: 170px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 576px) {
  .about-fact.mt-n130 {
    margin-top: -130px;
  }
}

.btn-play {
  position: relative;
  display: block;
  box-sizing: content-box;
  width: 36px;
  height: 46px;
  border-radius: 100%;
  border: none;
  outline: none !important;
  padding: 18px 20px 20px 28px;
  background: var(--bs-primary);
}

.btn-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 90px;
  height: 90px;
  background: var(--bs-primary);
  border-radius: 100%;
  animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 90px;
  height: 90px;
  background: var(--bs-primary);
  border-radius: 100%;
  transition: all 200ms;
}

.btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  left: 3px;
  border-left: 30px solid #ffffff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
    opacity: 0;
  }
}

.modal-video .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.modal-video .modal-body {
  position: relative;
  padding: 0px;
}

.modal-video .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** Service ***/
.container-service {
  position: relative;
}

.container-service::before {
  position: absolute;
  content: "";
  background: #00def024;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
  z-index: -1;
}

.service-item {
  position: relative;
  height: 100%;
  padding: 20px 17px;
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.service-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  transition: 0.5s;
  background: #0b7755c2;
}

.service-item:hover::before {
  height: 100%;
  top: 0;
}

.service-item * {
  position: relative;
  transition: 0.5s;
  z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
  color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
  background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
  color: var(--bs-white) !important;
}

/*** Team ***/
.container-team {
  position: relative;
}

.container-team::before {
  position: absolute;
  content: "";
  background: #1b5ed71c;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
  z-index: -1;
}

.team-item {
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.team-item .team-social {
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  transition: 0.5s;
  background: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-item:hover .team-social {
  width: 100%;
  left: 0;
}

.team-item .team-social .btn {
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-social .btn {
  opacity: 1;
}

/*** Testimonial ***/
.testimonial {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/testimonial.webp) left center no-repeat;
  background-size: cover;
}

.testimonial-item img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 60px;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-left: 15px;
  color: var(--bs-primary);
  font-size: 30px;
  line-height: 0;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--bs-dark);
}

/*** Contact ***/
@media (min-width: 992px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 991.98px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0px;
    top: 50%;
    left: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

/*** Footer ***/
.footer {
  /*background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/footer.png) center center no-repeat;*/
  background-size: contain;
}

@media (min-width: 992px) {
  .footer::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: rgb(255 251 252);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--bs-primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.copyright a {
  color: var(--bs-white);
}

.copyright a:hover {
  color: var(--bs-primary);
}

.custom-btn {
  width: 150px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
    7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  outline: none;
}

.text-black {
  color: #000 !important;
}

/* 7 */
.btn-7 {
  background: linear-gradient(
    0deg,
    rgba(255, 151, 0, 1) 0%,
    rgba(251, 75, 2, 1) 100%
  );
  line-height: 42px;
  padding: 0;
  border: none;
}
.btn-7 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.btn-7:before,
.btn-7:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  background: rgba(251, 75, 2, 1);
  box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.9),
    -4px -4px 5px 0px rgba(255, 255, 255, 0.9),
    7px 7px 20px 0px rgba(0, 0, 0, 0.2), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.btn-7:before {
  height: 0%;
  width: 2px;
}
.btn-7:after {
  width: 0%;
  height: 2px;
}
.btn-7:hover {
  color: rgba(251, 75, 2, 1);
  background: transparent;
}
.btn-7:hover:before {
  height: 100%;
}
.btn-7:hover:after {
  width: 100%;
}
.btn-7 span:before,
.btn-7 span:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: rgba(251, 75, 2, 1);
  box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.9),
    -4px -4px 5px 0px rgba(255, 255, 255, 0.9),
    7px 7px 20px 0px rgba(0, 0, 0, 0.2), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.btn-7 span:before {
  width: 2px;
  height: 0%;
}
.btn-7 span:after {
  height: 2px;
  width: 0%;
}
.btn-7 span:hover:before {
  height: 100%;
}
.btn-7 span:hover:after {
  width: 100%;
}

#cover {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

/* 2/2 */
#cover > img {
  float: left;
  border: 2px solid #4029e4;
  width: 45%;
  margin: 1.66%;
}

@media (max-width: 678px) {
  #cover > img {
    border: 2px solid #4029e4;
    width: 100%;
    margin: 1.66%;
  }
  .bubble-container {
      margin-top: 1rem;
  }
  .bubble-container .col-sm-6 {
      display: flex;
      justify-content: center;
  }
}
/* 2/2 */

/* Appointment Button */
.appointment-btn {
  .btn:link,
  .btn:visited {
    text-transform: lowercase;
    text-decoration: none;
    padding: 7px 18px;
    display: inline-block;
    border-radius: 100px;
    transition: all 0.2s;
    position: absolute;
    background-color: #3133b9;
  }

  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  .btn-white1 {
    background-color: #383fdb;
    color: #fff;
  }

  .btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.4s;
  }

  .btn-white::after {
    background-color: #383fdb;
  }

  .btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
  }

  .btn-animated {
    animation: moveInBottom 5s ease-out;
    animation-fill-mode: backwards;
  }

  @keyframes moveInBottom {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }

    100% {
      opacity: 1;
      transform: translateY(0px);
    }
  }
}
/* aPPOINTMENT bUTTON /*

/* LIGHT Box Gallery */

.light-box-gallery {
  .lightboxpreview {
    transition: all 0.3s linear;
    padding-top: 60%;
    cursor: pointer;
    background-size: cover;
  }

  .lightbox-content {
    max-height: 75vh;
    height: 75vh;
    width: 100%;
    max-width: 1000px;
  }

  .lightbox-close {
    cursor: pointer;
    margin-left: auto;
    position: absolute;
    right: -30px;
    top: -30px;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
  }
  .modal_inner_image {
    min-height: 400px;
    z-index: 1000;
  }
  .modal-content {
    width: 100%;
  }

  .modalscale {
    transform: scale(0);
    opacity: 0;
  }

  .lightbox-container,
  .lightbox-btn,
  .lightbox-image-wrapper,
  .lightbox-enabled {
    transition: all 0.4s ease-in-out;
  }
  .lightbox_img_wrap {
    padding-top: 65%;
    position: relative;
    overflow: hidden;
  }
  .lightbox-enabled:hover {
    transform: scale(1.1);
  }
  .lightbox-enabled {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    object-fit: cover;
    cursor: pointer;
  }

  .lightbox-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(0 0 0 / 79%);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
  }

  .lightbox-container.active {
    opacity: 1;
    pointer-events: all;
  }
  .lightbox-image-wrapper {
    display: flex;
    transform: scale(0);
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
  }
  .lightbox-container.active .lightbox-image-wrapper {
    transform: scale(1);
  }
  .lightbox-btn,
  #close {
    color: white;
    z-index: 9999999;
    cursor: pointer;
    position: absolute;

    font-size: 50px;
  }

  .lightbox-btn:focus {
    outline: none;
  }

  .left {
    left: 50px;
  }
  .right {
    right: 50px;
  }
  #close {
    top: 25px;
    right: 79px;
  }

  .lightbox-image {
    width: 100%;
    -webkit-box-shadow: 5px 5px 20px 2px rgba(0, 0, 0, 0.19);
    box-shadow: 5px 5px 20px 2px rgba(0, 0, 0, 0.19);
    max-height: 95vh;
    object-fit: cover;
  }

  @keyframes slideleft {
    33% {
      transform: translateX(-300px);
      opacity: 0;
    }
    66% {
      transform: translateX(300px);
      opacity: 0;
    }
  }

  .slideleft {
    animation-name: slideleft;
    animation-duration: 0.5s;
    animation-timing-function: ease;
  }
  @keyframes slideright {
    33% {
      transform: translateX(300px);
      opacity: 0;
    }
    66% {
      transform: translateX(-300px);
      opacity: 0;
    }
  }

  .slideright {
    animation-name: slideright;
    animation-duration: 0.5s;
    animation-timing-function: ease;
  }
}

.screen-reader-response {
  display: none;
}

.wpcf7-not-valid-tip {
  color: red;
}

/* Hide button on desktop */
.mobile-button {
  /*display: none;*/
  width: 50%;
  padding: 1.5rem 3rem;
  margin-bottom: 0.5rem !important;
}

.home-appointment-btn {
  width: 50%;
  padding: 1.5rem 3rem;
  margin-bottom: 0.5rem !important;
  margin-right: 10px;
}

.appontment-btn-container {
  display: flex;
}

.accordion-button:focus {
    box-shadow: none !important;
}

/* Show button on mobile screens */
@media (max-width: 768px) {
  .mobile-button {
    display: inline-block;
    width: 75%;
    padding: 1rem 2rem;
  }
  .home-appointment-btn {
    width: 75%;
    display: inline-block;
    padding: 1rem 2rem;
  }
  .appontment-btn-container {
    width: 100%;
    display: block;
    text-align: center;
  }
}

.service-container img {
    margin-bottom: 1rem !important;
}