.our-history-sec {
  background-color: #52320a;
  padding: 52px 0px;
  position: relative;
  z-index: 1;
}

.our-history-sec::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-image: url("../../../../public/images/windmill-2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 455px;
  height: 600px;
  right: 0;
  top: 0;
}

.our-history-image {
  max-width: 630px;
}

.our-history-image img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.our-history-content h4 {
  color: var(--yellow-color);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 22px;
  font-family: var(--font-dm-display);
}

.our-history-content h2 {
  font-size: 45px;
  font-weight: 600;
  color: var(--white-color);
  margin: 30px 0;
}

.our-history-content p {
  color: var(--white-color);
}

.our-history-sec .welcome-anchor {
  display: flex;
}

.our-history-sec .welcome-anchor a {
  background: #fff;
  color: var(--green-color) !important;
}

.our-history-sec .our-history-circle {
  background-image: url("../../../../public/images/counter2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: absolute;
  right: 180px;
  animation: rotate-back-and-forth 15s infinite linear;
}

.our-history-sec .our-history-circle h5 {
  color: var(--white-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.our-history-sec .our-history-circle h3 {
  color: var(--yellow-color);
  font-size: 45px;
  font-weight: 700;
}

.our-history-sec .our-history-circle::before {
  content: "";
  position: absolute;
  z-index: 0;
  /* border: 1px dashed #eee; */
  padding: 10px;
  width: 180px;
  height: 180px;
  border-radius: 100%;
}

@keyframes rotate-back-and-forth {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media (max-width: 1366px) {
  .our-history-sec .our-history-circle {
    right: 20px;
  }
}

/* Tablet (≤991px) */
@media (max-width: 991.98px) {
  .our-history-sec {
    padding: 40px 20px;
  }

  .our-history-sec::before {
    width: 280px;
    height: 400px;
    opacity: 0.3;
  }

  .our-history-image {
    max-width: 100%;
    margin: 0 auto 30px;
  }

  .our-history-content h2 {
    font-size: 36px;
    margin: 20px 0;
  }

  .our-history-content h4 {
    font-size: 18px;
  }

  .our-history-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .our-history-sec .our-history-circle {
    right: auto;
    left: 35%;
    transform: translateX(-50%);
    bottom: -400px;
    width: 160px;
    height: 160px;
  }

  .our-history-sec .our-history-circle::before {
    width: 140px;
    height: 140px;
  }

  .our-history-sec .our-history-circle h3 {
    font-size: 32px;
  }
}

@media (max-width: 767.98px) {
  .our-history-sec {
    padding: 30px 15px;
  }

  .our-history-content h2 {
    font-size: 28px;
    line-height: 36px;
    text-align: center;
  }

  .our-history-content h4 {
    font-size: 16px;
    justify-content: center;
    text-align: center;
  }

  .our-history-content p {
    font-size: 14px;
    text-align: center;
  }

  .our-history-sec .welcome-anchor {
    justify-content: center;
    margin-top: 20px;
  }

  .our-history-sec .our-history-circle {
    position: relative;
    margin: 30px auto 0;
    bottom: unset;
    transform: none;
    width: 140px;
    height: 140px;
  }

  .our-history-sec .our-history-circle::before {
    width: 120px;
    height: 120px;
  }

  .our-history-sec .our-history-circle h3 {
    font-size: 26px;
  }

  .our-history-sec .our-history-circle h5 {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 400px) {
  .our-history-content h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .our-history-content p {
    font-size: 13px;
  }

  .our-history-sec .our-history-circle {
    width: 110px;
    height: 110px;
  }

  .our-history-sec .our-history-circle::before {
    width: 95px;
    height: 95px;
  }

  .our-history-sec .our-history-circle h3 {
    font-size: 22px;
  }

  .our-history-sec .our-history-circle h5 {
    font-size: 12px;
  }
}
