.counter-component .header {
  color: var(--accent-color);
  position: relative;
  margin: 0 10px;
}

.counter-component .header::after {
  content: "";
  display: block;
  width: 95%;
  height: 1px;
  transform: translateX(-10px);
  background-color: var(--accent-color);
  margin: 20px 0;
}

.counter-component .main-text p {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  height: 33%;
  align-content: center;
  position: relative;
  font-size: initial;
}
.counter-component .line {
  width: 95%;
}

.counter-component .line::after {
  content: "";
  display: block;
  width: 95%;
  height: 1px;
  background-color: var(--secondary-color);
  margin: 10px 0;
}

.counter-component .img-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.counter-component .img-container::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -20px;
  height: 100%;
  width: 100%;
  background-color: #73344910;
  border: 2px solid #ffffff;
}

.counter-component .image {
  max-width: 780px;
  max-height: 520px;
  object-fit: contain;
  width: 100%;
  z-index: 1;
}

.counter-component .counter-container {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  margin-top: 50px;
}

.counter-component .column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 50%;
  order: 1;
}

.counter-component .order {
  order: 2;
}

@media (max-width: 1128px) {
  .counter-component .main-text p {
    width: 95%;
  }
}

@media (max-width: 728px) {
  .counter-component .counter-container {
    display: block;
  }

  .counter-component .column {
    width: 100%;
  }

  .counter-component .img-container {
    margin: 3% auto;
    max-width: 80%;
  }
}
