.home-slider .carousel-caption {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  margin: 240px 0 190px;
  opacity: 0;
  text-align: left;
}

.home-slider .carousel-caption h1 {
  font-size: 4.5rem;
  line-height: 5.7rem;
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--dark-blue);
}

.home-slider .carousel-caption h1 i {
  font-style: normal;
  display: block;
  font-weight: 400;
  color: #b55d17;
}

.home-slider .carousel-caption p {
  font-size: 1.8rem;
  line-height: 3rem;
}

.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;
  background-position: center center;
  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;
}

.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;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

@-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);
  }
}

.pad-80 {
  padding: 80px 0;
}

.banner-call .animated-ico {
  position: absolute;
  background-color: #b55d17;
  color: #001f2b;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;
  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;
  z-index: 9;
}

.banner-call .animated-ico i {
  position: relative;
  z-index: 9;
  color: #fff;
}

.banner-call .animated-ico::before,
.banner-call .animated-ico::after {
  content: "";
  background-color: #b55d17;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-animation-name: ripple;
  animation-name: ripple;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  border-radius: 50%;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

.banner-call .animated-ico::before {
  opacity: 0.4;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.banner-call .animated-ico::after {
  opacity: 0.6;
}

.banner-call:hover .animated-ico i {
  -webkit-animation: ring 1s infinite ease-in-out;
  animation: ring 1s infinite ease-in-out;
}

.animated-txt {
  padding-left: 55px;
  color: #001f2b;
  font-weight: 500;
}

@-webkit-keyframes ripple {
  0% {
    opacity: 0.25;
  }

  100% {
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: scale(2);
    transform: scale(2);
  }
}

@keyframes ripple {
  0% {
    opacity: 0.25;
  }

  100% {
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: scale(2);
    transform: scale(2);
  }
}

@-webkit-keyframes ring {
  0% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }

  10% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    transform: rotate(-25deg) scale(1) skew(1deg);
  }

  20% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    transform: rotate(25deg) scale(1) skew(1deg);
  }

  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    transform: rotate(-25deg) scale(1) skew(1deg);
  }

  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    transform: rotate(25deg) scale(1) skew(1deg);
  }

  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }

  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }
}

@keyframes ring {
  0% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }

  10% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    transform: rotate(-25deg) scale(1) skew(1deg);
  }

  20% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    transform: rotate(25deg) scale(1) skew(1deg);
  }

  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    transform: rotate(-25deg) scale(1) skew(1deg);
  }

  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    transform: rotate(25deg) scale(1) skew(1deg);
  }

  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }

  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }
}

.difference-bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: unset;
  background-position: center right;
}

.pattern {
  position: relative;
}

.pattern:before {
  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;
  background-image: url("https://cdn.openviowebsites.com/source/sites/43f21731-8407-4dad-a368-390fa9089665/images/pattern.webp");
  opacity: 0.05;
}

.service-top {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
  padding: 1px;
  z-index: 9;
  margin: 40px 0 0;
  min-height: calc(100% - 40px);
  top: 0;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  background-color: #fff;
  outline: 4px solid rgba(181, 93, 23, 0.3) !important;
  outline-offset: 4px;
}

.service-top:hover {
  -webkit-box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
  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:hover .service-modal a {
  opacity: 1;
}

.service-top p {
  font-size: 14px;
}

.service-single {
  border-radius: 10px;
}

.service-modal {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.service-modal span,
.service-modal a {
  width: 100%;
  height: 100%;
  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;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.service-txt {
  padding: 15px;
  position: relative;
  z-index: 9;
}

.service-txt h2,
.service-txt h3 {
  font-size: 2rem;
  line-height: 3rem;
}

.box-design {
  padding: 20px;
  border-radius: 20px;
  margin-top: 30px;
  min-height: calc(100% - 30px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -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;
  text-align: left;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: relative;
  z-index: 1;
  border-bottom: 4px solid var(--dark-blue);
}

.formgroup-dsc p i {
  font-size: 40px;
  width: 50px;
  color: var(--dark-blue);
  line-height: 50px;
}

.formgroup-dsc p span {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.rep-testimonial-slider-single {
  border: 1px solid #b55d17;
  border-radius: 10px;
  position: relative;
}

.rep-testimonial-slider-single:before {
  content: "\f10e";
  position: absolute;
  right: 10px;
  color: var(--dark-blue);
  top: -23px;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-family: "Font Awesome 6 Pro";
  font-weight: 600;
  font-style: normal;
  font-variant: normal;
  font-size: 40px;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.rep-testimonial-slider-single:hover {
  -webkit-box-shadow: 0px 0px 23px 0px rgba(10, 46, 114, 0.2);
  box-shadow: 0px 0px 23px 0px rgba(10, 46, 114, 0.2);
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

.rep-testimonial-footer p strong:last-child {
  color: var(--dark-blue);
}

.m-h-auto {
  min-height: 10px;
}

.cta-bg {
  position: relative;
  padding: 60px 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: unset;
}

.cta-bg::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0.8;
}

.cta-bg .container {
  position: relative;
  z-index: 9;
}

.row-col-2>* {
  width: 48%;
}

.row-col-3>* {
  width: 31%;
}

.appointment-bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center right;
}

.appointment-bg .home-appoint-hours {
  position: absolute;
  right: 120px;
  bottom: 0;
}

@media (min-width: 767px) {
  .row-col-md-4>* {
    width: 20%;
  }

  .row-col-md-5>* {
    width: 15%;
  }
}

@media (max-width: 1500px) {
  .home-slider .carousel-caption {
    margin: 160px 0 100px;
  }
}

@media (max-width: 1024px) {
  .home-slider .carousel-caption {
    margin: 150px 0px 80px;
  }

  .home-slider .carousel-item {
    background-position: center right;
  }

  .home-slider .carousel-item::before {
    position: absolute;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.7;
  }

  .difference-bg::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.8;
  }

  .difference-bg .container {
    position: relative;
    z-index: 9;
  }
}

@media (max-width: 767px) {
  .pad-80 {
    padding: 40px 0;
  }

  .home-slider .carousel-item::before {
    opacity: 0.8;
  }

  .home-slider .carousel-caption {
    margin: 110px 0 40px;
  }

  .home-slider .carousel-caption h1 {
    font-size: 3.5rem;
    line-height: 4.8rem;
  }

  .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;
  }
}