/* Original Desktop Styles */
footer {
  background: linear-gradient(180deg, #565e15 0%, #868d30 100%);
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  background-image: url("../../../public/images/footer-before.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  top: -34px;
  left: 0;
  width: 100%;
  height: 60px;
}

footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-image: url("../../../public/images/footer-farmer.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  bottom: 0;
  right: 0;
  width: 264px;
  height: 321px;
}

.footer-signup-content .signup-bell {
  background-color: var(--yellow-color);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

.footer-signup-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-signup-content h2 {
  font-family: var(--font-dm-display);
  color: #fff;
  font-size: 40px;
  font-weight: 600;
}

.footer-signup-content p {
  color: #fff;
  margin-bottom: 0;
  font-size: 14px;
}

footer form input {
  width: 100%;
  height: 55px;
  border-radius: 100px;
  border: none !important;
  outline: none !important;
  padding: 15px;
  font-size: 14px;
  color: var(--green-color);
  background: #fff !important;
}

footer form input::placeholder {
  color: var(--green-color);
  font-size: 14px;
}

footer form {
  position: relative;
}

footer form button {
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  background-color: transparent;
  border: none;
  outline: none;
}

footer .footerRow {
  padding: 20px 0px 90px;
}

footer .footer-left p {
  width: 340px;
  margin: 42px 0px;
  color: #fff;
}

footer .footer-left ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  gap: 10px;
}

footer .footer-left ul li a {
  background-color: var(--yellow-color);
  width: 50px;
  height: 50px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

footer .footer-links h4 {
  color: #fff;
  margin-bottom: 36px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  font-size: 24px;
}

footer .footer-links ul {
  list-style-type: none;
  padding: 0;
}

footer .footer-links ul li {
  margin-bottom: 20px;
  color: #fff;
  font-size: 16px;
}

footer .footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

footer .footer-links h4::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -15px;
  background: var(--yellow-color);
  width: 76px;
  height: 3px;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  footer {
    padding-bottom: 60px;
  }

  footer::before {
    width: 200px;
    height: 243px;
  }

  footer::after {
    top: -25px;
    height: 45px;
  }

  .footer-signup-content h2 {
    font-size: 34px;
  }

  .footer-signup-content .signup-bell {
    width: 55px;
    height: 55px;
  }

  footer .footerRow {
    padding: 15px 0px 70px;
  }

  footer .footer-left p {
    width: 300px;
    margin: 30px 0px;
  }

  footer .footer-links h4 {
    font-size: 22px;
    margin-bottom: 30px;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  footer {
    padding-bottom: 40px;
  }

  footer::before {
    width: 140px;
    height: 170px;
    bottom: -10px;
    right: 10px;
  }

  footer::after {
    top: -20px;
    height: 35px;
  }

  .footer-signup-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-bottom: 25px;
  }

  .footer-signup-content .signup-bell {
    width: 50px;
    height: 50px;
  }

  .footer-signup-content h2 {
    font-size: 28px;
    margin-bottom: 5px;
  }

  .footer-signup-content p {
    font-size: 13px;
  }

  footer form input {
    height: 50px;
    padding: 12px;
    font-size: 13px;
  }

  footer form button {
    right: 15px;
  }

  footer .footerRow {
    padding: 15px 0px 50px;
  }

  footer .footer-left {
    text-align: center;
    margin-bottom: 30px;
  }

  footer .footer-left p {
    width: 100%;
    margin: 20px 0px;
    font-size: 14px;
  }

  footer .footer-left ul {
    justify-content: center;
    gap: 15px;
  }

  footer .footer-left ul li a {
    width: 45px;
    height: 45px;
  }

  footer .footer-links {
    text-align: center;
    margin-bottom: 25px;
  }

  footer .footer-links h4 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  footer .footer-links h4::before {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }

  footer .footer-links ul li {
    margin-bottom: 15px;
    font-size: 14px;
  }

  footer .footer-links ul li a {
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 575px) {
  footer {
    padding-bottom: 30px;
  }

  footer::before {
    width: 110px;
    height: 134px;
    bottom: -8px;
    right: 5px;
  }

  footer::after {
    top: -15px;
    height: 30px;
  }

  .footer-signup-content {
    gap: 12px;
    margin-bottom: 20px;
  }

  .footer-signup-content .signup-bell {
    width: 45px;
    height: 45px;
  }

  .footer-signup-content h2 {
    font-size: 24px;
  }

  .footer-signup-content p {
    font-size: 12px;
  }

  footer form input {
    height: 45px;
    padding: 10px;
    font-size: 12px;
  }

  footer form button {
    right: 12px;
  }

  footer .footerRow {
    padding: 12px 0px 40px;
  }

  footer .footer-left p {
    margin: 15px 0px;
    font-size: 13px;
  }

  footer .footer-left ul {
    gap: 12px;
  }

  footer .footer-left ul li a {
    width: 42px;
    height: 42px;
  }

  footer .footer-links {
    margin-bottom: 20px;
  }

  footer .footer-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  footer .footer-links h4::before {
    width: 50px;
    height: 2px;
  }

  footer .footer-links ul li {
    margin-bottom: 12px;
    font-size: 13px;
  }

  footer .footer-links ul li a {
    font-size: 13px;
  }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
  footer {
    padding-bottom: 25px;
  }

  footer::before {
    width: 90px;
    height: 109px;
    bottom: -5px;
  }

  footer::after {
    top: -12px;
    height: 25px;
  }

  .footer-signup-content {
    gap: 10px;
    margin-bottom: 18px;
  }

  .footer-signup-content .signup-bell {
    width: 40px;
    height: 40px;
  }

  .footer-signup-content h2 {
    font-size: 22px;
  }

  .footer-signup-content p {
    font-size: 11px;
  }

  footer form input {
    height: 42px;
    padding: 8px;
    font-size: 11px;
  }

  footer form button {
    right: 10px;
  }

  footer .footerRow {
    padding: 10px 0px 35px;
  }

  footer .footer-left p {
    margin: 12px 0px;
    font-size: 12px;
  }

  footer .footer-left ul {
    gap: 10px;
  }

  footer .footer-left ul li a {
    width: 38px;
    height: 38px;
  }

  footer .footer-links {
    margin-bottom: 18px;
  }

  footer .footer-links h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  footer .footer-links h4::before {
    width: 45px;
    display: none;
  }

  footer .footer-links ul li {
    margin-bottom: 10px;
    font-size: 12px;
  }

  footer .footer-links ul li a {
    font-size: 12px;
  }
}