.home-slider {
  position: relative;
  z-index: 1;
}

.banner-pattern {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 1;
}

.banner-pattern img {
  height: 100%;
}

.home-slider .carousel-item {
  padding: 300px 0 430px;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.home-slider .carousel-item .mobile-banner {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 0;
}

.home-slider .carousel-item .carousel-caption {
  position: relative;
  bottom: auto;
  top: auto;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: left;
}
.home-slider .carousel-item .carousel-caption h1 {
  color: #000000;
  font-weight: 700;
  font-size: 4rem;
  line-height: 5rem;
  display: inline-block;
  position: relative;
  margin-bottom: 2rem;
}
.home-slider .carousel-item .carousel-caption h1 i {
  color: #8c5c8e;
  font-style: normal;
  font-size: 2rem;
  background-color: rgba(140, 92, 142, 0.051);
  padding: 5px 22px;
  border-radius: 3px;
  font-weight: 600;
}
.home-slider .carousel-item .carousel-caption p {
  font-size: 1.8rem;
  line-height: 2.8rem;
  font-weight: 500;
}

.about-wrap {
  margin-top: -250px;
  position: relative;
  z-index: 1;
}
.about-wrap .content-wrap {
  margin-top: 250px;
}
.about-wrap .about-wrap-2 {
  margin-top: 100px;
}
.about-wrap .about-each-box {
  padding: 30px 20px;
  margin-bottom: 25px;
  min-height: 300px;
  -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;
}

.box-head {
  font-size: 2rem;
  line-height: 3rem;
  font-weight: 600;
  display: block;
}

.gray-bg {
  background-color: #e4e8f1;
}

.service-single {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  padding: 30px;
  border: 1px solid #eee;
  overflow: hidden;
  border-radius: 10px;
  min-height: calc(100% - 30px);
  margin: 30px 0 0;
}
.service-single::after {
  background-color: #fff;
  right: 0;
  bottom: 0 !important;
  margin: auto;
  border-radius: 0px;
}
.service-single::before {
  background-color: #000000;
  opacity: 0;
}
.service-single::after, .service-single::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  -webkit-transition: background 0.2s ease, border 0.2s ease, color 0.2s ease, all 0.4s ease;
  transition: background 0.2s ease, border 0.2s ease, color 0.2s ease, all 0.4s ease;
}
.service-single .service-single-inner {
  position: relative;
  z-index: 9;
}
.service-single:hover::before {
  opacity: 0.6;
}
.service-single:hover::after {
  height: 0;
  opacity: 0;
}
.service-single:hover .service-single-ico {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}
.service-single a {
    color: #8c5c8e;
}

.service-single:hover .box-head, .service-single:hover p ,.service-single:hover a{
  color: #fff;
}

.hover-animation {
  position: relative;
  top: 0;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
.hover-animation:hover {
  top: -4px;
}

#my-carousel .item img {
  width: 100%;
}

.navigation-img-wrapper {
  margin-top: 4px;
  position: relative;
}

.navigation-img-wrapper .navigator {
  display: none;
}

.navigator {
  display: none;
}

.navigation-img-wrapper .navigator.active {
  display: block;
}

/*owl nav css*/
#insuranceNav1 .owl-prev,
#insuranceNav1 .owl-next {
  background-color: #e4e8f1;
}

#insuranceNav1 .owl-prev:hover,
#insuranceNav1 .owl-next:hover {
  background-color: #8c5c8e;
}

.owl-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
  margin: 0 2px;
  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;
  font-size: 18px;
  border-radius: 0;
  border: none;
  width: 30px;
  height: 30px;
  background-color: #8c5c8e;
  cursor: pointer;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  background-image: none !important;
}

.owl-nav .owl-prev i,
.owl-nav .owl-next i {
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.owl-nav .owl-prev:hover,
.owl-nav .owl-next:hover {
  background-color: #327E81;
}

.owl-nav .owl-prev:hover i,
.owl-nav .owl-next:hover i {
  color: #fff;
}

/*owl nav end*/
  
.team-details .box-head {
  font-size: 2.4rem;
  line-height: 3.4rem;
  color: #8c5c8e;
}

.choose-service {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #fff;
  border-radius: 0 70px 0 0;
  -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
  margin-top: 25px;
  min-height: calc(100% - 25px);
  position: relative;
}

.choose-service::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 0;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  height: 3px;
  background-color: #8c5c8e;
  z-index: 1;
}

.choose-service:hover::before {
  width: 100%;
}

.choose-service:hover .srv-icon {
  background: #8c5c8e;
}

.choose-service .srv-icon img {
  max-width: 50px !important;
}

.choose-service:hover .srv-icon img {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

.choose-service .srv-icon {
  padding: 2rem;
  background: #fff;
  width: 150px;
  height: 100px;
  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: 0 0 40px 0;
  -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.choose-service .srv-content {
  padding: 20px 30px;
}

.cta-inner {
  border-radius: 5px;
  background: #fff;
  -webkit-box-shadow: 0px 8px 20px -3px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 8px 20px -3px rgba(0, 0, 0, 0.08);
  padding: 50px;
  margin-top: 60px;
  z-index: 1;
  position: relative;
}
.cta-inner h3 {
  font-size: 2.2rem;
  line-height: 3.2rem;
}

.cta-bg {
  position: relative;
}
.cta-bg::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 55%;
  height: 90%;
  background-image: url(/wp-content/themes/twentytwentyfive/assets/images/cta-bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
  z-index: 0;
}

@media (max-width: 1366px) {
  .home-slider .carousel-item {
    padding: 250px 0 380px;
  }
}
@media (max-width: 1199px) {
  .home-slider .carousel-item {
    background-position: center right;
  }
  .home-slider .carousel-item::before {
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
  }
}
@media (max-width: 1024px) {
  .home-slider .carousel-item {
    background-position: center right;
  }
  .home-slider .carousel-item::before {
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
  }

  .service-single .service-single-ico {
    -webkit-filter: brightness(0) invert(1);
            filter: brightness(0) invert(1);
  }
  .service-single::after {
    display: none;
  }
  .service-single::before {
    opacity: 0.6;
  }
  .service-single .box-head,
  .service-single p {
    color: #fff;
  }
      .home-slider .carousel-item {
        padding: 250px 0 250px;
    }
  .service-single a {
    color: #fff;
}
}
@media (max-width: 990px) {

  .about-wrap .content-wrap {
    margin-top: 0;
  }
  .about-wrap .about-each-box {
    min-height: 230px;
  }
  .cta-bg {
    padding-top: 330px;
  }
  .cta-bg::before {
    height: 300px;
    width: 100%;
  }
  .cta-bg .cta-inner {
    margin: 0;
    padding: 40px;
  }
      .home-slider .carousel-item {
        padding: 250px 0 200px;
    }
}
@media (max-width: 767px) {
  .choose-service .srv-content {
    padding: 20px 15px;
  }
  .about-wrap {
    margin-top: -50px;
  }
  .about-wrap .about-wrap-2 {
    margin-top: 0;
  }
  .navigation-img-wrapper {
    margin-top: 25px;
  }

  .home-slider .carousel-item {
    padding: 30px 0 0 0;
    background-size: 0;
  }
  .home-slider .carousel-item .mobile-banner {
    padding: 20px 0 100px;
    background-size: cover;
  }
  .service-single {
    padding: 30px 15px;
  }
  .cta-bg {
    padding-top: 270px;
  }
  .cta-bg::before {
    height: 250px;
  }
  .cta-bg .cta-inner {
    margin: 0;
    padding: 20px;
  }
}
/*Team Design 2*/
.team-section .our-team {
  text-align: center;
  -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;
  position: relative;
}

.team-section .our-team .team-details {
  text-align: center;
  -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
  border-radius: 0 45px 0 0;
  margin-top: -40px;
  position: relative;
  z-index: 1;
  min-height: 350px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #fff;
  width: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px 18px;
}

.team-section .our-team .team-details h3 {
  font-size: 2rem;
  line-height: 3rem;
  font-weight: 700;
  color: #8c5c8e;
}

@media (max-width: 1366px) {
  .team-section .our-team .team-details {
    min-height: 322px;
  }
}
@media (max-width: 1199px) {
  .team-section .our-team .team-details {
    min-height: 210px;
  }
}
@media (max-width: 990px) {
  .team-section .our-team .team-details {
    min-height: 220px;
  }
}
@media (max-width: 767px) {
  .team-section .our-team .team-details {
    min-height: auto;
  }
}
/*Team Design 2 End*/



.learn-block {
  margin: 0 0 30px;
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
          box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  padding: 20px 35px;
  min-height: calc(100% - 20px);
  border-radius: 10px;
}
.learn-block .learn-img {
  position: relative;
  overflow: hidden;
  -webkit-animation: float 6s ease-in-out infinite;
  animation: float 6s ease-in-out infinite;
  -webkit-transform: translatex(0px);
          transform: translatex(0px);
}

@-webkit-keyframes float {
  0% {
    -webkit-transform: translatex(0px);
            transform: translatex(0px);
  }
  50% {
    -webkit-transform: translatex(-20px);
            transform: translatex(-20px);
  }
  100% {
    -webkit-transform: translatex(0px);
            transform: translatex(0px);
  }
}

@keyframes float {
  0% {
    -webkit-transform: translatex(0px);
            transform: translatex(0px);
  }
  50% {
    -webkit-transform: translatex(-20px);
            transform: translatex(-20px);
  }
  100% {
    -webkit-transform: translatex(0px);
            transform: translatex(0px);
  }
}
.img-wrap {
  position: relative;
}
.img-wrap img {
  border-radius: 50px 50px 0 0;
}
.img-wrap:after {
  content: "";
  position: absolute;
  bottom: -2px;
  top: 0;
  background-image: url(/wp-content/themes/twentytwentyfive/assets/images/img-pattern.webp);
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 9;
  left: 0;
  right: 0;
}





.team-carousel .item {
  padding: 20px 0;
}

.team-carousel .owl-stage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.team-carousel .owl-stage .item {
  height: 100%;
}

.team-carousel .owl-stage .item .our-team {
  height: 100%;
}

.team-carousel .our-team {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.team-carousel .owl-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  width: 35px;
  height: 35px;
  background-color: #faf9fc;
  border-radius: 50%;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  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;
}

.team-carousel .owl-nav .owl-prev i,
.team-carousel .owl-nav .owl-next i {
  font-size: 1.4rem;
  position: relative;
  color: #102037;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  font-weight: 400;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
  background-color: #8c5c8e;
}

.team-carousel .owl-nav .owl-prev:hover i,
.team-carousel .owl-nav .owl-next:hover i {
  color: #fff;
}

.team-carousel .owl-prev {
  left: -60px;
}

.team-carousel .owl-next {
  right: -60px;
}

@media (max-width: 1400px) {
 .team-section .our-team .team-details {
    min-height: 370px;
  }
}

@media (max-width: 1024px) {
  .team-carousel .owl-nav {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 30px 0 0;
  }
  
  .team-carousel .owl-nav .owl-prev,
  .team-carousel .owl-nav .owl-next {
    top: auto;
    position: static;
    margin: 0 5px !important;
  }
}

@media (max-width: 767px) {
  
  .team-section .our-team .team-details {
    min-height: 220px !important;
  }
}