footer {
  position: relative;
}
.site-footer-top {
  padding: 80px 0 40px;
  background-color: var(--primary-color);
}
footer p {
  margin: 0;
}
footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul#footernav {
  margin-top: 16px;
}
ul#footernav li {
  margin-bottom: 8px;
}
ul#footernav li a {
  color: var(--accent-color);
}
.site-footer-copyright {
  padding: 0 0 40px;
  background-color: var(--primary-color);
}
.site-footer-copyright .b2-d-flex {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #fff;
  padding-top: 30px;
}
.site-footer-copyright p {
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.36px;
  color: #fff;
}

.site-footer-copyright-nav {
  display: flex;
  align-items: center;
  gap: 50px;
}
.site-footer-copyright p > a {
  color: #fff;
  text-decoration: underline;
}
.site-footer-copyright .menu-copyright-container ul {
  display: flex;
  gap: 20px;
}
.site-footer-copyright .menu-copyright-container ul a {
  color: white;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.36px;
  color: #fff;
}
a.footer-contact-phone {
  font-size: 2rem;
  color: white;
}
a.footer-contact-email {
  color: white;
}
ul.footer-social-media li a {
  color: white;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 1px;
}
ul.footer-social-media li a i {
  background-color: white;
  color: var(--primary-color);
  font-size: 25px;
  padding: 5px;
}
ul.footer-social-media {
  display: flex;
  gap: 20px;
}
.footer-cta {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
}
.footer-heading {
  color: white;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 2.25rem;
  text-align: right;
}
footer .gform_button {
  background-color: var(--secondary-color) !important;
}

.gform-theme--foundation .gform_fields {
  row-gap: 10px !important;
  column-gap: 10px;
}

.gform-field-label {
  font-size: 12px !important;
  color: #fff !important;
  font-weight: 300 !important;
  letter-spacing: 0.36px !important;
}

footer form {
  max-width: 382px !important;
  float: right !important;
  display: flex !important;
  flex-direction: column !important;
}

footer form .gform-footer {
  justify-content: end;
}

.b2-cta-menu {
  display: none;
}
/* Contact Modal Popup */
.contact-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.contact-modal-content {
  background: #fff;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border-radius: 0 50px;
  box-shadow: 4px 4px 20px 0 rgba(0, 0, 0, 0.15);
  position: relative;
}

.contact-modal-content::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  border-radius: 0 50px;
  background: linear-gradient(78deg, var(--Colour-Primary-Vibrant-Green, #5BC8AF) 0%, var(--Colour-Primary-Azure, #278BFD) 100.96%);
  height: 100%;
  width: 100%;
  z-index: -1;
}

.contact-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  color: #278BFD;
  cursor: pointer;
}

.contact-close:hover {
  opacity: 0.8;
}

@media only screen and (max-width: 1280px) {
  .b2-cta-menu {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 900;
  }
  .b2-cta-menu .b2-cta-flex {
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .b2-cta-menu .b2-cta-flex a {
    border-radius: 0 !important;
    opacity: 1;
  }
  .b2-cta-menu .b2-cta-flex a:hover {
    opacity: 1 !important;
  }
  .footer-logo img {
    margin: 0 auto;
  }
  .footer-links {
    margin: 20px 0;
    text-align: center;
  }
  .footer-contact-details {
    text-align: left;
  }
  ul.footer-social-media {
    margin-top: 20px;
    justify-content: center;
  }
  .site-footer-copyright .b2-d-flex {
    flex-direction: column;
  }
  .site-footer-copyright .menu-copyright-container ul {
    text-align: center;
  }
  footer form {
    float: none;
  }
  .footer-cta {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }
  .footer-heading {
    text-align: center;
    margin-top: 30px;
    font-weight: 500;
    font-size: 20px;
  }
  footer form {
    float: none !important;
    justify-content: center !important;
    align-items: center !important;
    margin: auto !important;
  }
  .site-footer-copyright-nav {
    flex-direction: column;
    gap: 30px;
  }
  .site-footer-top {
    padding: 40px 0;
  }
  .site-footer-copyright {
    padding: 0 0 80px;
  }
}

@media only screen and (max-width: 991px) {
  ul.footer-social-media li a {
    font-size: 1rem;
  }
}