/*
	Crystal Template 
	http://www.templatemo.com/tm-437-crystal
*/

body
  {
    background: #FFFFFF;
    color: #555555;
    font-family: 'Open Sans', sans-serif;
	line-height: 24px;
    position: relative;
  }
  
.blue {
	color: #06C;
}

.green {
	color: #090;
}

.orange {
	color: #C60;
}

.white {
	color: #FFF;
}

/* start page container */
@media (min-width: 768px) {
  .container {
    width: 95%;
  }
}
@media (min-width: 992px) {
  .container {
    width: 90%;
  }  
}
@media (min-width: 1200px) {
  .container {
    width: 85%; /* Use a standard width for very large screens */
    max-width: 1140px;
  }
}
.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
  margin-right: -15px;
  margin-left: -15px;
}
@media (min-width: 768px) {
  .container > .navbar-header,
  .container-fluid > .navbar-header,
  .container > .navbar-collapse,
  .container-fluid > .navbar-collapse {
    margin-right: 0;
    margin-left: 0;
  }
}
@media (min-width: 768px) {
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: -15px;
  }
}
/* end page container */

/* start navigation */
.logo{
  height: 95px;
  width: auto;
}

.navbar-default
  {
    background: #FFFFFF;
    border: none;
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
    margin: 0 !important;
  }
.navbar-default .navbar-brand
  {
    color: #66AF33;
    height: 90px;
    line-height: 40px;
    padding: 0;
    width: 90px;
  }
.navbar-default .navbar-brand h3
  {
    font-weight: bold;
  }
.navbar-default .navbar-nav li a
  {
    color: #404040;
    font-weight: bold;
    height: 65px;
    line-height: 40px;
  }
.navbar-default .navbar-nav li a:hover
  {
    color: #66AF33;
  }
.navbar-default .navbar-nav > li > a:focus
  {
    color: #888;
  }
.navbar-default .navbar-toggle
    {
      margin-top: 16px;
    }
.navbar-default .navbar-toggle .icon-bar
  {
    background-color: #66AF33;
    color: #FFFFFF;
  }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #66AF33;
  background-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: #FFFFFF; }
.navbar-default .navbar-toggle:hover .icon-bar { background-color: #66AF33; }
/* end navigation */

/* start home */
h1 { margin: 0; }
#home { padding-top: 65px; }
.flexslider {
  margin: 0 0 60px;
  background: #fff;
  padding: 0;
  position: relative;
  zoom: 1;
  background-color: #371604;
  overflow: hidden;
  margin: 0;
}
.flexslider .slides {
  padding: 0;
  zoom: 1;
}
.flexslider .slides img {
  width: 100%;
  min-width: 648px;
  min-height: 270px;
  display: block;
}
.flexslider .slides > li {
  display: none;  
  padding: 0;
  position: relative;
  -webkit-backface-visibility: hidden;
}
.flexslider img {
  position: relative;
  width: 100%;
}
.slider-caption {
  color:white;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  text-transform: uppercase;
  z-index: 7;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.templatemo_homewrapper{
  background: #404040;
    border: none;
    border-radius: 2px;
    box-shadow: none;
    color: #FFFFFF;
    margin: 10px 0 10px 0;
    opacity: 0.9;
    padding: 50px 80px;
}

#home h1,
#home h2
  {
    font-weight: bold;
  }
#home h2
  {
    padding: 10px 0 10px 0;
  }
#home .btn
  {
    background: #66AF33;
    border-radius: 0;
    border: 2px solid transparent;
    color: #FFFFFF;
    font-weight: bold;
    margin: 40px 0 0 0;
    -webkit-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
    height: 50px;
    width: 250px;
    padding: 12px 10px 10px 10px;
  }
#home .btn:hover
  {
    background: #FFFFFF;
    color: #66AF33;
  }
#home p
  {
    letter-spacing: 1px;
  }
/* end home */

/* start simpletextrotator */
.rotating {
  display: inline-block;
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: rotateX(0) rotateY(0) rotateZ(0);
  -ms-transform: rotateX(0) rotateY(0) rotateZ(0);
  transform: rotateX(0) rotateY(0) rotateZ(0);
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform-origin-x: 50%;
}

.rotating.flip {
  position: relative;
}

.rotating .front, .rotating .back {
  left: 0;
  top: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
}

.rotating .front {
  position: absolute;
  display: inline-block;
  -webkit-transform: translate3d(0,0,1px);
  -ms-transform: translate3d(0,0,1px);
  transform: translate3d(0,0,1px);
}

.rotating.flip .front {
  z-index: 1;
}

.rotating .back {
  display: block;
  opacity: 0;
}

.rotating.spin {
  -webkit-transform: rotate(360deg) scale(0);
  -ms-transform: rotate(360deg) scale(0);
  transform: rotate(360deg) scale(0);
}

.rotating.flip .back {
  z-index: 2;
  display: block;
  opacity: 1;
  
  -webkit-transform: rotateY(180deg) translate3d(0,0,0);
  -ms-transform: rotateY(180deg) translate3d(0,0,0);
  transform: rotateY(180deg) translate3d(0,0,0);
}

.rotating.flip.up .back {
  -webkit-transform: rotateX(180deg) translate3d(0,0,0);
  -ms-transform: rotateX(180deg) translate3d(0,0,0);
  transform: rotateX(180deg) translate3d(0,0,0);
}

.rotating.flip.cube .front {
  -webkit-transform: translate3d(0,0,100px) scale(0.9,0.9);
  -ms-transform: translate3d(0,0,100px) scale(0.85,0.85);
  transform: translate3d(0,0,100px) scale(0.85,0.85);
}

.rotating.flip.cube .back {
  -webkit-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.9,0.9);
  -ms-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
  transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
}

.rotating.flip.cube.up .back {
  -webkit-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.9,0.9);
  -ms-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
  transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
}
/* end simpletextrotator */

/* start about */
#about
  {
    min-height: 300px;
    padding: 40px 0 60px 0;
  }
#about h2,
#about h3
  {
    font-weight: bold;
  }
#about .col-md-7 h3
  {
    padding: 12px 0 0 0;
  }
#about .col-md-7 h2
  {
    color: #66AF33;
    padding: 10px 0 10px 0;
    margin: 10px 0 32px 0;
  }
#about .col-md-5 .col-md-6
  {
    padding: 4px;
  }
#about .col-md-5 h3
  {
    padding: 10px 0 10px 0;
  }
#about .col-md-5 img
  {
    width: 300px;
    height: 150px;
  }
#about p
  {
    font-weight: 400;
  }

/* about-page */
#about-page
  {
    background-color: #404040;
    color: #FFFFFF;
    margin-top: 50px;
    min-height: 300px;
    padding: 60px 0 50px 0;
  }

#about-page h2,
#about-page h3
  {
    font-weight: bold;
    text-align: center;
  }
#about-page .col-md-12 h3
  {
    padding: 10px 0 0 0;
  }
#about-page .col-md-12 h2
  {
    color: #66AF33;
    padding: 10px 0 10px 0;
    margin: 10px 0 20px 0;
  }
#about-page .col-md-5 .col-md-6
  {
    padding: 4px;
  }
#about-page .col-md-5 h3
  {
    padding: 10px 0 10px 0;
  }
#about-page p
  {
    font-weight: 400;
    text-align: center;
  }

/* end about */

/* start product */
#product
  {
    background: #404040;
    color: #FFFFFF;
    min-height: 300px;
    padding: 25px 0 80px 0;
  }

#product .product-card {
  margin-top: 10px;
}

#product h3
  {
    font-weight: bold;
    letter-spacing: 1px!important;
  }

#product .productpage
  {
    font-weight: bold;
    letter-spacing: 1px!important;
    padding-bottom: 30px;
  }

#product .team_thumb
  {
    overflow: hidden;
    position: relative;
    margin: 30px 0 0 0;
  }

#product .team_thumb img
  {
    width: 100%;
    height: auto;
    padding: 0 10px 20px 10px;
  }
  h5 {
    margin: 0;
  }
#product .team_thumb .team_overlay
  {
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    opacity: 0;
    position: absolute;
    -webkit-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  
#product .team_description
  {
    background: #303030;
    padding: 18px;
    height: auto;
  }

#product .product-card .team_description
  {
    background: #ffffff;
    color: #303030;
    padding: 30px;
    height: 46rem;
  }
  
#product .product-card
  {
    margin-top: 30px;
  }
#product .product-card img
  {
    width: 100%;
    height: auto;
    padding: 0;
    border: 5px solid #f0f0f0;
  }

#product .team_description h4
  {
    font-weight: bold;
    letter-spacing: 1px!important;
    color: #66AF33;
	  padding-bottom: 10px;
    height: 45px;
  }

#product .team_description p
  {
    /* text-align: justify; */
	  padding-bottom: 10px;
  }
#product p
  {
    font-weight: 400;
  }




/* ===== Single Row Product Card ===== */

.product-row-card {
  display: flex;
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 40px;
  transition: 0.4s ease;
}

.product-row-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Image */
.product-row-image {
  flex: 40%;
}

.product-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.product-row-content {
  flex: 60%;
  padding: 30px;
}

.product-row-content h3 {
  color: #66AF33;
  font-weight: 600;
  margin-bottom: 15px;
}

.product-row-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  padding: 0;
}

.product-features li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}

/* ===== Mobile Responsive ===== */

@media (max-width: 768px) {

  .product-row-card {
    flex-direction: column;
  }

  .product-row-image img {
    height: 250px;
  }

  .product-row-content {
    padding: 20px;
  }

}


 
/* end product */

/* start social icon */
.social_icon
  {
    padding: 0;
  }
.social_icon li
  {
    display: inline-block;
    position: relative;
  }
ul 
  {
    margin-bottom: 0;
  }
.social_icon li a
  {
    background: #66AF33;
    border-radius: 50%;
    cursor: pointer;
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
  }
.social_icon li a:hover
  {
    background: #599a2a;
    color: #FFFFFF;
  }
  footer .social_icon {
    margin-top: 10px;
  }
/* end social icon */

/* start service */
#service
  {
    min-height: 300px;
    padding: 25px 0 60px 0;
    font-weight: 400;
  }
#service h3
  {
    color: #333;
    font-weight: bold;
    letter-spacing: 1px !important;
    padding-bottom: 30px;
  }
#service .media
  {
    padding: 40px 0 10px 0;
  }
#service .media .fa
  {
    background: #66AF33;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 24px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    margin: 0 10px 0 0;
    padding-right: 0;
  }
#service .media .media-heading
  {
    color: #66AF33;
    font-weight: bold;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
  }

/* service-page */ 
#service-page{
    min-height: 300px;
    padding: 40px 0 60px 0;
    font-weight: 400;
}

#service-page h3
  {
    color: #333;
    font-weight: bold;
    letter-spacing: 1px !important;
    padding-bottom: 8px;
    margin-top: 16px;
  }

#service-page p
  {
    font-size: medium;
  }

#service-page .thumb {
    width: auto;
    height: 35rem;
  }

#service-page .points {
  align-items: center;
  margin-top: 30px;
  }

#service-page .icon {
  height: 45px;
  }

#service-page h4{
  margin: 5px 0 15px 0;
}

#service-page .vision {
  margin-top: 80px;
  margin-bottom: 60px;
  padding-left: 2rem;
}

#service-page .vision .card{
  /* height: 18rem; */
  width: auto;
  margin: 0 10px;
  padding: 5px 35px;
  border: 3px solid #66AF33;
  border-radius: 20px;
}

#service-page .facts{
  text-align: center;
}

#service-page .facts .fact-heading{
  margin-top: 20px;
  margin-bottom: 40px;
}

#service-page .facts .statutory .fact-heading{
  text-align: left;
  margin-top: 60px;
  margin-bottom: 15px;
}

#service-page .facts .payment .fact-heading{
  text-align: left;
  margin-top: 60px;
  margin-bottom: 15px;
}

#service-page .facts h3{
  padding-bottom: 5px;
}

#service-page .facts p{
  font-size: 20px;
}

#service-page .facts .info{
  border: 2px solid #66AF33;
}

#service-page .facts .info .item1{
  margin: 0px;
  background: #e9f7ea;
}

#service-page .facts .info .item2{
  margin: 0px;
}

#service-page .facts .info .itemqes{
  border-right: 2px solid #66AF33;
  padding-top: 10px;
}

#service-page .facts .info .itemans{
  border-left: 2px solid #66AF33;
  padding-top: 10px;
}

#service-page .facts .profile{
  border: 2px solid #66AF33;
}

#service-page .facts .statutory .item1{
  margin: 0px;
  background: #e9f7ea;
}
#service-page .facts .statutory .item2{
  margin: 0px;
}

#service-page .facts .statutory .itemqes{
  border-right: 2px solid #66AF33;
  padding-top: 10px;
}

#service-page .facts .statutory .itemans{
  border-left: 2px solid #66AF33;
  padding-top: 10px;
}

#service-page .facts .payment .item1{
  margin: 0px;
  background: #e9f7ea;
}

#service-page .facts .payment .itemqes{
  border-right: 2px solid #66AF33;
  padding-top: 10px;
}

#service-page .facts .payment .itemans{
  border-left: 2px solid #66AF33;
  padding-top: 10px;
}

/* end service */

/* start gallery */
#gallery
  {
    background: #404040;
    color: #FFFFFF;
    min-height: 300px;
    padding: 130px 0 80px 0;
  }
#gallery h3
  {
    font-weight: bold;
    letter-spacing: 1px !important;
    padding-bottom: 30px;
  }
#gallery p
  {
    font-weight: 400;
    margin: 0 0 40px 0;
  }
#gallery .col-md-4
  {
    padding: 2px;
  }
#gallery .work_thumb
  {
    overflow: hidden;
    position: relative;
  }
#gallery .work_thumb img
  {
    width: 100%;
    height: auto;
  }
#gallery .work_thumb .work_overlay
    {
      background: #FFFFFF;
      opacity: 0;
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      bottom: 0;
      -webkit-transition: all 0.4s ease-in-out;
              transition: all 0.4s ease-in-out;
    }
#gallery .work_thumb .work_overlay .fa
  {
    background: #66AF33;
    border-radius: 50%;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;

    /* http://www.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/ */
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
#gallery .work_thumb:hover .work_overlay
  {
    opacity: 0.8;
  }



#gallery .gallery-nav li a
  {
    background-color: #404040;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 20px;
    line-height: 40px;
    font-size: 18px;
    text-decoration: none;
  }

  #gallery .gallery-nav{
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
  }

#gallery .gallery-nav li
  {
    list-style: none;
    justify-content: center;
  }

#gallery .gallery-nav li a:hover
  {
    background-color: #66AF33;
  }
#gallery .gallery-nav .current a
  {
    background-color: #66AF33;
  }


/* Make gallery buttons vertical on mobile */
@media (max-width: 768px) {

  #gallery .gallery-nav {
    flex-direction: column;
    align-items: center;
  }

  #gallery .gallery-nav li {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  #gallery .gallery-nav li a {
    display: block;
    width: 80%;
    margin: 0 auto;
  }

}

/* end gallery */


/* start contact */
#contact
  {
    background: #404040 url('../images/contact-bg.jpg') no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #FFFFFF;
    min-height: 300px;
    padding: 80px 0 80px 0;
  }

#contact h3
  {
    font-weight: bold;
    letter-spacing: 1px !important;
    padding: 30px;
  }


#contact .form-control
  {
    background: #404040;
    border: none;
    border-radius: 2px;
    box-shadow: none;
    color: #FFFFFF;
    margin: 10px 0 10px 0;
    opacity: 0.9;
  }
#contact .form-control::-moz-placeholder {
  color: #FFFFFF;
  opacity: 1;
}
#contact .form-control:-ms-input-placeholder {
  color: #FFFFFF;
}
#contact .form-control::-webkit-input-placeholder {
  color: #FFFFFF;
}
#contact input
  {
    height: 50px;
  }
#contact textarea
  {
    height: 120px;
  }
#contact input[type="submit"]
  {
    background: #66AF33;
    border: none;
    color: #FFFFFF;
    -webkit-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
    margin: 10px 0 40px 0;
  }
#contact input[type="submit"]:focus,
#contact input[type="submit"]:hover
  {
    background: #FFFFFF;
    border-color: transparent;
    color: #66AF33;
  }
#map-canvas
  {
    border: none;
    width: 100%;
    height: 400px;
    margin: 0 0 40px 0;
  }

  
/* Equal Contact Boxes - Clean Version */

.contact-boxes {
  display: flex;
  flex-wrap: wrap;
}

.contact-boxes > div {
  display: flex;
}

.contact-boxes .service-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 160px;
  width: 100%;
}

/* Mobile Fix */
@media (max-width: 768px) {

  .contact-boxes {
    display: block;
  }

  .contact-boxes > div {
    margin-bottom: 20px;
  }

}


/* end contact */

@media only screen and (max-width: 1199px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
}

/* start 768 media quires */
@media only screen and ( max-width: 768px ) {
  .navbar-header {
    padding-left: 15px;
  }
  h1 { font-size: 26px; }
  h2 { font-size: 18px; }
  #home .btn { 
    margin-top: 10px; 
    width: 180px;
    height: 40px;
    padding-top: 8px;
  }
  #about { padding-top: 20px; }
  #product .team_thumb .team_overlay
  {
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    opacity: 0;
    position: absolute;
    -webkit-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
  }
  
  .templatemo_homewrapper{
    padding: 5px 10px;
  }
}

/* start enquiry */

#enquiry
  {
    background: #404040 url('../images/contact-bg.jpg') no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #FFFFFF;
    min-height: 300px;
    padding: 0 0 80px 0;
  }

#enquiry h3
  {
    font-weight: bold;
    letter-spacing: 1px !important;
    padding-top: 30px;
  }

#enquiry h4
  {
    font-weight: 400;
    margin-bottom: 30px;
  }


#enquiry .form-control
  {
    background: #404040;
    border: none;
    border-radius: 2px;
    box-shadow: none;
    color: #FFFFFF;
    margin: 10px 0 10px 0;
    opacity: 0.9;
  }
#enquiry .form-control::-moz-placeholder {
  color: #FFFFFF;
  opacity: 1;
}
#enquiry .form-control:-ms-input-placeholder {
  color: #FFFFFF;
}
#enquiry .form-control::-webkit-input-placeholder {
  color: #FFFFFF;
}
#enquiry input
  {
    height: 50px;
  }
#enquiry textarea
  {
    height: 120px;
  }
#enquiry input[type="submit"]
  {
    background: #66AF33;
    border: none;
    color: #FFFFFF;
    -webkit-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
    margin: 10px 0 40px 0;
  }
#enquiry input[type="submit"]:focus,
#enquiry input[type="submit"]:hover
  {
    background: #FFFFFF;
    border-color: transparent;
    color: #66AF33;
  }


  .file-upload input[type="file"] {
    display: none;
}

.custom-file-label {
    display: inline-block;
    width: 100%;
    padding: 13px;
    margin: 10px 0 10px 0;
    background-color: #404040;
    border: none;
    border-radius: 2px;
    box-shadow: none;
    color: #FFFFFF;
    cursor: pointer;
    text-align: left;
    transition: 0.3s ease;
    opacity: 0.9;
    font-weight: 100;
}
/* end enquiry */

@media only screen and (max-width: 1199px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
}

/* start 768 media quires */
@media only screen and ( max-width: 768px ) {
  .navbar-header {
    padding-left: 15px;
  }
  h1 { font-size: 26px; }
  h2 { font-size: 18px; }
  #home .btn { 
    margin-top: 10px; 
    width: 180px;
    height: 40px;
    padding-top: 8px;
  }
  #about { padding-top: 20px; }
  #product .team_thumb .team_overlay
  {
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    opacity: 0;
    position: absolute;
    -webkit-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
  }
  
  .templatemo_homewrapper{
    padding: 5px 10px;
  }
}
/* end 768 media quires */

@media only screen and (max-width: 640px) {
  h1 { font-size: 20px; }
  h2 { font-size: 14px; }
  #home .btn {
    width: auto;
    height: auto;
    padding: 10px 20px;
    margin-top: 10px; 
  }
}

/* start 360 media quires */
@media only screen and ( max-width: 360px ) {
  #product .team_thumb .team_overlay
  {
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    line-height: 220px;
    top: 0;
    bottom: 0;
    opacity: 0;
    position: absolute;
    -webkit-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
  }
}
/* end 360 media quires */

#contact .service-item {
  background-color: #66AF33;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 20px;
}

#contact .service-item .icon img {
  max-width: 100%;
}

#contact .service-item h4 {
  font-size: 19px;
  font-weight: 600;
  color: rgb(255, 255, 255);
  margin-top: 15px;
  margin-bottom: 15px;
}

#contact .service-item p {
  padding: 0;
}

/* start footer  */
footer {
  margin: 60px 30px 10px 30px;
  padding: 10px 80px;
  border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
  footer {
    padding: 10px 10px;
  }
}

footer img {
  height: 15rem;
  width: auto;
}

footer .footer-about p {
  margin-top: 40px;
  line-height: 1.8;
}

.footer-heading {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

footer .footer-links {
  margin-top: 30px;
}

footer .footer-products {
  margin-top: 30px;
}

footer .footer-contacts {
  margin-top: 30px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 18px;
}

footer ul li{
  margin-bottom: 10px;
}

footer .footer-products ul li i {
  color: #66AF33;
  font-size: 10px;
  position: relative;
  top: -3px;
  margin-right: 8px;
}

footer .footer-links ul li i {
  color: #66AF33;
  font-size: 10px;
  position: relative;
  top: -3px;
  margin-right: 8px;
}

footer .footer-contacts ul li img {
  height: 25px;
  position: relative;
  top: -3px;
  margin-right: 8px;
}

footer ul li a{
  font-size: 15px;
  color: #7a7a7a;
  letter-spacing: 0.5px;
  transition: all 0.5s;
}

footer ul li a:hover{
  color: #66AF33;
}



.sub-footer p {
  text-align: center;
  display: inline-block;
  background-color: #66AF33;
  width: 100%;
  margin-bottom: 0px;
  padding: 11px 0px;
  font-size: 14px;
  color: white;
}

.sub-footer a {
  text-decoration: none;
  color: #66AF33;
}


@media (max-width: 992px) {
  footer .footer-links{
    margin-top: 60px;
  }
}
/* end footer  */


/* start testimonial  */
#testimonial
  {
    background: #404040;
    color: #FFFFFF;
    min-height: 300px;
    padding: 30px 0 60px 0;
    text-align: center;
    opacity: 0.9;
  }

#testimonial h3
  {
    font-weight: bold;
    letter-spacing: 1px!important;
    padding-bottom: 30px;
  }

#testimonial img
  {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 20px
  }

/* Container for the entire carousel */
.carousel-container {
    position: relative; /* Needed for absolute positioning of children */
    max-width: 800px;
    margin: 0px auto;
    padding: 20px;
    background-color: #66AF33;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Inner container for the slides */
.testimonial-carousel {
    position: relative;
    height: 250px; /* Set a fixed height based on your content */
    width: auto;
    overflow: hidden; /* **CRITICAL**: Hides slides that are not active */
}

/* Individual testimonial slide */
.testimonial-slide {
    position: absolute; /* **CRITICAL**: Stacks slides on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
    text-align: center;
    padding: 20px;
}

/* Class applied by JavaScript to the currently visible slide */
.testimonial-slide.active {
    opacity: 1; /* Makes the slide visible */
}

/* Quote and Author Styling */
.quote {
    font-style: italic;
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 15px;
}

.author {
    font-weight: bold;
    color: #efefef;
}

/* Navigation Arrows Styling */
.prev-button, .next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2em;
    color: #e2f1dc;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

/* end testimonial  */



/* Desktop only */
@media (min-width: 992px) {

    .vision-row {
        display: flex;
        align-items: stretch;
    }

    .vision-row > [class*='col-'] {
        display: flex;
    }

    .vision-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center; /* vertically center content */
        height: 100%;
        padding: 40px;
    }
}

/* Mobile Reset */
@media (max-width: 991px) {

    .vision-row {
        display: block;
    }

    .vision-card {
        height: auto;
        margin-bottom: 20px;
        padding: 25px;
    }
}

.flex-control-nav {
    display: none !important;
}

a:focus, 
button:focus, 
.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}
