/* 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);
}

/* Service Style 4 */
.services-style-4 .service-4{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  align-items: stretch;
}
.services-style-4 .services-box{
   display: flex;
  background: var(--e-global-color-white);
  border-radius: 30px;
  overflow: hidden;
  grid-column: span 1;
  padding: 50px 60px;
  transition: transform 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
  justify-content: center;
}
.services-style-4 .services-box-inner{
  width: fit-content;
  display: flex;
  border-radius: 30px;
}
.services-style-4 .services-box.active .services-box-inner{
  
  gap: 40px;
}
.services-section .services-box:hover h3 {
  color: var(--e-global-color-primary);
}
.services-section .services-box:hover .services-content-text {
  color: var(--e-global-color-text);
}
.services-section .services-box:hover a {
  background-color: var(--e-global-color-white);
  color: var(--e-global-color-secondary);
}
.services-style-4 .services-box.active{
  padding: 50px 60px 30px 30px;
  z-index: 5;
  grid-column: span 3;
}
.services-style-4 .services-tile-area{
  display:flex;
  flex-direction: column;
  justify-content: space-between;
}
.services-style-4 .services-tile-area h3{
  writing-mode: sideways-lr;
  margin: 0 auto;
}
.services-style-4 .services-tile-area .services-count{
  font-size: 32px;
  font-weight: 900;
  color: #395ea4;
  line-height: 1.1em;
  writing-mode: sideways-lr;
}
.services-style-4 .services-content-area{
  display:flex;
  flex-direction: column;
  gap: 30px;
  opacity: 0;
  transform: translateX(30px);
  visibility: hidden;
  /* transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s; */
  transition: opacity 0.3s ease, transform 0.3s ease;
  justify-content: space-between;
  height: 0;
  display: none;
}

.services-style-4 .services-content-area a {
  background-color: var(--e-global-color-accent);
  color: var(--e-global-color-white);
  border-radius: 100%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
.services-style-4 .services-content-area a :hover{
  background-color: var(--e-global-color-secondary);
}
.services-style-4 .services-box .arrow-icon{
  filter: brightness(0) invert(1);
}
.services-style-4 .services-box.active .services-content-area{
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  height: auto;
  display: flex;
}
.services-style-4 .services-content-area p{
  text-align: left;
  line-height: 1.1em;
  font-size: 20px;
  flex: 1;
}
.services-style-4 .main-img{
  opacity: 1;
  transform: none;
  transition: none; /* IMPORTANT */
}
.services-style-4 .services-content-area .main-img img{
  border-radius: 20px;
  height: 350px;
  object-fit: cover;
  object-position: top;
  transition: none !important;
}
.services-style-4 .services-btn-area{
  display:flex;
  flex-direction: row;
  gap: 30px;
}
@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;
  }
  .services-style-4 .services-box{
    padding: 50px 20px;
  }
}
@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;
  }
  .services-style-4 .services-box a.btn {
    min-width: 160px;
    height: 45px;
    line-height: 44px;
  }
  .services-style-4 .services-content-area a {
    width: 44px;
    height: 44px;
  }
  .services-style-4 .services-box.active .services-box-inner {
    gap: 30px;
  }
  .services-style-4 .services-box.active {
    padding: 50px 30px 30px 30px;
  }
  .services-style-4 .services-tile-area .services-count{
    margin: 0px;
  }
}
@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;
  }
  .services-style-4 .service-4{
    gap: 30px;
  }
  .services-style-4 .services-content-area p{
    font-size: 16px;
  }
}
@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;
  }
  .services-style-4 .service-4{
    gap: 20px;
  }
  .services-style-4 .services-content-area{
    gap: 10px;
  }
  .services-style-4 .services-box a.btn {
    min-width: 134px;
    height: 41px;
    line-height: 40px;
    font-size: 14px;
  }
  .services-style-4 .services-box.active{
    padding: 20px;
  }
  .services-style-4 .services-box {
    padding: 30px 20px;
  }
}
@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;
  }
  .services-style-4 .service-4{
    grid-template-columns: repeat(1, 1fr);
  }
  .services-style-4 .services-box.active{
    grid-column: span 1;
  }
  .services-style-4 .services-tile-area .services-count,
  .services-style-4 .services-tile-area h3{
    writing-mode: unset;
  }
  .services-style-4 .services-box.active .services-tile-area .services-count,
  .services-style-4 .services-box.active .services-tile-area h3{
    writing-mode: sideways-lr;
  }
  .services-style-4 .services-content-area .main-img img{
    height:250px;
  }
  .services-style-4 .services-tile-area{
    gap:10px;
  }
}
@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;
  }
}