
/** category-section **/
.category-section{
  position: relative;
}
.category-section .category-block-one{
  position: relative;
  float: left;
  width: 20%;
  margin-bottom: 30px;
}
.category-section .inner-content{
  position: relative;
  margin: 0px -15px;
}
.category-block-one .inner-box{
  position: relative;
  max-width: 210px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 35px 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 10px 50px 0px #e4e7ee;
  transition: all 500ms ease;
}
.category-block-one .inner-box:hover{
  box-shadow: 0px 10px 50px 0px rgb(248 92 112 / 30%);
}
.category-block-one .inner-box:before{
  position: absolute;
  content: '';
  width: 100%;
  height: 0%;
  left: 0px;
  top: 0px;
  right: 0px;
  transition: all 500ms ease;
}
.category-block-one .inner-box:hover:before{
  height: 100%;
}
.category-block-one .inner-box .icon-box{
  position: relative;
  display: inline-block;
  font-size: 50px;
  line-height: 50px;
  color: #93959e;
  margin-bottom: 11px;
  transition: all 500ms ease;
}
.category-block-one .inner-box:hover .icon-box{
  color: #fff;
}
.category-block-one .inner-box h5{
  display: block;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  margin-bottom: 13px;
}
.category-block-one .inner-box:hover h5{
  color: #fff;
}
.category-block-one .inner-box span{
  position: relative;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #93959e;
  background: #f2f2f5;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  transition: all 500ms ease;
}
.category-block-one .inner-box:hover span{
  color: #fff;
  background-color: rgba(255,255,255,0.2);
}
.category-section .more-btn{
  position: relative;
  margin-top: 20px;
}
.category-section .more-btn .theme-btn-one{
  padding: 17px 48px;
}
.category-section.alternat-2{
  padding-top: 215px;
}
.category-section .pattern-layer{
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.owl-carousel .category-block-one{
  float: none;
  width: 100% !important;
}
.category-section .owl-carousel .owl-stage-outer{
  overflow: visible;
}
.category-section .owl-carousel .owl-stage-outer .owl-item{
  opacity: 0;
  transition: all 500ms ease;
}
.category-section .owl-carousel .owl-stage-outer .owl-item.active{
  opacity: 1;
}
.category-section .owl-dots{
  margin-top: 17px;
}
/** category-style-two **/
.category-style-two {
  position: relative;
  padding-bottom: 80px !important;
}
.category-block-two .inner-box{
  position: relative;
  display: block;
  overflow: hidden;
}
.category-block-two .inner-box .image-box{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}
.category-block-two .inner-box .image-box:before {
  background-image: linear-gradient( 
180deg
, transparent 0%, rgba(0,0,0,.6) 100%);
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
}
.category-block-two .inner-box .image-box img{
  width: 100%;
  transform: scale(1.05);
  border-radius: 10px;
}
.category-block-two .inner-box:hover .image-box img{
  transform: scale(1);
}
.category-block-two .inner-box .lower-content {
  text-align: center;
  margin-top: 24px;
}
.category-block-two .inner-box .image-box span {
  display: block;
  font-size: 13px;
  line-height: 20px;
  color: #fff;
  font-weight: 400;
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 9;
}
.category-block-two .inner-box .lower-content h4 {
  display: block;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}
.category-block-two .inner-box .lower-content h4 a{
  display: block;
  color: #133256;
}
.category-block-two .inner-box:hover .lower-content h4 a{
  text-decoration: underline;
}
/* style two */
.category-block-two.style-two .inner-box {
  display: flex;
  box-shadow: none;
  border-radius: 0;
}
.category-block-two.style-two .inner-box .image-box {
 max-width: 100px;
}
.category-block-two.style-two .inner-box .lower-content {
  text-align: left;
  margin-left: 20px;
  margin-top: 0;
}
.category-block-two.style-two .inner-box .lower-content h4 a {
  display: inline-block;
  color: #000;
}
.category-block-two.style-two .inner-box .icon-box {
  font-size: 22px;
  line-height: 40px;
  background-color: #f3f3f3;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;
  transition: .3s;
  margin-bottom: 10px;
}
.category-block-two.style-two .inner-box:hover .icon-box {
  background-color: var(--primary-color);
  color: #fff;
}
.category-block-two.style-two .inner-box .lower-content span {
  color: #999999;
}
