.home-slider .carousel-caption {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  margin: 140px 0 265px;
  opacity: 0;
  text-align: left;
}
.home-slider .carousel-caption h1 {
  font-size: 3.8rem;
  line-height: 4.8rem;
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: #27325a;
}
.home-slider .carousel-caption h1 i {
  font-style: normal;
  text-transform: none;
  display: block;
  font-weight: 400;
  line-height: 5.5rem;
  color: #333;
}
.home-slider .carousel-caption p {
  font-size: 1.8rem;
  line-height: 2.9rem;
  color: #222;
  font-weight: 400;
}
.home-slider .carousel-caption .home-cta {
  margin: 30px 0 0;
}
.home-slider .mob-banner {
  background-size: 0;
}
.home-slider .carousel-item {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: unset;
  display: table;
  -webkit-animation: animatedBackground 20s linear infinite;
          animation: animatedBackground 20s linear infinite;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  position: relative;
}
.home-slider .carousel-item.active .carousel-caption {
  opacity: 1;
}
.home-slider .carousel-item.active .carousel-caption h1, .home-slider .carousel-item.active .carousel-caption h2, .home-slider .carousel-item.active .carousel-caption p, .home-slider .carousel-item.active .carousel-caption .home-cta a {
  -webkit-animation-name: fadeInUp;
          animation-name: fadeInUp;
}

.home-slider .home-banner-modal {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: unset;
  background-position: center top;
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 99;
  display: inline-block;
  pointer-events: none;
}

.banner-pattern {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 1;
}

.banner-pattern img {
  height: 100%;
}

.bg-grey {
  background-color: #fbfbfb;
}

.left-bg {
  position: relative;
  z-index: 1;
}
.left-bg:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image: url(/images/about-bg-modal.png);
}

@-webkit-keyframes carMove {
  0%, 100% {
    -webkit-transform: rotate(0deg) translateX(0);
    transform: rotate(0deg) translateX(0);
  }
  25%, 75% {
    -webkit-transform: rotate(-3deg) translateX(20px);
    transform: rotate(-3deg) translateX(20px);
  }
  50% {
    -webkit-transform: rotate(-6deg) translateX(40px);
    transform: rotate(-6deg) translateX(40px);
  }
}

@keyframes carMove {
  0%, 100% {
    -webkit-transform: rotate(0deg) translateX(0);
    transform: rotate(0deg) translateX(0);
  }
  25%, 75% {
    -webkit-transform: rotate(-3deg) translateX(20px);
    transform: rotate(-3deg) translateX(20px);
  }
  50% {
    -webkit-transform: rotate(-6deg) translateX(40px);
    transform: rotate(-6deg) translateX(40px);
  }
}
@-webkit-keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@-webkit-keyframes blink {
  50% {
    border-color: transparent;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.flex-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 10px;
}

@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
.custom-wow {
  visibility: visible;
  opacity: 1;
  animation: none ! IMPORTANT;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
.custom-wow.animated {
  visibility: visible;
  opacity: 1;
}

.custom-wow.animated.fadeInUp {
  -webkit-animation-name: fadeInUp;
          animation-name: fadeInUp;
}
.custom-wow.animated.fadeInRight {
  -webkit-animation-name: fadeInRight;
          animation-name: fadeInRight;
}
.custom-wow.animated.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
          animation-name: fadeInLeft;
}
.custom-wow.animated.fadeInDown {
  -webkit-animation-name: fadeInDown;
          animation-name: fadeInDown;
}

.animated {
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}
.animated.delay-1s {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.animated.delay-1-2s {
  -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
}
.animated.delay-1-3s {
  -webkit-animation-delay: 1.3s;
          animation-delay: 1.3s;
}
.animated.delay-1-4s {
  -webkit-animation-delay: 1.4s;
          animation-delay: 1.4s;
}
.animated.delay-1-5s {
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
}
.animated.delay-1-6s {
  -webkit-animation-delay: 1.6s;
          animation-delay: 1.6s;
}

.pad-80 {
  padding: 80px 0;
}

.pattern::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.02;
  pointer-events: none;
  background-image: url(/images/common-pattern-grey.webp);
}

.pattern .container {
  position: relative;
  z-index: 9;
}

.about-wrap {
  position: relative;
  z-index: 1;
  margin-top: -220px;
}

.about-wrap .about-each-box {
  padding: 30px 20px;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  border-bottom: 3px solid #dd1d40;
  margin: 30px 0 0;
  min-height: calc(100% - 30px);
  top: 0;
}
.about-wrap .about-each-box:hover {
  top: -10px;
  border-bottom: 3px solid #27325a;
}

.box-head {
  font-size: 1.8rem;
  line-height: 2.8rem;
  font-weight: 600;
}

.service-wrap {
  -webkit-box-shadow: 0 4px 21px 1px rgba(9, 101, 172, 0.12);
          box-shadow: 0 4px 21px 1px rgba(9, 101, 172, 0.12);
  margin: 0 0 30px;
  padding: 20px;
  text-align: center;
  min-height: calc(100% - 30px);
  border-radius: 20px;
  border: 2px solid transparent;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
.service-wrap i {
  font-size: 5rem;
  line-height: 6rem;
  color: #27325a;
}
.service-wrap:hover {
  border: 2px solid #27325a;
}

.service-carousel img {
  width: 60px !important;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.each-service {
  background-color: #f5f5f5;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  border-radius: 20px;
  top: 0;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 25px;
  position: relative;
  min-height: calc(100% - 30px);
}
.each-service:hover {
  top: -5px;
  background-color: #27325a;
}
.each-service:hover img {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}
.each-service span,
.each-service p {
  color: #27325a;
  font-size: 1.8rem;
  line-height: 2.8rem;
  margin: 15px 0 0;
  font-weight: 500;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
.each-service:hover span, .each-service:hover p {
  color: #fff;
}
.each-service .learn-more {
  font-size: 1.6rem;
  line-height: 2.6rem;
  font-weight: 600;
}

.service-carousel .owl-stage,
.doctor-carousel .owl-stage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.service-carousel .owl-stage .item,
.doctor-carousel .owl-stage .item {
  height: 100%;
}

.service-carousel .owl-stage .item .each-service {
  height: 100%;
}

.service-carousel .owl-nav .owl-next,
.service-carousel .owl-nav .owl-prev {
  position: static;
}

.service-carousel .owl-stage-outer {
  padding: 20px 0 0 !important;
}

.owl-nav {
  margin-top: 30px;
  position: static !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  top: 0 !important;
}

.owl-nav .owl-next,
.owl-nav .owl-prev {
  width: 35px;
  height: 35px;
  margin: 0 5px;
  color: #333333;
  border: 1px solid #dd1d40;
  background-color: #fff;
  border-radius: 5px;
  left: 0;
  font-size: 1.5rem;
  line-height: 3rem;
  opacity: 1;
  z-index: 2;
  position: static;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  margin: 0 8px;
  background-image: none !important;
}

.owl-nav .owl-next:hover,
.owl-nav .owl-prev:hover {
  color: #fff;
  background-color: #dd1d40;
}

/**** facility ****/
.background-bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.single-facility {
  background-color: #fff;
  padding: 15px;
  border-radius: 20px;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  -webkit-box-shadow: 0 4px 21px 1px rgba(9, 101, 172, 0.12);
          box-shadow: 0 4px 21px 1px rgba(9, 101, 172, 0.12);
  margin-top: 30px;
  min-height: calc(100% - 30px);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  border: 2px solid transparent;
}
.single-facility:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  border: 2px solid #27325a;
}
.single-facility .icon {
  background-color: #27325a;
  width: 80px;
  height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 20px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.single-facility .icon img {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
  width: 45px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.doctor-carousel .owl-stage .item .our-doctors {
  height: 100%;
}

.doctor-carousel .owl-stage-outer {
  padding: 20px 0 20px !important;
}

.our-doctors {
  position: relative;
  border: 2px solid #f0f0f0;
  background-color: #fafafa;
  border-radius: 8px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-align: center;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}
.our-doctors:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}
.our-doctors .team-text {
  padding: 15px;
  text-align: center;
}
.our-doctors .team-text .name {
  color: #333;
  font-size: 18px;
}

.blog-single {
  margin: 30px 0 0;
}

.blog-single p,
.blog-single a {
  font-size: 14px;
  line-height: 24px;
}

.blog-single img {
  border-radius: 20px;
}

.blog-single .blog-inner {
  -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
  margin: -40px 20px 0;
  z-index: 9;
  position: relative;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.blog-single .blog-inner .blog-single-head {
  font-size: 1.8rem;
  line-height: 2.8rem;
  margin: 0 0 10px;
}

.blog-single:hover .blog-inner {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.rep-container {
  max-width: 1320px !important;
}

.rep-testimonial-txt {
  height: 180px !important;
}

.rep-testimonial-slider-single {
  background-color: #f5f5f5 !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: "Montserrat", sans-serif;
  border: 1px solid #27325a !important;
}
.rep-testimonial-slider-single:hover {
  border: 1px solid #dd1d40 !important;
}

.rep-testimonial-stars {
  font-size: 18px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
}

.rep-testimonial-head p {
  color: #333 !important;
}

.rep-testimonial-txt {
  padding: 20px !important;
  border-top: 1px solid #eee !important;
  border-bottom: 1px solid #eee !important;
  background-color: #fff;
  border-radius: 10px;
}

.rep-testimonial-txt p {
  font-family: "Montserrat", sans-serif;
  font-size: 16px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
}

.rep-testimonial-footer p {
  color: #333 !important;
  font-size: 18px !important;
  line-height: 28px !important;
}

.rep-testimonial-footer p strong {
  font-weight: 600 !important;
}

.rep-testimonial-slider-single p {
  font-family: "Montserrat", sans-serif;
}

.rep-testimonial-slider-single {
  position: relative !important;
}

.rep-testimonial-slider-single::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Pro";
  position: absolute;
  top: -22px;
  right: 10px;
  font-size: 70px;
  font-weight: 600;
  color: #dd1d40;
  opacity: 0.5;
  line-height: 40px;
}

.event-card {
  border: none;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  height: 100%;
}

.event-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

.event-date {
  font-weight: bold;
  color: #27325a;
  margin-bottom: 0.5rem;
}

.appointment-bg::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  height: 60%;
  overflow: hidden;
  background-color: #27325a;
  opacity: 0.7;
}

.appointment-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  height: 60%;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-image: url(/images/appointment-bg.webp);
}

.appointment-bg .container {
  position: relative;
  z-index: 9;
}

.form-wrap {
  -webkit-box-shadow: 0px 3px 30px rgba(0, 0, 0, 0.05);
          box-shadow: 0px 3px 30px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
}

.faq-block .accordion-item {
  border: none;
  background-color: transparent;
  margin: 0 0 10px;
}
.faq-block .accordion-button {
  color: #333;
  font-size: 1.8rem;
  line-height: 2.8rem;
  font-weight: 600;
  background-color: #f5f5f5;
  padding: 10px 20px;
  border: none;
  position: relative;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}
.faq-block .accordion-button:after {
  position: absolute;
  content: "\f062";
  right: 10px;
  font-family: "Font Awesome 6 Pro";
  -webkit-transform-origin: center center;
          transform-origin: center center;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  font-weight: 600;
  display: table;
  background-image: none !important;
  color: #333;
}
.faq-block .accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #dd1d40;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
.faq-block .accordion-button:not(.collapsed):after {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  color: #fff;
}
.faq-block .accordion-button:hover {
  color: #fff;
  background-color: #333;
}
.faq-block .accordion-button:hover:after {
  color: #fff;
}
.faq-block .accordion-body {
  padding: 20px;
  background-color: #f5f5f5;
}

.our-team {
  background-color: #fff;
  padding: 25px;
  min-height: calc(100% - 30px);
  margin: 0 0 30px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  -webkit-box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.our-team:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #27325a;
  -webkit-transform: rotate(-40deg) translateY(-70%);
          transform: rotate(-40deg) translateY(-70%);
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.our-team .our-team-inner {
  position: relative;
  z-index: 9;
}

.our-team .team-image {
  border-radius: 5px;
  overflow: hidden;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.our-team .team-image img {
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.our-team .team-dsc {
  text-align: center;
  padding: 15px 0 0;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.our-team .team-dsc .sub-head {
  color: #454545;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.our-team .team-dsc p {
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.our-team:hover {
  -webkit-box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
          box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.our-team:hover:before {
  -webkit-transform: rotate(0deg) translateY(0%);
          transform: rotate(0deg) translateY(0%);
}

.our-team:hover .team-image {
  -webkit-box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
          box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  margin-top: -15px;
}

.our-team:hover .team-image img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.our-team:hover .team-dsc .sub-head,
.our-team:hover .team-dsc p,
.our-team:hover .team-dsc a {
  color: #fff;
}

.img-block {
  position: relative;
  z-index: 1;
}

.img-block img {
  border-radius: 20px;
}

.img-block::before {
  position: absolute;
  bottom: 0;
  right: -7px;
  width: 100%;
  height: 97%;
  content: "";
  border-radius: 20px;
  border: 2px solid #27325a;
  -webkit-transform: rotate(358deg);
  transform: rotate(358deg);
  z-index: -1;
}

.servicesm-single {
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: 30px 0 0;
  border: 4px solid #fff;
  border-radius: 20px;
}

.servicesm-inner-block {
  position: absolute;
  bottom: -1px;
  width: 100%;
}

.servicesm-single-head {
  display: block;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
  line-height: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 15px;
  position: absolute;
  width: 100%;
  bottom: 0;
  color: #282828;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.servicesm-single:hover .servicesm-single-head {
  bottom: 100%;
}

.servicesm-single:hover .servicesm-single-para {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.servicesm-single-para {
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  background-color: rgba(39, 50, 90, 0.85);
  padding: 15px 15px;
}

.servicesm-single:hover .servicesm-inner-block {
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.servicesm-single img {
  width: 100%;
}

.blur-bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}
.blur-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.65);
}

.team-block {
  position: relative;
  border: 1px solid #fafafa;
  background-color: #fafafa;
  border-radius: 8px;
  min-height: calc(100% - 30px);
  margin-top: 30px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 10px;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}
.team-block:hover {
  border: 1px solid #fafafa;
  -webkit-box-shadow: 0px 18px 32px 0px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 18px 32px 0px rgba(0, 0, 0, 0.1);
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

.text-red {
  color: #dd1d40;
}

@media (max-width: 1700px) {
  .home-slider .home-banner-modal {
    background-position: center left;
  }
  .left-bg:after {
    top: -40%;
  }
}
@media (max-width: 1400px) {
  .home-slider .carousel-caption {
    margin: 100px 0 200px;
  }
}
@media (max-width: 1199px) {
  .home-slider .mob-banner {
    background-size: cover;
    background-position: center center;
  }
  .home-slider .mob-banner::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #faf9fc;
    opacity: 0.8;
  }
  .home-slider .carousel-item {
    background-size: 0;
  }
}
@media (max-width: 1024px) {
  .home-slider .carousel-caption {
    margin: 150px 0px 230px;
  }
  .home-slider .carousel-item::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 90%;
    height: 100%;
    z-index: -1;
    background: rgb(255, 255, 255);
    background: -webkit-gradient(linear, left top, right top, from(rgb(255, 255, 255)), color-stop(0%, rgb(255, 255, 255)), to(rgba(255, 255, 255, 0.0088410364)));
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.0088410364) 100%);
  }
  .servicesm-single-para {
    -webkit-transform: none;
    transform: none;
    background-color: transparent;
  }
  .servicesm-single-head {
    position: static;
  }
  .servicesm-inner-block {
    position: static;
  }
  .servicesm-single {
    min-height: calc(100% - 30px);
    background-color: #27325a;
  }
}
@media (max-width: 990px) {
  .home-slider .carousel-caption {
    margin: 110px 0 210px;
  }
}
@media (max-width: 767px) {
  .pad-80 {
    padding: 40px 0;
  }
  .owl-nav {
    margin-top: 15px;
  }
  .home-slider .carousel-item::before {
    z-index: 1;
    background: rgba(255, 255, 255, 0.4);
    width: 100%;
  }
  .home-slider .carousel-caption {
    margin: 50px 0 70px;
  }
  .home-slider .carousel-caption h1 {
    font-size: 3.4rem;
    line-height: 4.4rem;
  }
  .home-slider .carousel-caption h1 i {
    line-height: 4.4rem;
  }
  .home-slider .carousel-item {
    background-size: 0;
  }
  .home-slider .mob-banner {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: unset;
    min-height: 600px;
  }
  .home-slider .carousel-caption .home-cta {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .appointment-bg {
    padding-bottom: 40px !important;
  }
  .appointment-bg:before, .appointment-bg:after {
    height: 100%;
  }
  .banner-pattern {
    bottom: -5px;
  }
  .about-wrap {
    margin-top: 0;
  }
  .box-head {
    font-size: 1.6rem;
    line-height: 2.6rem;
  }
  .flex-btn {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
@media (max-width: 320px) {
  .box-head {
    font-size: 1.4rem;
    line-height: 2.5rem;
  }
}