/*==================================
            FOOTER
==================================*/
footer {
  position: relative;
  background: #fff;
  padding: 30px 6% 0;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  border-top: 1px solid #e8e8e8;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  gap: 45px;
  align-items: flex-start;
}

/*==================================
        BRAND
==================================*/

.footer-brand img {
  width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #333;
  font-size: 15px;
  line-height: 1.9;
  max-width: 320px;
  margin-bottom: 25px;
  font-weight: 500;
}

/*==================================
        SOCIAL
==================================*/

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid #69a41a;
  color: #347704;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.35s;
}

.footer-social a:hover {
  background: #69a41a;
  color: #fff;
  transform: translateY(-4px);
}

/*==================================
      COLUMN HEADING
==================================*/

.footer-links h3 {
  color: #14531d;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 28px;
  position: relative;
  white-space: nowrap;
}

.footer-links h3::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #69a41a;
  position: absolute;
  left: 0;
  bottom: -10px;
}

/*==================================
        LINKS
==================================*/

.footer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
  transition: 0.35s;
}

.footer-links a i {
  color: #69a41a;
  font-size: 14px;
}

.footer-links a:hover {
  color: #69a41a;
  transform: translateX(8px);
}

/*==================================
      CONTACT
==================================*/

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

.contact-item i {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #eef7e6;
  color: #347704;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item a,
.contact-item span {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  transition: 0.3s;
}

.contact-item a:hover {
  color: #69a41a;
}

/*==================================
      COLUMN BORDER
==================================*/

.footer-links {
  position: relative;
}

.footer-links:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -22px;
  width: 1px;
  height: 100%;
  background: #e5e5e5;
  display: none;
}

/*==================================
        COPYRIGHT
==================================*/

.copy {
  background: #52a01c;
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 15px 20px;

  margin-top: 10px;
  margin-bottom: 0;

  border-radius: 0;

  width: calc(100% + 20%);
  margin-left: -9%;
  margin-right: -6%;
}

.copy a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.copy a:hover {
  text-decoration: underline;
  color: #9ed34a;
}

/*==================================
        TABLET
==================================*/

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .footer-links::after {
    display: none;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-brand img {
    width: 190px;
  }
}

/*==================================
        MOBILE
==================================*/

@media (max-width: 768px) {
  footer {
    padding: 45px 20px 0;
    margin-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    width: 170px;
    margin: auto;
    margin-bottom: 18px;
  }

  .footer-brand p {
    max-width: 100%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links h3 {
    font-size: 24px;
    margin-bottom: 22px;
  }

  .footer-links h3::after {
    left: 0;
  }

  .footer-links a {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .contact-item {
    margin-bottom: 18px;
  }

  .contact-item i {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .contact-item a,
  .contact-item span {
    font-size: 15px;
  }

  .copy {
    background: #52a01c;
    color: #fff;

    margin-top: 30px;
    margin-bottom: 0;

    padding: 18px 18px;

    font-size: 13px;
    line-height: 1.8;

    text-align: center;

    border-radius: 0;

    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }

  .copy a {
    display: block;
    margin-top: 6px;
  }
}

/*==================================
      EXTRA SMALL
==================================*/

@media (max-width: 480px) {
  .footer-links h3 {
    font-size: 22px;
  }

  .footer-links a {
    font-size: 15px;
  }

  .footer-brand img {
    width: 150px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }
}
/*==================================
      RESET
==================================*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
}

footer {
  margin-bottom: 0;
}
