@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.3/animate.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');

body {
   margin: 0;
   padding: 0;
   overflow-x: hidden;
}

.Advance-Slider {
   float: left;
   width: 100%;
   overflow: hidden;
}

.Advance-Slider button.slick-arrow {
   position: absolute;
   z-index: 1;
   top: 0;
   bottom: 0;
   height: 50px;
   width: 50px;
   border: none;
   margin: auto;
   font-size: 0;
   text-align: center;
   outline: none;
   cursor: pointer;
}

.Advance-Slider .img-fill {
   position: relative;
   height: 100%;
}

.Advance-Slider .img-fill img {
   height: 100%;
   width: 100%;
   object-fit: fill;
}

.Advance-Slider .item {
   height: 100vh;
   overflow: hidden;
   outline: none;
}

.Advance-Slider button.slick-next.slick-arrow {
   right: 0;
   left: auto;
}

.Advance-Slider button.slick-arrow:before {
   content: "\f104";
   top: 0;
   left: 0;
   margin: auto;
   font-family: fontawesome;
   font-size: 18px;
}

.Advance-Slider button.slick-next.slick-arrow:before {
   transform: scaleX(-1);
   display: block;
}

.Advance-Slider .img-fill:after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: transparent;
   opacity: 0.5;
}

.Advance-Slider ul.slick-dots {
   position: absolute;
   bottom: 20px;
   left: 0;
   width: 100%;
   margin: 0;
   padding: 0;
   text-align: center;
}

.Advance-Slider ul.slick-dots li {
   display: inline-block;
   height: auto;
   padding: 0 5px;
   line-height: 0px;
}

.Advance-Slider ul.slick-dots li button {
   height: 15px;
   width: 15px;
   border-radius: 100%;
   background: #fff;
   border: none;
   font-size: 0px;
   padding: 0px;
   opacity: 0.5;
   outline: none;
   transition: all 0.3s ease;
   cursor: pointer;
}

.Advance-Slider ul.slick-dots li.slick-active button {
   opacity: 1;
}

.Advance-Slider button.slick-arrow {
   perspective: 360px;
}

.Advance-Slider button.slick-arrow .thumb {
   position: absolute;
   height: 100px;
   width: 150px;
   left: 100%;
   top: -28px;
   transform-origin: 0% 0%;
   transform: rotate3d(1, 0, 0, 90deg);
}

.Advance-Slider button.slick-arrow .thumb img {
   height: 100%;
   width: 100%;
}

.Advance-Slider button.slick-next .thumb {
   left: auto;
   right: 100%;
}

.Advance-Slider button.slick-prev.hover-out .thumb,
.Advance-Slider button.slick-prev .thumb {
   animation: out-left 300ms ease 0ms 1 forwards;
}

.Advance-Slider button.slick-prev.hover-in .thumb {
   animation: in-left 300ms ease 0ms 1 forwards;
}

.Advance-Slider button.slick-next.hover-out .thumb,
.Advance-Slider button.slick-next .thumb {
   animation: out-right 300ms ease 0ms 1 forwards;
   transform-origin: 100% 50%;
}

.Advance-Slider button.slick-next.hover-in .thumb {
   animation: in-right 300ms ease 0ms 1 forwards;
}

.Advance-Slider button.slick-prev {
   transition: all 0.3s ease;
}

.Advance-Slider button.slick-next {
   transition: all 0.3s ease;
}

.Advance-Slider ul.slick-dots li button img {
   height: 0;
   width: 20px;
   top: 0;
   object-fit: cover;
   transition: height 0.2s ease 0.2s, width 0.2s ease 0s;
   position: relative;
   left: -50%;
}

.Advance-Slider ul.slick-dots li button a {
   position: absolute;
   height: 90px;
   bottom: calc(100%);
   width: 0;
   display: flex;
   align-items: flex-end;
   justify-content: center;
   transition: all 0.2s ease 0.2s;
   padding-bottom: 10px;
}

.Advance-Slider ul.slick-dots li button {
   position: relative;
   display: flex;
   justify-content: center;
}

.Advance-Slider ul.slick-dots li button:hover img {
   height: 80px;
   width: 140px;
   transition: height 0.2s ease, width 0.2s ease 0.2s;
}

.Advance-Slider ul.slick-dots li button:hover a {
   width: 140px;
   transition: all 0.3s ease 0s;
}

.Advance-Slider ul.slick-dots li button:hover {
   opacity: 1;
}

.Advance-Slider ul.slick-dots li button:before {
   content: '';
   bottom: calc(100% + -10px);
   left: 7px;
   border: solid transparent;
   content: " ";
   height: 0;
   width: 0px;
   position: absolute;
   pointer-events: none;
   border-color: rgba(255, 255, 255, 0);
   border-top-color: #fff;
   border-width: 10px;
   margin-left: -10px;
   opacity: 0;
   transition: 0.3s ease 350ms;
}

.Advance-Slider ul.slick-dots li button:hover:before {
   opacity: 1;
   transition: 0.3s ease 0s;
}

.Advance-Slider .item.slick-active {
   animation: Slick-FastSwipeIn 1s both;
}

.Advance-Slider .item .contain-wrapper {
   position: absolute;
   left: 0;
   top: 0;
   z-index: 1;
   height: 100%;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
}

.Advance-Slider .item .contain-wrapper .dots-contain {
   display: none;
}

.Advance-Slider .item h3 {
   margin: 0px;
   color: #F56960;
   font-size: 66px;
   font-weight: 900;
   text-transform: capitalize;
   text-shadow: 2px 2px 4px rgba(0,0,0,1);
   filter: drop-shadow(1px 1px 2px rgb(255, 255, 255, 1));
}

.infotext h3 {
   color: #fff !important;
   margin-bottom: 0px !important;
}

.infotext h5 {
   margin-bottom: 45% !important;
   padding-top: 0% !important;
}

.Advance-Slider .item {
   color: #fff;
   font-family: 'Roboto', sans-serif;
}

.Advance-Slider .item h5 {
   color: #fff;
   font-size: 32px;
   font-weight: 900;
   padding: 10px 0 0;
   margin: 0;
   text-transform: capitalize;
   text-shadow: 2px 2px 4px rgba(0,0,0,1);
}

.Advance-Slider .item .contain-wrapper .info {
   max-width: 1200px;
}

.Advance-Slider .item h5 span {
   color: #fff !important;
   font-size: 28px !important;
   font-family: cursive !important;
   display: block !important;
}

.Advance-Slider .item h3 span {
   color: transparent;
   -webkit-text-stroke: clamp(0.5px, 0.4vw, 2px) white;
   text-shadow: none !important;
   display: block;
}

.Advance-Slider .item h3 {
   animation: fadeOutRight 1s both;
}

.Advance-Slider .item.slick-active h3 {
   animation: fadeInDown 1s both 1s;
}

.Advance-Slider .item h5 {
   animation: fadeOutLeft 1s both;
}

.Advance-Slider .item.slick-active h5 {
   animation: fadeInLeft 1s both 1.5s;
}

@keyframes Slick-FastSwipeIn {
   0% {
      transform: rotate3d(0, 1, 0, 150deg) scale(0) perspective(400px);
   }

   100% {
      transform: rotate3d(0, 1, 0, 0deg) scale(1) perspective(400px);
   }
}

@keyframes in-left {
   from {
      -webkit-transform: rotate3d(0, 1, 0, 90deg);
      transform: rotate3d(0, 1, 0, 90deg);
   }

   to {
      -webkit-transform: rotate3d(0, 0, 0, 0deg);
      transform: rotate3d(0, 0, 0, 0deg);
   }
}

@keyframes out-left {
   from {
      -webkit-transform: rotate3d(0, 0, 0, 0deg);
      transform: rotate3d(0, 0, 0, 0deg);
   }

   to {
      -webkit-transform: rotate3d(0, 1, 0, 86deg);
      transform: rotate3d(0, 1, 0, 86deg);
   }
}

@keyframes in-right {
   from {
      -webkit-transform: rotate3d(0, -1, 0, 90deg);
      transform: rotate3d(0, -1, 0, 90deg);
   }

   to {
      -webkit-transform: rotate3d(0, 0, 0, 0deg);
      transform: rotate3d(0, 0, 0, 0deg);
   }
}

@keyframes out-right {
   from {
      -webkit-transform: rotate3d(0, 0, 0, 0deg);
      transform: rotate3d(0, 0, 0, 0deg);
   }

   to {
      -webkit-transform: rotate3d(0, -1, 0, 86deg);
      transform: rotate3d(0, -1, 0, 86deg);
   }
}

.testimonial {
   background-color: white;
   text-align: center;
   padding: 30px 30px 50px;
   margin: 0px 15px 160px;
   position: relative;
}

.testimonial::before,
.testimonial::after {
   content: "";
   border-top: 40px solid white;
   border-right: 125px solid transparent;
   position: absolute;
   bottom: -40px;
   left: 0;
}

.testimonial::after {
   border-right: none;
   border-left: 125px solid transparent;
   left: auto;
   right: 0;
}

.testimonial .icon {
   display: inline-block;
   font-size: 80px;
   color: #016d9b;
   margin-bottom: 20px;
   opacity: 0.6;
}

.testimonial .description {
   font-size: 14px;
   color: #777;
   text-align: justify;
   margin-bottom: 30px;
   opacity: 0.9;
}

.testimonial .testimonial-content {
   width: 100%;
   left: 0;
   position: absolute;
}

.testimonial .pic {
   display: inline-block;
   border: 4px solid white;
   border-radius: 50%;
   box-shadow: 0 0 4px 4px #016d9b;
   overflow: hidden;
   z-index: 1;
   position: relative;
}

.testimonial .pic img {
   width: 100%;
   height: auto;
}

.testimonial .title {
   display: block;
   font-size: 14px;
   color: #ffd9b8;
}

.owl-controls {
   margin-top: 20px;
}

.owl-pagination {
   display: flex;
   justify-content: center;
}

.owl-page {
   height: 10px;
   width: 40px;
   background-color: rgba(255, 255, 255, 0.2);
   border-radius: 10%;
}

.owl-page:hover,
.owl-page.active {
   background-color: rgba(255, 255, 255, 0.3);
}

.owl-page:not(first-item) {
   margin-left: 10px;
}

.card-content {
   text-align: center;
}

/* Small devices (768px and down) */
@media (max-width: 768px) {
  .Advance-Slider .item {
    height: 70vh;
  }
  
  .Advance-Slider .item h3 {
    font-size: 36px;
  }

  .Advance-Slider .item h3 span{
    font-size: 36px;
  }
  
  .Advance-Slider .item h5 {
    font-size: 20px;
    padding: 8px 0 0;
  }

  .Advance-Slider .item h5 span{
    font-size: 16px;
  }

  .infotext h3 {
   margin-top: 0 !important;
  }

  .infotext h5 {
   margin-top: 0 !important;
  }
  
  .Advance-Slider .item .contain-wrapper .info {
    max-width: 90%;
  }
  
  .Advance-Slider ul.slick-dots {
    bottom: 15px;
  }
  
  .Advance-Slider ul.slick-dots li button {
    width: 12px;
    height: 12px;
  }
  
  /* Hide thumbnail previews on dots hover for mobile */
  .Advance-Slider ul.slick-dots li button:hover a,
  .Advance-Slider ul.slick-dots li button:hover img {
    display: none;
  }
  
  .Advance-Slider button.slick-arrow .thumb {
    display: none;
  }
}
