/* 
---------------------------------------------
Services Style (Carousel Version) - FIXED WITH PREFIX
--------------------------------------------- 
*/

.our-services .services-left-dec img {
  width: 350px;
  height: 400px;
  left: -140px;
  top: -495px;
  position: absolute;
  z-index: 1;
  transform: rotate(13deg);
  opacity: 0.7;
  pointer-events: none;
}

.our-services .services-right-dec {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 350px;
  height: 400px;
  pointer-events: none;
  z-index: 1;
}

.our-services .services-right-dec img {
  width: 85%;
  height: 85%;
  position: absolute;
  right: -50px;
  bottom: 230px;
  transform: rotate(-15deg);
  opacity: 0.7;
}

.our-services .container {
  position: relative;
  z-index: 2;
}

.our-services {
  position: relative;
  margin-top: 0px;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: visible;
  z-index: 2;
}

/* FIXED: Changed from .section-heading to .srv-heading */
.our-services .srv-heading {
  text-align: center;
  margin-bottom: 45px;
}

.our-services .srv-heading h2 {
  font-size: 30px;
  text-transform: capitalize;
  color: #2a2a2a;
  font-weight: 700;
  letter-spacing: 0.25px;
  position: relative;
  z-index: 2;
  line-height: 44px;
  margin-bottom: -5px;
}

.our-services .srv-heading h2 em {
  font-style: normal;
  color: var(--primary-color);
}

.our-services .srv-heading h2 span {
  color: var(--secondary-color);
  font-weight: 700;
  opacity: 1;
  text-transform: capitalize;
}

.our-services .srv-heading span {
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--secondary-color);
  opacity: 0.15;
}

/* FIXED: Changed from .item to .srv-item */
.our-services .srv-item {
  text-align: center;
  margin: 15px;
  border-radius: 20px;
  background-color: #fff;
  padding: 30px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.05);
}

.our-services .srv-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 30px;
  line-height: 30px;
}

/* FIXED: Changed from .icon to .srv-icon */
.our-services .srv-item .srv-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.our-services .srv-item:hover .srv-icon {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.our-services .srv-item .srv-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.our-services .srv-item .srv-icon i {
  font-size: 42px;
  color: #ffffff !important;
}

.our-services .srv-item .srv-icon svg {
  width: 100%;
  height: 100%;
  color: #ffffff;
}

.our-services .srv-item p {
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.our-services .owl-dots {
  text-align: center;
  margin-top: 40px;
}

.owl-services.owl-carousel .owl-dots .owl-dot,
.owl-services.owl-carousel .owl-dots button.owl-dot,
.owl-services .owl-dot,
.owl-services button.owl-dot {
  width: 6px !important;
  height: 6px !important;
  background-color: var(--primary-color) !important;
  border-radius: 50% !important;
  opacity: 0.3 !important;
  margin: 0px 5px !important;
  display: inline-block !important;
  padding: 0 !important;
  border: none !important;
}

.owl-services.owl-carousel .owl-dots .owl-dot span,
.owl-services.owl-carousel .owl-dots button.owl-dot span,
.owl-services .owl-dot span,
.owl-services button.owl-dot span {
  width: 6px !important;
  height: 6px !important;
  background-color: var(--primary-color) !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 !important;
}

.owl-services.owl-carousel .owl-dots .owl-dot.active,
.owl-services.owl-carousel .owl-dots button.owl-dot.active,
.owl-services .owl-dot.active,
.owl-services button.owl-dot.active {
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
}

.owl-services.owl-carousel .owl-dots .owl-dot.active span,
.owl-services.owl-carousel .owl-dots button.owl-dot.active span,
.owl-services .owl-dot.active span,
.owl-services button.owl-dot.active span {
  width: 10px !important;
  height: 10px !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .our-services {
    padding-top: 80px;
  }
  
  .our-services .services-left-dec img,
  .our-services .services-right-dec img {
    width: 250px;
    height: 300px;
  }
  
  .our-services .services-left-dec img {
    left: -100px;
    top: -200px;
  }
  
  .our-services .services-right-dec img {
    right: -30px;
    bottom: -180px;
  }
}

@media (max-width: 768px) {
  .our-services {
    padding-top: 60px;
  }
  
  .our-services .services-left-dec img,
  .our-services .services-right-dec img {
    width: 150px;
    height: 180px;
    opacity: 0.3;
  }
  
  .our-services .services-left-dec img {
    left: -50px;
    top: -100px;
  }
  
  .our-services .services-right-dec img {
    right: -50px;
    top: -50px;
    bottom: auto;
  }
  
  .srv-heading h2 {
    font-size: 24px;
    line-height: 36px;
  }
  
  .srv-heading span {
    font-size: 24px;
  }
  
  .our-services .srv-heading {
    margin-bottom: 30px;
  }
  
  .our-services .srv-item {
    margin: 10px;
    padding: 25px;
  }
  
  .our-services .srv-item h4 {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 20px;
  }
  
  .our-services .srv-item .srv-icon {
    width: 80px;
    height: 80px;
    padding: 20px;
  }
  
  .our-services .srv-item .srv-icon i {
    font-size: 36px;
  }
  
  .our-services .srv-item p {
    margin-top: 25px;
    padding-top: 20px;
    font-size: 14px;
    line-height: 24px;
  }
  
  /* Smaller dots for mobile */
  .our-services .owl-dots {
    margin-top: 30px;
  }
  
  .owl-services.owl-carousel .owl-dots .owl-dot,
  .owl-services.owl-carousel .owl-dots button.owl-dot,
  .owl-services .owl-dot,
  .owl-services button.owl-dot {
    width: 5px !important;
    height: 5px !important;
    margin: 0px 4px !important;
    min-width: 5px !important;
    min-height: 5px !important;
    max-width: 5px !important;
    max-height: 5px !important;
  }
  
  .owl-services.owl-carousel .owl-dots .owl-dot span,
  .owl-services.owl-carousel .owl-dots button.owl-dot span,
  .owl-services .owl-dot span,
  .owl-services button.owl-dot span {
    width: 5px !important;
    height: 5px !important;
    min-width: 5px !important;
    min-height: 5px !important;
    max-width: 5px !important;
    max-height: 5px !important;
  }
  
  .owl-services.owl-carousel .owl-dots .owl-dot.active,
  .owl-services.owl-carousel .owl-dots button.owl-dot.active,
  .owl-services .owl-dot.active,
  .owl-services button.owl-dot.active {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    max-width: 8px !important;
    max-height: 8px !important;
  }
  
  .owl-services.owl-carousel .owl-dots .owl-dot.active span,
  .owl-services.owl-carousel .owl-dots button.owl-dot.active span,
  .owl-services .owl-dot.active span,
  .owl-services button.owl-dot.active span {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    max-width: 8px !important;
    max-height: 8px !important;
  }
}

@media (max-width: 576px) {
  .our-services {
    padding-top: 40px;
  }
  
  .srv-heading h2 {
    font-size: 20px;
    line-height: 30px;
  }
  
  .srv-heading span {
    font-size: 20px;
  }
  
  .our-services .srv-item {
    margin: 8px;
    padding: 20px;
  }
  
  .our-services .srv-item h4 {
    font-size: 16px;
    line-height: 24px;
  }
  
  .our-services .srv-item .srv-icon {
    width: 70px;
    height: 70px;
    padding: 18px;
  }
  
  .our-services .srv-item .srv-icon i {
    font-size: 32px;
  }
  
  .our-services .srv-item p {
    font-size: 13px;
    line-height: 22px;
  }
  
  /* Even smaller dots for small mobile */
  .our-services .owl-dots {
    margin-top: 25px;
  }
  
  .our-services .owl-dots .owl-dot,
  .our-services .owl-dots button.owl-dot {
    width: 4px !important;
    height: 4px !important;
    margin: 0px 3px !important;
  }
  
  .our-services .owl-dots .owl-dot span,
  .our-services .owl-dots button.owl-dot span {
    width: 4px !important;
    height: 4px !important;
  }
  
  .our-services .owl-dots .owl-dot.active,
  .our-services .owl-dots button.owl-dot.active {
    width: 7px !important;
    height: 7px !important;
  }
  
  .our-services .owl-dots .owl-dot.active span,
  .our-services .owl-dots button.owl-dot.active span {
    width: 7px !important;
    height: 7px !important;
  }
}
