/* Valvoro Services Widget */
.services-section {
  line-height: 0;
}
.services-section .owl-carousel .owl-item img {
    width: 100%;

}
.services-section .owl-carousel .owl-item .main-img img{
    border-radius: 30px;
    height: 325px;
    object-fit: cover;
    object-position: center;
}
.services-section .owl-carousel .owl-item .arrow-icon{
  filter: brightness(0) invert(1);
}
.services-section .owl-carousel .owl-item .services-inner-box img {
  width: auto;
}
.services-section .services-inner-box {
  background-color: var(--e-global-color-white);
  position: relative;
  padding: 65px 15px 22px;
  width: 86%;
  margin: 0 auto;
  margin-top: -66px;
  transition: ease-in-out 0.6s;
  border-radius: 20px;
  box-shadow: 5px 0px 56px rgba(0, 0, 0, 5%);
}
.services-section .services-box {
  transition: ease-in-out 0.6s;
}
.services-section .services-inner-box h4 {
  margin-bottom: 8px;
  color: var(--e-global-color-primary);
}
.services-section .services-inner-box p {
  color: var(--e-global-color-text);
  font-size: 16px;
  line-height: 1.5em;
  margin-bottom: 18px;
}
.services-section .services-inner-box a {
  background-color: var(--e-global-color-secondary);
  color: var(--e-global-color-white);
  border-radius: 100%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
.services-section .services-inner-box figure {
  border-radius: 100%;
  background-color: var(--e-global-color-accent);
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 0;
}
.services-section .services-box:hover .services-inner-box {
  background-color: var(--e-global-color-secondary);
}
.services-section .services-box:hover * {
  color: var(--e-global-color-white);
}
.services-section .services-box:hover a{
  background: var(--e-global-color-white);
}
.services-section  .owl-carousel .owl-item .services-box:hover .arrow-icon{
  filter: brightness(1) invert(0);
}

.services-section .owl-dots {
  margin-top: 50px;
  text-align: center;
  line-height: 0;
}
.services-section .owl-dots button {
  border: none;
  outline: none;
  box-shadow: none;
  text-align: center;
  margin: 0 auto;
}
.services-section .owl-dots button span {
  background-color: #dde4ef;
  width: 14px;
  height: 14px;
  display: block;
  margin-right: 5px;
  margin-left: 5px;
  cursor: pointer;
  margin-bottom: 0;
  border-radius: 100%;
}
.services-section .owl-dots button.active span {
  background-color: var(--e-global-color-accent);
  color: var(--e-global-color-white);
  width: 19px;
  height: 19px;
}
/* Services Style 2 */
.services-style-2 .services-box img {
    width: 100%;

}
.services-style-2 .services-box .main-img img{
    border-radius: 30px;
    height: 325px;
    object-fit: cover;
    object-position: center;
}

.services-style-2 .services-box .services-inner-box {
    position: relative;
    transition: all 0.4s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.services-style-2 .services-box .services-inner-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(9,31,65,0.75); /* 75% dark overlay = image appears 25% visible */
    opacity: 0;
    transition: 0.4s ease;
    z-index: 1;
}

/* Activate overlay */
.services-style-2 .services-box .services-inner-box.bg-active::before {
    opacity: 1;
}

/* Keep content above overlay */
.services-style-2 .services-box .services-inner-box * {
  position: relative;
  z-index: 2;
}

.services-style-2 .services-box .arrow-icon{
  filter: brightness(0) invert(1);
}
.services-style-2 .services-box .services-inner-box img {
  width: auto;
}

.services-style-2 .services-inner-box {
  padding: 45px;
  width: 100%;
  box-shadow: 0px 5px 56px rgb(0 0 0 / 5%);
  margin-top: 0;
}
.services-style-2 .services-inner-box figure{
  transform: none;
  margin: 0 auto 20px !important;
  left: unset;
  top: unset;
}
.services-style-2 .services-box {
  margin-bottom: 60px;
}
.services-style-2 .services-box img {
  width: 100%;
}
.services-style-2 .services-box .services-inner-box img {
  width: auto;
}
.services-style-2 .services-box:hover .arrow-icon{
  filter: brightness(1) invert(0);
}
/* Services Style 3 */

.services-style-3 .service-box3{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.services-style-3 .service-box3 .services-box{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px;
  padding: 10px;
  background: var(--e-global-color-white);
  box-shadow: 5px 0px 56px rgba(0, 0, 0, 5%);
  border-radius: 20px;
  align-items: center;
}
.services-style-3 .services-box .services-inner-box{
  margin-top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 0px;
  box-shadow: none;
}
.services-style-3 .services-box .main-img img{
  border-radius: 20px;
  height: 270px;
  object-fit: cover;
  object-position: center;
}
.services-section.services-style-3 .services-box:hover .services-inner-box{
  background: var(--e-global-color-white);
}
.services-section.services-style-3 .services-box:hover * {
    color: var(--e-global-color-primary);
}
.services-section.services-style-3 .services-box:hover a.btn{
  color: var(--e-global-color-white);
}
.services-section.services-style-3 .services-box a.btn:hover{
  background: var(--e-global-color-secondary);
}
.services-style-3 .services-inner-icon-area{
  display: flex;
  align-items: center;
  gap: 22px;
}
.services-style-3 .services-inner-icon-area h4{
  text-align: left;
  margin-bottom: 0;
}
.services-style-3 .services-inner-box p{
  text-align: left;
  margin-bottom: 0;
}
.services-style-3 .services-inner-box a.btn{
  font-size: 16px;
  min-width: 175px;
  padding: 0;
  font-weight: 700;
  text-align: center;
  border-radius: 32.5px;
  position: relative;
  display: inline-block;
  background-color: var(--e-global-color-accent);
  color: var(--e-global-color-white);
  padding-right: 30px;
  height: 47px;
  line-height: 46px;
  margin: 0;
}
.services-style-3 .services-inner-box a.btn i {
  background-color: var(--e-global-color-white);
  color: var(--e-global-color-primary);
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  position: absolute;
  right: 5px;
  top: 4px;
  transform: rotate(-45deg);
}

@media screen and (max-width: 1366px) {
  .services-section .services-inner-box figure {
      width: 120px;
      height: 120px;
  }
  .services-section .services-inner-box {
      padding: 74px 20px 35px;
      width: 90%;
  }
  .services-section .owl-dots {
    margin-top: 40px;
  }
  .services-style-2 .services-box {
    margin-bottom: 50px;
  }
  .services-style-2 .services-inner-box figure {
      width: 86px;
      height: 86px;
  }
  .services-style-2 .services-inner-box {
    padding: 40px;
    width: 100%;
}
  .services-style-3 .services-inner-box figure {
    width: 90px;
    height: 90px;
  }
  .services-style-3 .services-inner-box figure img{
    padding: 10px;
  }
}
@media screen and (max-width: 1125px) {
  .services-style-3 .services-box .services-inner-box{
    gap: 10px;
  }
  .services-style-3 .services-box .main-img img {
    height: 200px;
  }
  .services-style-3 .services-inner-box a.btn {
      min-width: 160px;
      height: 45px;
      line-height: 44px;
  }
  .services-style-3 .services-inner-box a.btn i{
    top: 3px;
    right: 4px;
  }
  .services-style-3 .service-box3 {
    gap: 20px;
  }
  .services-style-3 .service-box3 .services-box {
    gap: 20px;
  }
}
@media screen and (max-width: 1024px) {
  .services-section .services-inner-box {
    padding: 60px 14px 30px;
    margin-top: -120px;
  }
  .services-section .services-inner-box h4 {
    padding: 0 30px;
  }
  .services-section .services-inner-box figure {
    width: 100px;
    height: 100px;
  }
  .services-section .services-inner-box figure img {
    width: 45px !important;
  }
  .services-section .services-inner-box a {
    width: 38px;
    height: 38px;
  }
  .services-section .owl-dots {
    margin-top: 30px;
  }
  .services-style-2 .services-box {
    margin-bottom: 30px;
  }
  .services-style-2 .services-inner-box {
    padding: 40px;
    margin-top: 0px;
  }
  .services-style-2  .services-inner-box figure img {
      width: auto !important;
    }
  .services-style-3 .services-inner-box a {
    width: 140px;
    height: 50px;
    gap: 15px;
  }
  .services-style-3 .services-inner-box h4 {
    padding: 0;
  }
  .services-section .owl-carousel .owl-item .services-inner-box img{
    padding: 0px;
  }
}
@media screen and (max-width: 991px) {
  .services-section .services-inner-box {
    padding: 60px 30px 30px;
  }
  .services-style-2 .services-inner-box {
    padding: 60px 30px 30px;
  }
  .services-section .services-inner-box figure {
    width: 80px;
    height: 80px;
  }
  .services-style-3 .services-inner-icon-area{
    gap: 12px;
  }
  .services-style-3 .services-inner-box a.btn {
    min-width: 134px;
    height: 41px;
    line-height: 40px;
    font-size: 14px;
  }
  .services-style-3 .services-inner-box a.btn i {
    width: 33px;
    height: 33px;
    right: 4px;
  }
}
@media screen and (max-width: 767px) {
  .services-section .services-inner-box p {
    font-size: 14px;
  }
  .services-section .owl-dots {
    margin-top: 25px;
  }
  .services-style-2  .services-inner-box {
    padding: 20px;
  }
  .services-section .owl-dots button span {
    width: 10px;
    height: 10px;
  }
  .services-section .owl-dots button.active span {
    width: 13px;
    height: 13px;
  }
  .services-style-3 .services-box .main-img img {
    height: 150px;
  }
  .services-style-3 .services-inner-box a {
    width: 135px;
  }
  .services-style-3 .services-inner-box a{
    margin: 0 auto;
  }
  .services-style-3 .owl-nav{
    margin-top: 30px;
  }
  .services-style-3 .services-inner-box a.btn i {
    top: 3px;
  }
  .services-style-3 .service-box3 {
    gap: 15px;
  }
  
}
@media screen and (max-width: 700px) {
  .services-style-3 .service-box3 {
      grid-template-columns: repeat(1, 1fr);
  }
  .services-style-3 .services-box .main-img img {
    height: 210px;
  }
}
@media screen and (max-width: 450px) {
  .services-style-3 .service-box3 .services-box{
    grid-template-columns: repeat(1, 1fr);
  }
  .services-style-3 .services-box .services-inner-box{
    align-items: center;
  }
  .services-section .services-inner-box p{
    text-align: center;
  }
  .services-style-3 .services-box .services-inner-box{
    padding-bottom: 10px;
  }
}