footer p,
footer h1,
footer h2,
footer h3,
footer h4 {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  h1,
  h2 {
    line-height: 50px;
  }
}

.footer {
  padding: 100px 0;
  background: linear-gradient(0deg, #142a3c 68.52%, #144f6f 100%);
  color: #fff;

  @media (max-width: 1199px) {
    padding: 70px 30px;
  }

  @media (max-width: 767px) {
    padding: 50px 8px;
  }
}

.footer .wrapper > a img {
  margin-bottom: 80px;

  @media (max-width: 991px) {
    margin-bottom: 50px;
  }

  @media (max-width: 767px) {
    margin-bottom: 30px;
  }
}

.footer h4 {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 39.2px;
}

.footer .footer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 380px;
}

.footer .footer-form .subscribe-form .d-flex {
  gap: 18px;
}

/* .footer .footer-form .subscribe-form p:last-of-type {
        display: flex;
    } */

.footer .footer-form .subscribe-form input[type="email"] {
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  background-color: #fff;
  color: #000;
  font-size: 16px;
  line-height: 24px;
  outline: none;
  max-width: 260px;
}

.footer .footer-form .subscribe-form .btn-global {
  padding: 10px 25px;
  border: 0;
  line-height: 24px;
}

.footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.footer .footer-links > .d-flex {
  gap: 24px;
}

.footer .footer-links a,
.footer-form p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.footer .footer-links .links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

footer .copyright {
  background-color: #23868b;
  padding: 16px 0;

  @media (max-width: 1199px) {
    padding: 16px 30px;
  }

  @media (max-width: 767px) {
    padding: 16px 8px;
  }
}

footer .copyright .social-icons {
  display: flex;
  gap: 24px;
}

footer .copyright .social-icons a:last-of-type svg {
  border-radius: 11.5px;
  background: #fff;
  width: 23px;
  height: 23px;
  padding: 6.38px 6.5px 6.37px 6.5px;
}

@media (max-width: 1350px) {
  .footer .wrapper > .d-flex {
    flex-direction: column;
    justify-content: left;
    gap: 50px;
  }

  .footer .footer-form {
    max-width: 680px;
  }

  .footer .footer-form .subscribe-form input[type="email"] {
    max-width: unset;
  }

  .footer .footer-form .subscribe-form p:first-of-type,
  .footer .footer-form .subscribe-form input {
    width: 100%;
  }

  /* .footer .footer-form .subscribe-form p:last-of-type {
            display: block;
        } */
}

@media (max-width: 991px) {
  .footer .wrapper > .d-flex {
    gap: 30px;
  }
}

@media (max-width: 767px) {
  footer .copyright .wrapper > .d-flex {
    gap: 24px;
  }
}

@media (max-width: 575px) {
  .footer .footer-form .subscribe-form {
    flex-direction: column;
  }

  .footer .footer-links {
    flex-direction: column;
  }
}

footer .layout {
  position: relative;
  background: #144f6f;
  color: #fff;
  overflow: hidden;
}

footer .footer-cta .wrapper {
  @media (max-width: 1199px) {
    padding: 0 30px;
  }

  @media (max-width: 767px) {
    padding: 0 8px;
  }
}

footer .layout .cta {
  padding: 72px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 60%;

  @media (max-width: 991px) {
    padding-top: 70px;
    padding-bottom: 0;
  }

  @media (max-width: 767px) {
    padding-top: 50px;
  }
}

footer .layout h2,
footer .layout h3 {
  color: #fff;
  font-weight: 400;
}

footer .layout h2 {
  @media (min-width: 768px) {
    font-size: 40px!important;
    line-height: 56px;
  }
}

footer .layout > img {
  position: absolute;
  right: 0;
  border-bottom-left-radius: 40px;
  width: 35%;
  max-width: 657px;
  height: -webkit-fill-available;
  object-fit: cover;
  object-position: center;
}

footer .layout .form {
  padding: 72px 0;
  width: 50%;

  @media (max-width: 1199px) {
    padding: 70px 30px 0;
  }

  @media (max-width: 767px) {
    padding: 50px 8px 0;
  }
}

footer .footer-newsletter form > .d-flex {
  gap: 25px;
  padding-top: 10px;
}

footer .footer-newsletter form > .d-flex > .d-flex {
  gap: 25px;
}

footer .footer-newsletter form input {
  padding: 12px 25px;
  border: 0;
  border-radius: 10px;
  color: #000;
  font-size: 16px;
  outline: none;
}

footer .footer-newsletter form input:not([type="submit"]) {
  width: 100%;
}

footer .footer-newsletter form .btn-global {
  margin-top: 35px;
}

@media (max-width: 991px) {
  footer .layout > img {
    position: unset;
    border-radius: 0;
    object-position: top center;
    width: 100%;
    max-width: 100%;
    max-height: 565px;
  }

  footer .layout .cta,
  footer .layout .form {
    width: 100%;
  }
}
