footer.footer {
  position: relative;
  width: 100%;
}

.footer .top-footer {
  padding: 60px 0;
}

.footer .top-footer .upper-footer {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer .top-footer .upper-footer .item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer .top-footer .upper-footer .item .img-wrap {
  background-color: #8c4c29;
  border-radius: 50px;
  padding: 19px;
}

.footer .top-footer .upper-footer .item .img-wrap img {
  max-width: 32px;
  width: 100%;
}

.footer .top-footer .upper-footer .item h4 {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 5px;
}

.footer .top-footer .upper-footer .item p {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.footer .bottom-footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 2px;
}

.footer .footer-logo img {
  max-width: 171px;
  width: 100%;
}

.footer .lower-top-section .column {
  flex: 1;
  max-width: calc(25% - 15px);
  width: 100%;
}

.footer .lower-top-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: nowrap;
}

.footer .footer-logo {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.footer .footer-logo:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -50px;
  background-image: url("../../assets/images/footer-img/footer-checkmark.png");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
}

.footer .footer-text p {
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  margin-bottom: 40px;
}

.footer .contact-cta a {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  line-height: 100%;
  text-align: center;
  border: 2px solid var(--primary-color);
  padding: 12px 44px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.footer .footer-social-links {
  margin-bottom: 50px;
}

.footer .footer-social-links > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.footer .footer-social-links > ul > li > a {
  display: block;
}

.footer .footer-social-links > ul > li > a > img {
  height: 26px;
  width: auto;
}

.footer .best-dental-award {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 50px;
}

.footer .best-dental-award a {
  line-height: 20px;
  text-decoration: underline;
  font-family: "Funnel Display", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer ul.treatment-footer-menu > li > h4 {
  margin-bottom: 30px;
}

.footer ul.treatment-footer-menu > li > h4 span {
  display: flex;
  justify-content: normal;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-size: 20px;
  text-transform: uppercase;
  gap:20px;
}

.footer ul.treatment-footer-menu > li > ul > li > a {
  font-size: 14px;
  line-height: 40px;
  font-weight: 400;
  text-transform: uppercase;
}

.footer .footer-menu {
  padding-top: 45px;
}

.footer ul.footer-menu > li {
  position: relative;
}

.footer ul.footer-menu > li > a > span {
  font-size: 14px;
  line-height: 40px;
  font-weight: 400;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer ul.footer-menu > li.active > a > span > svg,
.footer ul.treatment-footer-menu > li.active > h4 > span > svg {
  transform: rotate(180deg);
}

.footer ul.footer-menu > li > ul {
  display: none;
}

.footer ul.footer-menu > li > ul > li > a {
  font-size: 12px;
  line-height: 40px;
  font-weight: 400;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer .iframe-one {
  margin-top: 40px;
}

.footer .iframe-wrap {
  position: relative;
  max-width: max-content;
  width: 100%;
}

.footer .iframe-wrap iframe {
  width: 100%;
}

.footer .iframe-title {
  position: absolute;
  background-color: var(--primary-color);
  opacity: 0.8;
  z-index: 1;
  width: 100%;
  color: var(--secondary-color);
  padding: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.footer .footer-contact-wrapper {
  margin-bottom: 40px;
}

.footer .footer-contact-wrapper h4 {
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  text-transform: uppercase;
}

.footer .footer-contact-wrapper h4 a {
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  text-transform: uppercase;
}

.footer .iframe-two {
  margin-bottom: 42px;
}

.footer .lower-bottom-section {
  display: flex;
  gap: 40px;
  align-items: end;
  flex-wrap: wrap;
}

.footer .lower-bottom-section h2 {
  font-size: 36px;
  font-weight: 600;
  font-family: "Funnel Display", sans-serif;
  color: var(--primary-color);
  letter-spacing: 1%;
}

.footer .lower-bottom-section p {
  font-family: "Funnel Display", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  vertical-align: middle;
}

.footer .privacy-policy-link {
  font-weight: 600;
  font-size: 16px;
  line-height: 40px;
  text-decoration: underline;
  text-transform: uppercase;
}

.footer .input-wrapper {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--primary-color);
}

.footer .input-wrapper input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  border: none;
  font-size: 16px;
  max-width: 384px;
  min-width: 384px;
  width: 100%;
  color: #333;
  outline: none;
  font-weight: 400;
  font-family: "Urbanist", sans-serif;
}

.footer .input-wrapper button {
  background-color: #8c4c29;
  color: var(--primary-color);
  border: none;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.footer .input-wrapper button i {
  font-size: 18px;
}

.footer .mobile-iframe {
  display: none;
}

@media (max-width: 992px) {
  .footer .lower-top-section{
    display: block;
  }
  .footer .lower-top-section .column {
    max-width: calc(50% - 20px);
    width: 100%;
    flex: unset;
  }

  .footer .top-footer .upper-footer .item .img-wrap {
    padding: 12px;
  }

  .footer .footer-menu {
    padding-top: 0;
  }

  .footer .iframe-one {
    margin-top: 30px;
  }

  .footer .iframe-two {
    margin-bottom: 30px;
  }

  .footer .footer-contact-wrapper {
    margin-bottom: 23px;
  }

  .footer .top-footer .upper-footer .item h4,
  .footer .top-footer .upper-footer .item p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .footer .mobile-iframe {
    display: block;
  }

  .footer .top-footer .upper-footer {
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 40px;
    margin-bottom: 30px;
  }

  .footer .top-footer .upper-footer .item .img-wrap img {
    max-width: 19px;
  }

  .footer .lower-top-section .column {
    max-width: 100%;
  }

  .footer .footer-text p {
    font-size: 15px;
  }

  .footer .footer-logo {
    margin-bottom: 15px;
  }

  .footer .contact-cta a {
    display: block;
    font-size: 14px;
  }

  .footer .best-dental-award {
    gap: 25px;
  }

  .footer ul.treatment-footer-menu > li > ul {
    display: none;
  }

  .footer ul.treatment-footer-menu > li > h4 {
    margin-bottom: 0;
  }

  .footer ul.treatment-footer-menu > li > h4 span {
    font-size: 14px;
    line-height: 40px;
    font-weight: 400;
    align-items: center;
  }

  .footer .lower-top-section {
    gap: 0;
    margin-bottom: 20px;
  }

  .footer .lower-top-section .column.column-1,
  .footer .lower-top-section .column.column-3 {
    margin-bottom: 30px;
  }

  .footer .iframe-one {
    display: none;
  }

  .footer .iframe-two,
  .footer .iframe-three {
    margin-bottom: 10px;
  }

  .footer .lower-bottom-section h2 {
    font-size: 24px;
  }

  .footer .lower-bottom-section {
    gap: 20px;
    width: 100%;
    flex-direction: column;
    align-items: unset;
  }

  .footer .input-wrapper input[type="email"] {
    max-width: 100%;
    min-width: 100%;
  }

  .footer .input-wrapper {
    position: relative;
  }

  .footer .input-wrapper button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
  }

  .footer .bottom-footer {
    line-height: 100%;
    padding: 15px;
  }

  .footer .top-footer {
    padding: 30px 0;
  }

  .footer .footer-social-links {
    margin-bottom: 30px;
  }

  footer.footer {
    padding-bottom: 60px;
  }
  .footer .iframe-wrap{
    max-width: 100%;
  }
  #enquiryFormNewsletter{
    max-width: 300px;
  }
}
