/* Original Desktop Styles */
.what-we-do-sec {
  position: relative;
  z-index: 1;
  padding: 100px 0px;
}

.what-we-do-sec::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-image: url("../../../../public/images/corn-4.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 253px;
  height: 187px;
  right: 0;
  top: 80px;
}

.what-we-do-image img {
  border-radius: 20px;
}

.what-we-do-image-content {
  background-color: var(--green-color);
  padding: 36px 24px 30px;
  position: absolute;
  left: -100px;
  width: 291px;
  border-radius: 20px;
  top: 35px;
}

.what-we-do-image-content p {
  color: var(--white-color);
  margin-bottom: 0;
}

.what-we-do-image {
  position: relative;
}

.what-we-do-content h4 img {
  width: 70px;
  height: 15px;
}

.what-we-do-content h4 {
  color: var(--green-color);
  font-weight: 600;
  font-size: 20px;
  line-height: 25px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.what-we-do-image .what-we-doImage {
  width: 100%;
}

.what-we-do-content h3 {
  font-family: var(--font-dm-display);
  font-weight: 400;
  font-size: 52px;
  background: linear-gradient(91.68deg, #565e15 4.53%, #868d30 62.74%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 22px;
}

.what-we-do-content p {
  margin-bottom: 20px;
}

.what-we-do-boxes .what-we-do-box {
  background: #868d301a;
  padding: 17px 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #565e15;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.05);
}

.what-we-do-boxes .what-we-do-box p {
  margin-bottom: 0;
}

/* Desktop 1440px */
@media (max-width: 1440px) {
  .what-we-do-image-content {
    left: -50px;
  }
}

@media (max-width: 1366px) {
  .what-we-do-image .what-we-doImage {
    width: 100%;
    height: auto;
  }
  .what-we-do-content h3 {
    font-size: 46px;
  }
}

/* Tablet Responsive */
@media (max-width: 991px) {
  .what-we-do-sec {
    padding: 80px 0;
  }

  .what-we-do-sec::before {
    width: 180px;
    height: 135px;
    top: 60px;
    right: 10px;
  }

  .what-we-do-image-content {
    left: -30px;
    width: 250px;
    padding: 25px 20px;
    top: 30px;
  }

  .what-we-do-content h3 {
    font-size: 40px;
  }

  .what-we-do-content h4 {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .what-we-do-content h4 img {
    width: 60px;
    height: 12px;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .what-we-do-sec {
    padding: 60px 0;
  }

  .what-we-do-sec::before {
    width: 120px;
    height: 90px;
    top: 40px;
    right: 5px;
  }

  .what-we-do-image {
    margin-bottom: 40px;
  }

  .what-we-do-image-content {
    position: static;
    width: 100%;
    margin-top: 20px;
    padding: 20px;
  }

  .what-we-do-content h4 {
    font-size: 16px;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
  }

  .what-we-do-content h4 img {
    width: 50px;
    height: 10px;
  }

  .what-we-do-content h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
  }

  .what-we-do-content p {
    text-align: center;
    font-size: 14px;
  }

  .what-we-do-boxes .what-we-do-box {
    padding: 15px;
    margin-bottom: 12px;
  }

  .what-we-do-boxes .what-we-do-box p {
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 575px) {
  .what-we-do-sec {
    padding: 40px 0;
  }

  .what-we-do-sec::before {
    width: 90px;
    height: 70px;
    top: 30px;
  }

  .what-we-do-image-content {
    padding: 15px;
  }

  .what-we-do-content h4 {
    font-size: 14px;
    gap: 10px;
  }

  .what-we-do-content h4 img {
    width: 40px;
    height: 8px;
  }

  .what-we-do-content h3 {
    font-size: 28px;
  }

  .what-we-do-content p {
    font-size: 13px;
  }

  .what-we-do-boxes .what-we-do-box {
    padding: 12px;
    margin-bottom: 10px;
  }

  .what-we-do-boxes .what-we-do-box p {
    font-size: 13px;
  }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
  .what-we-do-sec {
    padding: 30px 0;
  }

  .what-we-do-sec::before {
    width: 70px;
    height: 55px;
    top: 25px;
  }

  .what-we-do-content h3 {
    font-size: 24px;
  }

  .what-we-do-content h4 {
    font-size: 13px;
  }

  .what-we-do-content h4 img {
    width: 35px;
    height: 7px;
  }

  .what-we-do-content p {
    font-size: 12px;
  }

  .what-we-do-boxes .what-we-do-box {
    padding: 10px;
  }

  .what-we-do-boxes .what-we-do-box p {
    font-size: 12px;
  }
}
