
/*------------------------------------------------------------------------
# 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 {
  --base48-color: #006D77;
  --text-color: #73787d;
  --base48-black: #191B1D;
  --base48-color2: #ff494a;
  --base48-color3: #4476a8;
  --base48-color4: #ecf0f4;
}


.cover-background.bg-img.secondary-overlay::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.5;
  background: var(--base48-color);
}

.z-index-9 {
  z-index: 9;
}
.justify-content-between {
  justify-content: space-between !important;
}
.flex-column {
  flex-direction: column !important;
}
.h-100 {
  height: 100% !important;
}
.position-relative {
  position: relative !important;
}
.d-flex {
  display: flex;
}
.service48  {
  position:relative;
}
.service48 .service-item {
  position:relative;
  display:block;
  overflow:hidden;
}
.service48 .cover-background {
  position: relative !important;
  background-size: cover !important;
  overflow: hidden !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.service48 .service-item .service-bg {
  position:relative;
  display:block;
  overflow:hidden;
  background-color:var(--base48-color);
  border-radius:0.375rem;
  padding-right:100px;
  transition:all 500ms linear
}
.service48 .service-item .service-bg .service-img {
  position:relative;
  display:block;
  border-radius:0.375rem
}
.service48 .service-item .service-bg .service-img .service-link {
  bottom:25px;
  right:25px;
  position:absolute
}
.service48 .service-item .service-bg .service-img .service-link i {
  position:relative;
  display:inline-block;
  width:80px;
  height:48px;
  line-height:52px;
  background-color:#fff;
  text-align:center;
  border-radius:50px;
  font-size:24px;
  color:#000
}
.service48 .service-item .service-bg .service-content {
  position:absolute;
  top:0px;
  right:0px;
  width:100px;
  height:100%;
  padding-top:20px;
  text-align:center;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  border-radius: 0px;
}
.service48 .service-item .service-bg .service-content span {
  position:relative;
  display:block;
  font-size:36px;
  line-height:46px;
  color:#fff;
  font-weight:500;
  margin-bottom:15px
}
.service48 .service-item .service-bg .service-content .h3 {
  position:absolute;
  left:-60px;
  bottom:130px;
  width:100%;
  font-size:24px;
  line-height:32px;
  writing-mode:vertical-lr;
  transform:rotate(180deg)
}
.service48 .service-item .service-bg .service-content .icon {
  position:absolute;
  left:0px;
  bottom:0px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100px;
  height:100px;
  border-top:1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 60px;
}
.service48 .service-item .service-overlay {
  position:absolute;
  left:0px;
  top:0px;
  width:100%;
  height:100%;
  border-radius:0.375rem;
  overflow:hidden;
  z-index:1;
  transform:rotateY(180deg);
  opacity:0;
  transition:all 500ms linear
}
.service48 .service-item .service-overlay .bg-img {
  position:absolute;
  left:0px;
  top:0px;
  width:100%;
  height:100%;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
  padding:30px
}
.service48 .service-item .service-overlay .num {
  position:relative;
  display:block;
  text-align:right;
  font-size:100px;
  line-height:100px;
  font-weight:500;
  color:transparent;
  -webkit-text-stroke-width:1px;
  -webkit-text-stroke-color:rgba(255,255,255,0.35)
}
.service48 .service-item:hover .service-bg {
  transform:rotateY(180deg);
  opacity:0
}
.service48 .service-item:hover .service-overlay {
  transform:rotateY(0deg);
  opacity:1
}


.service48 .h3-title {
  margin-bottom: 1.9rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}



@media screen and (max-width: 767px) {
  .service48 .service-item .service-overlay .num {
    font-size:94px
  }
}


.service48 .button-theme-border1 {
  margin-top: 15px;
}

.service48 .button-theme-border1 {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.service48 a.button-theme-border1 {
  text-decoration: none;
}
.service48 .button-theme-border1 .left-arrow {
  position: absolute;
  left: 0px;
  top: 0px;
  opacity: 0;
  width: 52px;
  height: 52px;
  font-size: 18px;
  line-height: 50px;
  border-radius: 50px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transform: scale(0);
          transform: scale(0);
  color: var(--base48-color);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  border: 1px solid var(--base48-color);
  background-color: var(--base48-color4);
}
.service48 .button-theme-border1 .left-arrow:hover {
  color: var(--base48-color4);
  background-color: var(--base48-color);
}
.service48 .button-theme-border1 .left-arrow:before {
  display: inline-block;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.service48 .button-theme-border1 .theme-btn {
  position: relative;
  font-size: 16px;
  padding: 12px 34px;
  border-radius: 50px;
  display: inline-block;
  text-transform: capitalize;
  color: var(--base48-color);
  background-color: var(--base48-color4);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  border: 1px solid var(--base48-color);
}
.service48 .button-theme-border1 .theme-btn:hover {
  color: var(--base48-color4);
  background-color: var(--base48-color);
}
.service48 .button-theme-border1 .right-arrow {
  position: relative;
  font-size: 18px;
  width: 52px;
  height: 52px;
  line-height: 50px;
  border-radius: 50px;
  display: inline-block;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--base48-color);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  background-color: var(--base48-color4);
  border: 1px solid var(--base48-color);
}
.service48 .button-theme-border1 .right-arrow:before {
  display: inline-block;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.service48 .button-theme-border1 .right-arrow:hover {
  color: var(--base48-color4);
  background-color: var(--base48-color);
}
.service48 .button-theme-border1:hover .left-arrow {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}
.service48 .button-theme-border1:hover .theme-btn {
  -webkit-transform: translateX(52px);
          transform: translateX(52px);
}
.service48 .button-theme-border1:hover .right-arrow {
  -webkit-transform: scale(0);
          transform: scale(0);
}