/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
/*
 *  Owl Carousel - Core
 */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1; }
  .owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
    /* fix firefox animation glitch */ }
  .owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0; }
  .owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px); }
  .owl-carousel .owl-wrapper,
  .owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0); }
  .owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; }
  .owl-carousel .owl-item img {
    display: block;
    width: 100%; }
  .owl-carousel .owl-nav.disabled,
  .owl-carousel .owl-dots.disabled {
    display: none; }
  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next,
  .owl-carousel .owl-dot {
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next,
  .owl-carousel button.owl-dot {
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit; }
  .owl-carousel.owl-loaded {
    display: block; }
  .owl-carousel.owl-loading {
    opacity: 0;
    display: block; }
  .owl-carousel.owl-hidden {
    opacity: 0; }
  .owl-carousel.owl-refresh .owl-item {
    visibility: hidden; }
  .owl-carousel.owl-drag .owl-item {
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel.owl-grab {
    cursor: move;
    cursor: grab; }
  .owl-carousel.owl-rtl {
    direction: rtl; }
  .owl-carousel.owl-rtl .owl-item {
    float: right; }

/* No Js */
.no-js .owl-carousel {
  display: block; }

/*
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both; }

.owl-carousel .owl-animated-in {
  z-index: 0; }

.owl-carousel .owl-animated-out {
  z-index: 1; }

.owl-carousel .fadeOut {
  animation-name: fadeOut; }

@keyframes fadeOut {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }

/*
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  transition: height 500ms ease-in-out; }

/*
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item {
  /**
			This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
			calculation of the height of the owl-item that breaks page layouts
		 */ }
  .owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity 400ms ease; }
  .owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]) {
    max-height: 0; }
  .owl-carousel .owl-item img.owl-lazy {
    transform-style: preserve-3d; }

/*
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000; }

.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 100ms ease; }

.owl-carousel .owl-video-play-icon:hover {
  -ms-transform: scale(1.3, 1.3);
      transform: scale(1.3, 1.3); }

.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none; }

.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease; }

.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%; }


  /* Services Section */


.services-section {
    padding: 100px 20px;
    background-color: #fff;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.service-box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    flex-basis: 30%;
    background-color: #fff;
    padding: 30px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
 
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px orange;
    color: orange;

}

.service-item button{
  border-radius: 20px;
  border-color: orange;
  width: 150px;
  height: 50px;
  font-size: 20px;
}


.service-item1 {
    flex-basis: 30%;
    background-color: #fff;
    padding: 30px;
    margin: 10px;
    border-radius: 8px;
    border-color: green;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.service-item1:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px green;
    color: green;
}

.service-item1 button{
  border-radius: 20px;
  border-color: green;
  width: 150px;
  height: 50px;
  font-size: 20px;
}




/* Reviews Section */
.reviews-section {
    padding: 100px 20px;
    background-color: #fff;
    color: #333;
    text-align: center;
}

.reviews-section h3 {
    font-size: 2.5rem;
    color: #333;
}

.reviews-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    perspective: 1000px;
}

.review-card {
    width: 100%;
    max-width: 300px;
    height: 300px;
    padding: 20px;
    position: relative;
    transition: transform 1.5s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.review-card:hover {
    transform: rotateY(180deg);
}

.review-content {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff7eb9, #5856d6);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1.5;
    transform-style: preserve-3d;
    transition: transform 1.5s;
}

.front, .back, .back2 {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.front {
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
    background-color: orange;
    border-radius: 8px;
}

.back2 {
    transform: rotateY(180deg);
    background-color: lightgreen;
    border-radius: 8px;
}

.front h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 30px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-section {
        padding: 50px 20px;
    }

    .reviews-slider {
        flex-direction: column;
    }

    .review-card {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .review-content {
        height: auto;
        padding: 30px;
    }

    .front h2 {
        font-size: 2rem;
    }

    .back h4, .back2 h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .reviews-section h3 {
        font-size: 2rem;
    }

    .front h2 {
        font-size: 1.8rem;
    }

    .back h4, .back2 h4 {
        font-size: 1rem;
    }
}




/* Slideshow container */
.slideshow1-container {
  position: relative;
  background: #fff;
  
}

.slideshow1-container h3{
  font-size: 38px;
  text-align: center;
  font-weight: bold;
  font-family: cursive;
  font-style: italic;
  margin-top: 30px;
}

.slideshow1-container h3 em{
color: #03a4ed;

}

.slideshow1-container h3 span{
color: #ff695f;

}


/* Slides */
.mySlides1 {
  display: none;
  padding: 80px;
  text-align: center;
}


/* The dot/bullet/indicator container */
.dot-container {
    text-align: center;
    padding: 20px;
    margin-bottom: -110px;
   

}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.active1, .dot:hover {
  background-color: #717171;
}


/* Add an italic font style to all quotes */
q {font-style: italic;
   font-family: cursive;
font-size: 20px;}

/* Add a blue color to the author */
.author {color: cornflowerblue;
font-size: 17px;}



.about1 {
  margin-top: 160px;
}

.about-head {
  text-align: center;
  margin-bottom: 50px;

}

.about-head h2{
  font-size: 63px;
}
.about-head em{
  color: #ff695f;  
  font-family: cursive;
}

.about-head span{
  color: #03a4ed;
  font-family: cursive;
}

.about-head u{
  color: #ff695f;
  margin-top: 100px;
}

.about-text{
  text-align: justify;
  padding: 50px;
  margin-top: -50px;
  font-size: 18px;
  line-height: 35px; 

}

.about-text p2{
 padding-left: 120px;

}

.our{
  padding: 30px;
}

.our p{}

.our-text{
  font-family: cursive;
  margin-top: -40px;
  font-weight: bold;
}

.our-text em{
  color: #03a4ed

}

.our-text span{
  color: #ff695f
}

.our-subtext{
  padding: 20px;
  font-weight: bold;
}

.our-subtext p{
  text-align: justify;
  font-weight: normal;

}

.why-kmdc{
  padding: 30px;
}

.why-kmdc-p{
  padding: 30px;
}

.why-kmdc-p p1{
  font-weight: bold;
}

.why-kmdc-p ul{
  margin-top:20px;
  text-align: justify;
}

.coll{
  padding: 30px;
}
   

.ser{
  line-height: 40px;
  font-weight: bold;
}
.ser c{
  color: orange;
}
.ser g{
  color: green;
  
}