/*===============================
  service-box-style-1
===================================*/
.farmin-slider-1.farmin-service-slider .owl-stage-outer {
  box-shadow: 0px 100px 110px 3px rgb(0 0 0 / 8%);
  -webkit-box-shadow: 0px 100px 110px 3px rgb(0 0 0 / 8%);
  -moz-box-shadow: 0px 100px 110px 3px rgb(0 0 0 / 8%);
  padding-top: 50px;
}

.farmin-service-box-style-1 {
  text-align: center;
  padding: 80px 50px 70px;
  background-color: var(--color-theme-white);
  transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.farmin-service-box-style-1::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background: var(--color-theme-grey);
  width: 2px;
  height: 100%;
  padding: 0;
}

.farmin-service-box-style-1:hover {
  background: var(--color-theme-primary);
}

.farmin-service-box-style-1 .service-icon-box {
  position: absolute;
  right: 40px;
  top: -50px;
  background: var(--color-theme-primary);
  height: 100px;
  width: 100px;
  line-height: 100px;
  border-left: 3px solid var(--color-theme-secondary);
  border-radius: var(--border-radius);
  margin: 0 auto;
  text-align: center;
}

.farmin-service-box-style-1:hover .service-icon-box {
  background: var(--color-theme-white);
}

.farmin-service-box-style-1 .service-icon-box svg {
  height: 40px;
  fill: var(--color-theme-white);
}

.farmin-service-box-style-1 .service-icon-box svg path {
  fill: var(--color-theme-white);
}

.farmin-service-box-style-1:hover .service-icon-box svg path {
  fill: var(--color-theme-primary);
}

.farmin-service-box .farmin-service-details .farmin-service-subtitle {
  letter-spacing: var(--letter-spacing-subtitle);
  text-transform: uppercase;
  font-size: var(--font-size-normal);
  color: var(--color-theme-primary);
  margin-bottom: 5px;
}

.farmin-service-box-style-1 .farmin-service-subtitle,
.farmin-service-box-style-1 .service-box-title .service-box-text,
.farmin-service-box-style-1 .farmin-btn-link .text-btn,
.farmin-service-box-style-1 .service-icon-box,
.farmin-service-box-style-1 .service-icon-box svg path {
  transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
}

.farmin-service-box-style-1:hover .farmin-service-details .farmin-service-subtitle,
.farmin-service-box-style-1:hover .service-box-title .service-box-text,
.farmin-service-box-style-1:hover .farmin-btn-link {
  color: var(--color-theme-white);
}

.farmin-service-box .farmin-service-meta ul {
  margin: 0;
}

.farmin-service-box-style-1 .farmin-service-details {
  position: relative;
}

.farmin-service-box-style-1 .farmin-service-image {
  position: relative;
  overflow: hidden;
  margin: 54px 0 70px;
}

.farmin-service-box-style-1 .farmin-service-image .farmin-img-box img {
  height: 227px;
  object-fit: cover;
}

.farmin-service-box:hover:before {
  opacity: 1;
}

.farmin-service-box-style-1 .farmin-service-inner-image {
  position: absolute;
  width: 80px;
  height: 80px;
  text-align: center;
  right: 30px;
  top: -65px;
  padding: 15px;
  background: var(--color-theme-white);
  border-bottom: 2px solid var(--color-theme-secondary);
}

.farmin-service-box-style-1 .farmin-btn-container .farmin-button:hover,
.farmin-service-box-style-1 .farmin-btn-link:hover span.text-btn {
  color: var(--color-theme-white);
}

@media (max-width: 767px) {
  .farmin-service-box-style-1 {
    padding: 80px 30px 70px;
  }
}

/*===============================
  service-box-style-2
===================================*/
.farmin-service-box-style-2 {
  padding: 0px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}


.farmin-service-box-style-2 .farmin-service-image .farmin-img-box {
  width: 100%;
  text-align: center;
  background: var(--color-theme-white);
  z-index: 1;
  position: relative;
}

.farmin-service-box-style-2 .farmin-service-image img {
  height: 258px;
  overflow: visible;
  width: 100%;
  object-fit: cover;
}

.farmin-service-box-style-2 .farmin-service-image:before {
  z-index: 0;
}

.farmin-service-box.farmin-service-box-style-2 .farmin-service-details .blog-title .farmin-heading-title:hover {
  color: var(--color-theme-white);
}

.farmin-service-box-style-2:before {
  content: "";
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
}

.farmin-service-box-style-2:hover:before {
  opacity: 1;
}

.farmin-service-box-style-2:hover .farmin-service-box-style-2>img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
  opacity: 0;
}

.farmin-service-box-style-2 .service-box-content {
  position: relative;
  padding: 35px 35px 20px 35px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-color: var(--color-theme-white);
  border-left: 3px solid var(--color-theme-secondary);
}

.farmin-service-box-style-2 .service-box-content .farmin-service-details {
  padding: 0 15px;
}


.farmin-service-box-style-2 .service-box-content .service-icon-box svg path {
  width: 50px;
}

.farmin-service-box-style-2 .service-box-content .farmin-service-details .process-description {
  margin: 20px 0;
}

.farmin-service-box-style-2 .service-box-content .farmin-service-details .process-description p {
  margin: 0;
}

.farmin-service-box-style-2 .service-box-content .farmin-service-details .farmin-btn-container {
  padding: 20px 0 15px 0;
}

.farmin-service-box-style-2:hover>img {
  opacity: 1;
}

.farmin-service-box-style-2:hover .farmin-service-meta ul li span.farmin-user {
  color: var(--color-theme-secondary);
}

.farmin-service-box-style-2 .farmin-servicemain p {
  transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.farmin-service-box-style-2:hover .farmin-heading-title, 
.farmin-service-box-style-2:hover .farmin-servicemain p, 
.farmin-service-box-style-2:hover .farmin-button.farmin-blog-link span.text-btn, 
.farmin-service-box-style-2:hover .farmin-button.farmin-blog-link {
  color: var(--color-theme-white);
}

.farmin-service-box .farmin-service-details .blog-title .farmin-heading-title:hover {
  color: var(--color-theme-primary);
}


/*=== responsive ===*/
@media (max-width: 480px) {
  .farmin-service-box-style-2 .service-box-content {
    padding: 30px 20px 15px 20px;
  }
}


/*===============================
farmin-service-box-style-3
===================================*/
.farmin-slider-3 .owl-item .item {
  padding-bottom: 25px;
}

.farmin-service-box-style-3 {
  padding: 80px 50px 80px 50px;
  position: relative;
  background-color: var(--color-theme-white);
  text-align: center;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.farmin-service-box-style-3::before {
  content: "";
  background: var(--color-theme-secondary);
  height: 180px;
  width: 3px;
  position: absolute;
  left: 0;
  bottom: 105px;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.farmin-service-box-style-3:hover::before {
  background: transparent;
}

.farmin-service-box-style-3:hover {
  background-color: var(--color-theme-primary);
}

.farmin-service-box-style-3 .service-icon-box {
  height: 100px;
  width: 100px;
  background-color: var(--color-theme-primary);
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}


.farmin-service-box-style-3 .service-icon-box svg {
  height: 40px;
  width: 40px;
}

.farmin-service-box-style-3:hover .service-icon-box {
  background-color: var(--color-theme-white);
}

.farmin-service-box-style-3 .service-icon-box svg path {
  fill: var(--color-theme-white);
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.farmin-service-box-style-3:hover .service-icon-box svg path {
  fill: var(--color-theme-primary);
}

.farmin-service-box-style-3 .service-icon-box svg {
  height: 40px;
  width: 40px;
}

.farmin-service-box-style-3 .service-box-content {
  margin-top: 40px;
}

.farmin-service-box-style-3 .farmin-service-details .process-description {
  margin: 20px 0;
}

.farmin-service-box-style-3:hover .service-box-title .service-link .farmin-service-title,
.farmin-service-box-style-3:hover .process-description {
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.farmin-service-box-style-3:hover .service-box-title .service-link .farmin-service-title,
.farmin-service-box-style-3:hover .process-description {
  color: var(--color-theme-white)
}

.farmin-service-box-style-3 .css_service-circle-container {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -25px;
}

.farmin-service-box-style-3 .css_service-circle-container .farmin-circle a {
  height: 50px;
  width: 50px;
  line-height: 50px;
  font-size: 16px;
  display: inline-block;
  background-color: var(--color-theme-secondary);
  -webkit-border-radius: 50%;
  border-radius: 50%;
  font-family: var(--highlight-font-family);
}

/*=== responsive ===*/

@media (max-width: 767px) {
  .farmin-service-box-style-3 {
    padding: 50px;
  }

  .farmin-service-box-style-3 .service-box-content {
    margin-top: 30px;
  }

  .farmin-service-box-style-3 .farmin-service-details .process-description p {
    margin: 15px 0;
  }
}


/*======================================
Service-slider
==========================================*/

.farmin-service-slider .owl-item {
  opacity: 0;
}

.farmin-service-slider .owl-item.active {
  opacity: 1;
}

.farmin-service-slider .owl-dots {
  margin-top: 40px;
}

/*======================================
Service-Detail Css
==========================================*/

.farmin .type-service .farmin-blog-box {
  box-shadow: none;
  background: transparent;
}

.farmin .type-service .farmin-blog-box .farmin-blog-detail {
  padding: 0;
  background: transparent;
}

.farmin .type-service .farmin-blog-box .farmin-blog-detail .footer-block .widget {
  margin-bottom: 40px;
}

/*=========================================
All-services
=============================================*/
.post-type-archive-service .farmin .type-service .farmin-blog-box {
  box-shadow: 0 24px 84px 0 rgb(0 0 0 / 8%);
  -webkit-box-shadow: 0 24px 84px 0 rgb(0 0 0 / 8%);
  -moz-box-shadow: 0 24px 84px 0 rgba(0, 0, 0, .08);
}

.post-type-archive-service .farmin .type-service .farmin-blog-box .farmin-blog-detail {
  padding: 30px;
  background: var(--color-theme-white);
}

.post-type-archive-service .farmin .type-service .farmin-blog-box .farmin-blog-image img {
  width: 100%;
  transform: none;
}