.home-slider .carousel-caption {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  text-align: left;
  margin: 150px 0 310px;
  opacity: 0;
}
.home-slider .carousel-caption h1 {
  font-size: 4rem;
  line-height: 5rem;
  margin: 0 0 15px;
  color: #fff;
}
.home-slider .carousel-caption h1 i {
  font-style: normal;
  font-size: 3.5rem;
  font-weight: 400;
}
.home-slider .carousel-caption p {
  font-size: 1.8rem;
  line-height: 2.8rem;
}
.home-slider .container {
  position: relative;
  z-index: 9;
}
.home-slider .carousel-item {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.home-slider .carousel-item.active .carousel-caption {
  opacity: 1;
}
.home-slider .carousel-item.active .carousel-caption h1, .home-slider .carousel-item.active .carousel-caption p, .home-slider .carousel-item.active .carousel-caption .banner-btn, .home-slider .carousel-item.active .carousel-caption .notice-block, .home-slider .carousel-item.active .carousel-caption .bullet-design {
  animation-name: fadeInUp;
}
.home-slider .carousel-item.active .home-banner-modal {
  animation-name: fadeInRight;
}
.home-slider .patient-carousel .owl-nav i {
  color: #202020;
}
.home-slider .home-banner-modal {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: unset;
  background-position: bottom;
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 99;
  display: inline-block;
}
.home-slider .mob-banner {
  background-size: 0;
}
.home-slider .home-cta {
  margin: 40px 0 0;
}
.home-slider .home-cta .banner-btn {
  font-size: 18px;
}

@keyframes ring {
  0% {
    transform: rotate(0) scale(1) skew(1deg);
  }
  10% {
    transform: rotate(-25deg) scale(1) skew(1deg);
  }
  20% {
    transform: rotate(25deg) scale(1) skew(1deg);
  }
  30% {
    transform: rotate(-25deg) scale(1) skew(1deg);
  }
  40% {
    transform: rotate(25deg) scale(1) skew(1deg);
  }
  50% {
    transform: rotate(0) scale(1) skew(1deg);
  }
  100% {
    transform: rotate(0) scale(1) skew(1deg);
  }
}
.banner-call .animated-ico {
  position: absolute;
  background-color: #fff;
  color: #16a59f;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
}
.banner-call .animated-ico i {
  position: relative;
  z-index: 9;
}
.banner-call .animated-ico::before, .banner-call .animated-ico::after {
  content: "";
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  animation-name: ripple;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  border-radius: 50%;
  animation-timing-function: linear;
}
.banner-call .animated-ico::before {
  opacity: 0.4;
  animation-delay: 1s;
}
.banner-call .animated-ico::after {
  opacity: 0.6;
}

.banner-call:hover .animated-ico i {
  animation: ring 1s infinite ease-in-out;
}

.animated-txt {
  padding-left: 60px;
}

@keyframes ripple {
  0% {
    opacity: 0.25;
  }
  100% {
    border-radius: 50%;
    opacity: 0;
    transform: scale(2);
  }
}
.notice-block {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 5px;
}

.notice-block-l {
  background-color: #ee1c24;
  padding: 10px 20px;
  border-radius: 30px;
}

.notice-block-r {
  padding: 10px 15px;
}
.notice-block-r h5 {
  font-weight: 400;
  font-size: 1.6rem;
}
.notice-block-r a {
  text-decoration: underline;
  color: #16a59f;
}

.flex-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.flex-btn a:last-child {
  margin-left: 20px;
}

.home-banner-pattern {
  bottom: 0;
  pointer-events: none;
}

.custom-wow {
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all ease-in-out;
}
.custom-wow.animated {
  visibility: visible;
  opacity: 1;
}

.custom-wow.animated.fadeInUp {
  animation-name: fadeInUp;
}
.custom-wow.animated.fadeInRight {
  animation-name: fadeInRight;
}
.custom-wow.animated.fadeInLeft {
  animation-name: fadeInLeft;
}
.custom-wow.animated.fadeInDown {
  animation-name: fadeInDown;
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}
.animated.delay-1s {
  animation-delay: 1s;
}
.animated.delay-1-2s {
  animation-delay: 1.2s;
}
.animated.delay-1-3s {
  animation-delay: 1.3s;
}
.animated.delay-1-4s {
  animation-delay: 1.4s;
}
.animated.delay-1-6s {
  animation-delay: 1.6s;
}

.inner-text-wrap {
  background-color: #fff;
  padding: 20px;
  margin: 30px 0 0;
  min-height: calc(100% - 30px);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  transition: 0.3s all ease-in-out;
}

.inner-text-wrap h3 {
  color: #30266d;
}

.gallery-slider {
  margin: 20px 0 30px;
  position: relative;
  z-index: 1;
  border: 2px solid #30266d;
  border-radius: 30px;
  -o-object-fit: cover;
     object-fit: cover;
  overflow: hidden;
  -o-object-position: center center;
     object-position: center center;
  padding: 15px;
}

.img-block {
  border: 2px solid #30266d;
  border-radius: 30px;
  overflow: hidden;
}

.gallery-slider img,
.video-block iframe {
  border-radius: 30px;
}

.join-module .container {
  position: relative;
  z-index: 9;
}
.join-module::after, .join-module::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.join-module::after {
  background-color: #202020;
  width: 30%;
  border-radius: 0 30px 30px 0;
}
.join-module::before {
  background-color: #f6f7fb;
  left: auto;
  right: 0;
  width: 65%;
  border-radius: 30px 0 0 30px;
}

.box-design {
  background-color: #f6f7fb;
  padding: 15px 20px;
  color: #202020;
  border-radius: 10px;
  min-height: 350px;
}
.box-design:hover {
  background-color: #fff;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  color: #202020;
}
.box-design:hover .box-modal {
  background-color: #f6f7fb;
}

.box-modal {
  background-color: #fff;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s all ease-in-out;
}

.banner-form {
  margin: -200px 0 0;
  position: relative;
  z-index: 9;
  background-color: #fff;
  padding: 3rem 4rem 4rem;
  border-radius: 30px;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
}

.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.06;
  pointer-events: none;
}
.pattern .container {
  position: relative;
  z-index: 9;
}
.webp .pattern::after {
  background-image: url(../images/common-pattern-grey.webp);
}
.no-webp .pattern::after {
  background-image: url(../images/common-pattern-grey.png);
}
.pattern.btn-block::after {
  opacity: 1;
}
.webp .pattern.btn-block::after {
  background-image: url(../images/home-banner-pattern.webp);
}
.no-webp .pattern.btn-block::after {
  background-image: url(../images/home-banner-pattern.png);
}

.service-bg,
.insurance-bg {
  padding: 80px 0;
}

.service-top {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: inline-block;
  padding: 1px;
  z-index: 9;
  margin: 30px 0 0;
  top: 0;
  transition: 0.3s all ease-in-out;
}
.service-top::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -9;
  background: linear-gradient(to bottom, rgb(41, 55, 144) 0%, rgba(125, 185, 232, 0) 100%);
}
.service-top:hover {
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
  top: -5px;
}
.service-top:hover .service-single {
  background-color: #fff;
}
.service-top:hover .service-modal span {
  opacity: 1;
}
.service-top p {
  font-size: 14px;
}

.service-single {
  background-color: #f6f7fb;
  border-radius: 20px;
}

.service-modal {
  border-radius: 20px;
  overflow: hidden;
}
.service-modal span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  color: #fff;
  font-weight: 600;
  font-size: 1.4rem;
  opacity: 0;
  transition: 0.3s all ease-in-out;
}

.service-txt {
  padding: 15px 8px;
  position: relative;
  z-index: 9;
  min-height: 200px;
}
.service-txt h2 {
  font-size: 2rem;
  line-height: 3rem;
  word-break: break-word;
}

.choose-bg {
  padding: 60px 0;
}
.choose-bg::after, .choose-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  width: 30%;
  border-radius: 0 40px 0 0;
}
.choose-bg::after {
  background-color: #30266d;
  z-index: -2;
}
.choose-bg::before {
  z-index: -1;
  opacity: 0.06;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.webp .choose-bg::before {
  background-image: url(../images/common-pattern.webp);
}

.no-webp .choose-bg::before {
  background-image: url(../images/common-pattern.png);
}

.image-block {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-block::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #30266d;
  width: 110%;
  height: 110%;
  top: auto;
  left: auto;
  border-radius: 0 30px 0 0;
}
.image-block img {
  border-radius: 40px 40px 0 40px;
}

.review-thumb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
}
.review-thumb img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
}

.review-thumb-module {
  border: 1px solid #16a59f;
  border-radius: 50%;
  width: 95px;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -70px auto 20px;
}
.review-thumb-module::after {
  content: "\f10d";
  font-family: "Font Awesome 6 Pro";
  position: absolute;
  bottom: -19px;
  left: 15px;
  font-weight: 600;
  color: #16a59f;
  font-size: 35px;
}

.review-block {
  background-color: #fff;
  border-radius: 30px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.review-block::after, .review-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  top: auto;
  left: auto;
  background-color: #fff;
  border-radius: 30px;
  transition: 0.3s all ease-in-out;
}
.review-block::after {
  z-index: -1;
  height: 80%;
  opacity: 0.6;
  transition-delay: 0.5s;
}
.review-block::before {
  z-index: -2;
  height: 70%;
  opacity: 0.3;
  transition-delay: 0.8s;
}
.review-block h2 {
  font-size: 1.6rem;
  line-height: 2.6rem;
  color: #202020;
}
.review-block p {
  font-style: italic;
}

.owl-nav {
  display: flex;
  margin-top: 20px;
}
.owl-nav i {
  font-size: 3.2rem;
  position: relative;
  color: #202020;
}
.owl-nav .owl-prev i:after {
  left: -14px;
}
.owl-nav .owl-prev:hover i:after {
  left: -18px;
}
.owl-nav .owl-next i:after {
  right: -14px;
}
.owl-nav .owl-next:hover i:after {
  right: -18px;
}
.owl-nav .owl-prev i:after, .owl-nav .owl-next i:after {
  content: "";
  position: absolute;
  top: 0;
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: -1;
  transition: 0.3s all ease-in-out;
}

.review-bg {
  padding: 60px 40px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  border-radius: 50px;
  overflow: hidden;
}
.review-bg::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #30266d;
  opacity: 0.8;
}
.review-bg .row {
  position: relative;
  z-index: 9;
}
.webp .review-bg {
  background-image: url(../images/review-bg.webp);
}
.no-webp .review-bg {
  background-image: url(../images/review-bg.jpg);
}

.review-carousel .item {
  padding: 40px 40px 0;
}
.review-carousel .owl-item.center .review-block::after {
  width: 105%;
}
.review-carousel .owl-item.center .review-block::before {
  width: 110%;
}
.review-carousel .owl-nav i {
  color: #fff;
}
.review-carousel .owl-prev, .review-carousel .owl-next {
  position: absolute;
  top: 50%;
}
.review-carousel .owl-prev {
  left: -60px;
}
.review-carousel .owl-next {
  right: -60px;
}

.blog-single {
  display: flex;
  background-color: #f6f7fb;
  padding: 15px;
  border-radius: 20px;
  margin: 30px 0;
}

.blog-single-l {
  width: 260px;
  margin: -45px 0 0;
}

.blog-single-r {
  flex: 1;
  padding: 20px;
}
.blog-single-r h2 {
  font-size: 18px;
  line-height: 28px;
}
.blog-single-r h2 a {
  color: #30266d;
}
.blog-single-r h2 a:hover {
  color: #16a59f;
}
.blog-single-r p {
  font-size: 14px;
  line-height: 24px;
}

.blog-single-l img {
  border: 2px solid #30266d;
  border-radius: 20px;
}

.blog-author {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  margin: 15px 0 0;
}
.blog-author p {
  font-size: 13px;
  line-height: 23px;
}
.blog-author::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  height: 1px;
  top: 20px;
  background-color: #eee;
  z-index: 1;
}

.blog-author-thumb {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid #30266d;
}
.blog-author-thumb img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.blog-author-l {
  z-index: 9;
}

.bullet-design {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.bullet-design li {
  position: relative;
  padding-left: 25px;
}
.bullet-design li:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  left: 5px;
  position: absolute;
}
.bullet-design li:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: #293790;
  left: 0;
  top: 5px;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.2;
}

.home-slider .bullet-design li:after {
  background: #fff;
}

.choose-bg .box-design {
  min-height: 290px;
}

.review-block h4 i {
  color: #ffcc44;
}

@media (max-width: 1700px) {
  .home-slider .home-banner-modal {
    background-size: contain;
    background-position: top;
  }
}
@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: #30266d;
    opacity: 0.8;
  }
  .home-slider .carousel-item {
    background-size: 0;
  }
  .home-banner-pattern {
    z-index: 1;
  }
}
@media (max-width: 1024px) {
  .blog-single {
    flex-direction: column;
  }
  .blog-single-r {
    padding: 20px 0px;
  }
  .box-design {
    min-height: 375px;
  }
  .choose-bg .box-design {
    min-height: 420px;
  }
}
@media (max-width: 990px) {
  .home-slider .carousel-caption {
    margin: 70px 0 260px;
  }
  .service-bg,
  .insurance-bg {
    padding: 40px 0;
  }
  .choose-bg {
    padding: 0px 0;
  }
  .choose-bg::after, .choose-bg::before {
    display: none;
  }
  .choose-bg .join-module::after {
    display: none;
  }
  .choose-bg .join-module::before {
    width: 100%;
    border-radius: 0;
  }
  .review-carousel .owl-prev,
  .review-carousel .owl-next {
    position: static;
    margin: 0 10px;
  }
  .owl-nav {
    justify-content: center;
  }
  .box-design {
    min-height: 270px;
  }
  .choose-bg .box-design {
    min-height: 250px;
  }
  .service-txt {
    min-height: 250px;
  }
}
@media (max-width: 767px) {
  .home-slider .carousel-caption {
    margin: 40px 0 240px;
  }
  .image-block::after {
    display: none;
  }
  .review-block {
    padding: 30px 15px;
  }
  .review-block::after, .review-block::before {
    display: none;
  }
  .review-carousel .item {
    padding: 40px 0px 0;
  }
  .review-bg {
    padding: 30px 15px 40px;
    border-radius: 30px;
  }
  .banner-form {
    padding: 3rem 3rem 4rem;
  }
  .box-design {
    min-height: 10px;
  }
  .choose-bg .box-design {
    min-height: 10px;
  }
  .service-txt {
    min-height: 10px;
  }
}