/* Cerevia 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  .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(3, 1fr);
  gap: 40px;
}
.services-style-3 .service-box3 .services-box{
  padding: 38px 45px;
  background: var(--e-global-color-white);
  border-radius: 30px;
  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 a.btn:hover{
  transform: translateY(-5px);
  color: var(--e-global-color-accent);
}
.services-section .services-inner-box figure.service-03-icon{
  transform: none;
  margin-bottom: 10px !important;
}
.services-style-3 .services-inner-box a.btn:hover i{
  color: var(--e-global-color-accent);
}
.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: -10px;
}
.services-style-3 .services-inner-box p{
  text-align: left;
  margin-bottom: 0;
  padding-right: 36px;
}
.services-style-3 .service-overview-wrapper{
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 7px;
  margin-bottom: 6px;
}
.services-style-3 .service-overview-item{
 display: flex;
 gap: 12px;
}
.services-style-3 .service-overview-item i{
  font-size: 12px;
  color: var(--e-global-color-primary);
}
.services-style-3 .service-overview-item .overview-value{
 font-size: 14px;
 line-height: 14px;
}

.services-style-3 .service-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.services-style-3 .service-tags .tag-item{
  background-color: #fafaf8;
  font-size: 10px;
  line-height: 10px;
  font-weight: 600;
  padding: 10px 16px;
  color: var(--e-global-color-primary);
  border-radius: 15px;
}
.services-style-3 .services-inner-box a.btn{
  font-size: 14px;
  gap: 7px;
  padding: 0;
  border-radius: 0px;
  background-color: transparent;
  color: var(--e-global-color-accent);
  margin: 0;
  width: auto;
  height: auto;
  text-align: left;
  justify-content: left;
}
.services-style-3 .services-inner-box a.btn i {
  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;
  }
  .services-style-3 .services-inner-box p{
    padding-right: 0;
  }
  .services-style-3 .service-box3 .services-box{
    padding: 30px 35px;
  }
}
@media screen and (max-width: 1125px) {
  .services-style-3 .services-box .services-inner-box{
    gap: 15px;
  }
  .services-style-3 .services-inner-icon-area h4{
    margin-bottom: 0;
  }
  .services-style-3 .services-box .main-img img {
    height: 200px;
  }
  .services-style-3 .service-box3 {
    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 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 .service-box3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
 
}
@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-3 .service-box3 {
      grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 700px) {
  
  .services-style-3 .services-box .main-img img {
    height: 210px;
  }
}
@media screen and (max-width: 450px) {
  .services-style-3 .services-box .services-inner-box{
    align-items: center;
  }
  .services-section .services-inner-box p{
    text-align: center;
  }
 
}