.footer-section {
  position: relative;

  margin: 0 10px 10px;

  padding: 80px 0 30px;

  background: linear-gradient(135deg, #02161b, #01262d);

  border-radius: 16px;

  overflow: hidden;
}

.footer-section::before {
  content: "";

  position: absolute;

  inset: 0;

  background: url("../images/sect-5-overlay-img.svg");

  background-repeat: no-repeat;

  opacity: 0.4;
}

/* Newsletter */

.footer-newsletter {
  width: min(1500px, 90%);
  margin: auto auto 80px;
  /* padding: 20px; */
  /* border-radius: 14px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  /* background: linear-gradient(45deg, #ffffff, #ffffff00); */
  position: relative;
  /* border: 1px solid #fff; */
  z-index: 2;
}

.footer-newsletter-logo {
  height: 85px;
  padding: 12px 24px;
  background: #fff;
  border-radius: 12px;
}

.footer-newsletter-logo img {
  height: 100%;
  width: auto;
}

.footer-newsletter-form {
  flex: 1;
  background: #ffffff29;
  display: flex;

  max-width: 450px;
  border: 1px solid #ffffff57;
  padding: 6px;
  border-radius: 58px;
}

.footer-newsletter-form input {
  flex: 1;

  border: none;
  outline: none;

  background: transparent;

  color: #ffffff;

  padding: 0 25px;
}

.footer-newsletter-form input::placeholder {
  color: #dbdbdb;
}

.footer-newsletter-form a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  background: #ffffff;
  gap: 16px;
  padding: 4px 4px 4px 20px;
  border-radius: 38px;
  font-size: 12px;
}

.footer-newsletter-form a span {
  color: #042f33;
  font-weight: 600;
}

.footer-newsletter-form a .footer-btn-icon {
  width: 32px;
  height: 32px;
  background: #042f33;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-newsletter-form a .footer-btn-icon svg {
  width: 14px;
  height: 14px;
  transform: rotate(0deg);
  transition: all 0.4s ease-in-out;
}

.footer-newsletter-form a:hover .footer-btn-icon svg {
  transform: rotate(45deg);
}

/* Main Footer */

.footer-container {
  width: min(1500px, 90%);
  margin: auto;

  display: grid;
  grid-template-columns:
    1.4fr
    1fr
    1fr
    1fr;

  gap: 60px;

  position: relative;
  z-index: 2;
}

.footer-logo {
  width: 220px;
  margin-bottom: 25px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

.footer-column h3 {
  color: #fff;
  margin-bottom: 25px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 14px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
}

.footer-column a:hover {
  color: #1f9fa0;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.footer-stats {
  display: flex;
  gap: 30px;
}

.footer-stat h4 {
  color: #fff;
  font-size: 30px;
}

.footer-stat span {
  color: #1f9fa0;
}

/* Bottom */

.footer-bottom {
  width: min(1500px, 90%);
  margin: auto;

  padding-top: 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
}

.footer-socials a svg {
  fill: #fff;
  width: 22px;
  height: 22px;
  transform: scale(1);
  transition: all 0.6s ease;
}

.footer-socials a:hover svg {
  transform: scale(1.2);
}

.footer-policy {
  display: flex;
  gap: 20px;
}

.footer-policy a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

/* Responsive */

@media (max-width: 992px) {
  .footer-newsletter {
    flex-direction: column;
    /* background: linear-gradient(45deg, #ffffff, #ffffff); */
    margin: auto auto 40px;
  }

  .footer-container {
    grid-template-columns:
      1fr
      1fr;
  }

  .footer-background-text {
    font-size: 70px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-newsletter-form {
    /* flex-direction: column;
    gap: 10px;
    background: none;
    padding: 0; */
    display: none;
  }

  .footer-newsletter-form input {
    height: 55px;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 50px;
  }

  .footer-background-text {
    font-size: 42px;
  }

  .footer-section {
    padding: 26px 0 30px;
  }
  .footer-stats {
    justify-content: center;
  }

  .footer-column {
    text-align: center;
  }
}
