/* Stats/Counter Section Styles - Matching WordPress */

.stats-section {
  position: relative;
  padding: 78px 0 84px;
  background-color: rgba(0, 0, 0, 0);
  background-image: url('/assets/img/home-1-background-patern-1.jpg');
  background-size: auto;
  background-position: 0% 0%;
  background-repeat: repeat;
}

.stats-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: row;
}

.stat-item {
  flex: 0 1 auto;
  flex-basis: auto;
  width: 33.333%;
  padding: 0;
  box-sizing: border-box;
  text-align: start;
}

/* Counter Styles */
.qodef-counter {
  position: relative;
  display: block;
  width: 100%;
  vertical-align: top;
  margin: 0;
  padding: 0;
}

.qodef-counter.qodef-layout--simple {
  text-align: center;
  width: 100%;
}

.qodef-m-digit-wrapper-holder {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: top;
  height: 150px;
}

.qodef-m-digit-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

.qodef-m-digit {
  font-family: "Cormorant Garamond", serif;
  font-size: 150px;
  font-weight: 400;
  line-height: 150px;
  color: rgb(247, 227, 216);
  display: inline-block;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.qodef-m-title-holder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  z-index: 2;
}

.qodef-m-title {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 29px;
  letter-spacing: 7.8px;
  color: #000;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.qodef-m-content {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
  .stats-section .container {
    padding: 0 40px;
  }
  
  .stat-item {
    width: 50%;
    margin-bottom: 40px;
  }
  
  .stat-item:last-child {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .stats-section {
    padding: 60px 0 70px;
  }
  
  .stats-section .container {
    padding: 0 30px;
    flex-direction: column;
  }
  
  .stat-item {
    width: 100%;
    margin-bottom: 50px;
  }
  
  .stat-item:last-child {
    margin-bottom: 0;
  }
  
  .qodef-m-digit-wrapper-holder {
    height: 120px;
  }
  
  .qodef-m-digit {
    font-size: 120px;
    line-height: 120px;
  }
  
  .qodef-m-title {
    font-size: 12px;
    letter-spacing: 6px;
  }
}

@media only screen and (max-width: 480px) {
  .stats-section {
    padding: 50px 0 60px;
  }
  
  .stats-section .container {
    padding: 0 20px;
  }
  
  .stat-item {
    margin-bottom: 40px;
  }
  
  .qodef-m-digit-wrapper-holder {
    height: 100px;
  }
  
  .qodef-m-digit {
    font-size: 100px;
    line-height: 100px;
  }
  
  .qodef-m-title {
    font-size: 11px;
    letter-spacing: 4px;
    line-height: 24px;
  }
}

