
/*------------------------------------------------------------------------
# mod_mx_services Extension
# ------------------------------------------------------------------------
# author    mixwebtemplates
# Copyright (C) 2025 mixwebtemplates.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.mixwebtemplates.com
-------------------------------------------------------------------------*/
:root {  
  --base42-skin: #5B6485;
  --base42-dark: #222;
  --base42-grey: #F4F6FF;
  --base42-white: #ffffff; 
}

.service42 {
    position: relative;
}
.bx-service__card {
  position: relative;
  border-radius: 8px;
  border: 1px solid rgba(34, 48, 53, 0.17);
  padding: 40px;
  transition: all 0.3s ease;
}
.bx-service__card:hover {
  border: 1px solid transparent;
}
.bx-service__card::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(1.06deg, var(--base42-skin) 1.96%, rgba(28, 28, 28, 0) 198.08%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-radius: 8px;
}
.bx-service__card:hover::before {
  opacity: 1;
  visibility: visible;
}
.bx-service__cover {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bx-service__img {
  overflow: hidden;
  border-radius: 100%;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}
.bx-service__card:hover .bx-service__img {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: scale(0.5);
}
.bx-service__img img {
  max-width: 125px;
  height: 125px;
  border-radius: 100%;
  transition: all 0.3s ease;
  transform: scale(1);
}
.bx-service__card .bx-service__icon {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  position: absolute;
  left: 40px;
  top: 40px;
  width: 125px;
  height: 125px;
  padding-top: 22px;
  text-align: center;
  transition: all 0.3s ease;
  background-color: rgba(20, 20, 20, 0.5);
  border-radius: 100px;
}
.bx-service__card .bx-service__icon i {
  font-size: 50px;
  color: #fff
}
.bx-service__card:hover .bx-service__icon {
  opacity: 1;
  visibility: visible;
}
.bx-service__card .bx-service__icon img {
  transform: scale(0.5);
}
.bx-service__card:hover .bx-service__icon img {
  transform: scale(1);
}
.bx-service__number {
  color: var(--base42-skin);
  font-size: 30px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
  z-index: 2;
}
.bx-service__card:hover .bx-service__number {
  color: var(--base42-white);
}

.bx-service__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 8px;
}
.bx-service__card:hover .bx-service__image {
  opacity: 1;
  visibility: visible;
}
.bx-service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.bx-service__card:hover .bx-service__image img {
  transform: scale(1.04);
}
.bx-service__content {
  position: relative;
  margin-top: 152px;
  z-index: 3;
}
.bx-service__content .title {
  font-size: 26px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 16px;
  color: inherit;
}
.bx-service__card:hover .bx-service__content .title {
  color: var(--base42-white);
}
.bx-service__content .text {
  font-size: 18px;
  transition: all 0.3s ease;
}
.bx-service__card:hover .bx-service__content .text {
  color: var(--base42-white);
}
  
.bx-service__card .read-more {
	font-weight: 400;
	font-size: 16px;
	color: var(--base42-white);
	display: inline-flex;
	align-items: center;
	position: relative;
	z-index: 1;
	padding: 3px 19px;
}
.bx-service__card .read-more::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: var(--base42-dark);
	box-shadow: 4px 4px 20px rgba(255, 255, 255, 0.1);
	border-radius: 30px;
	z-index: -1;
	transition: .3s linear;
}
.bx-service__card .read-more:hover::before {
	width: 100%;
}
.bx-service__card .read-more i {
	margin-left: 5px;
}
 