.custom-footer {
  background-color: var(--color-primary-1);
  bottom: 0;
  position: static;
  width: 100%;
}

.custom-footer .footer-wrapper {
  margin: 0 auto;
  max-width: 1440px;
  padding: 40px 60px;
}

.footer_logo {
  display: block;
  margin-bottom: 30px;
}

.footer_logo img {
  height: auto;
  max-width: 110px;
  width: auto !important;
}

.common-footer-wrap {
  column-gap: 60px;
  display: flex;
  flex-wrap: wrap;
}

.newsletter-area {
  width: 20%;
}

.newsletter-area h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-form form {
  display: flex;
}

.footer-form form .hs-email {
  flex: 1;
}

.footer-form form .input input {
  border: none;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  width: 100%;
}

.footer-form form .hs-submit input,
.footer-form form .input input {
  background: hsla(0, 0%, 100%, 0.1);
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  padding: 15px;
}

.footer-form form .hs-submit input {
  border: none;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

.footer-form form ul.hs-error-msgs li {
  list-style: none;
}

.footer-form form ul.hs-error-msgs li label {
  color: var(--color-primary-2);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.footer-form .submitted-message {
  color: #fff;
}

.footer-link {
  width: 50%;
}

.footer-link ul {
  column-gap: 20px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link ul li.hs-menu-depth-1 {
  flex: 1;
  line-height: 21px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link ul li.hs-menu-depth-1 > a {
  color: #00e2ec;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  margin-bottom: 15px;
  text-decoration: none;
}

.footer-link ul li.hs-menu-depth-1 ul.hs-menu-children-wrapper {
  display: flex;
  flex-direction: column;
}

.footer-link ul li.hs-menu-depth-1 ul.hs-menu-children-wrapper li.hs-menu-depth-2 {
  line-height: 21px;
}

.footer-link ul li.hs-menu-depth-1 ul.hs-menu-children-wrapper li.hs-menu-depth-2 > a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-decoration: none;
}

.contact-area {
  flex: 1;
}

.contact-area h5 {
  color: var(--color-secondary-2);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  margin-bottom: 15px;
}

.contact-area p {
  color: #fff;
  margin-bottom: 10px;
}

.contact-area p,
.contact-area p a {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.contact-area p a {
  color: var(--color-secondary-2);
  text-decoration: underline;
}

.contact-area .footer-btn {
  margin-top: 30px;
}

.contact-area .footer-btn a.btn-default {
  border-radius: 4px;
  color: #111;
}

.footer-last {
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 20px;
}

.copyright-area {
  align-items: center;
  column-gap: 20px;
  display: flex;
}

.copyright-text p {
  color: hsla(0, 0%, 100%, 0.5);
  font-size: 12px;
  font-weight: 400;
  line-height: 19px;
  margin-bottom: 0;
}

.policy-link ul {
  align-items: center;
  column-gap: 20px;
  display: flex;
  margin: 0;
  padding: 0;
}

.policy-link ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.policy-link ul li a {
  color: hsla(0, 0%, 100%, 0.5);
  font-size: 12px;
  font-weight: 400;
  line-height: 19px;
}

.footer-social {
  column-gap: 30px;
  display: flex;
}

.footer-social a {
  color: #fff;
  font-size: 20px;
}

.footer-social a * {
  color: #fff;
}

/* Media Queries */
@media (max-width: 1440px) {
  .custom-footer .footer-wrapper {
    margin: 0 auto;
    max-width: 1320px;
  }
}

@media (max-width: 1024px) {
  .custom-footer {
    padding: 65px 30px 30px;
  }
  .custom-footer .footer-wrapper {
    padding: 0;
  }
}

@media (max-width: 858px) {
  .footer-link {
    width: calc(80% - 120px);
  }
  .newsletter-area {
    flex: 1;
    margin-bottom: 30px;
    width: auto;
  }
  .copyright-area {
    flex-direction: column;
  }
}

@media (max-width: 550px) {
  .common-footer-wrap {
    column-gap: 0;
    flex-direction: column;
  }
  .footer-link {
    width: auto;
  }
  .footer-last {
    flex-direction: column;
  }
  .footer-social {
    justify-content: center;
    margin-top: 20px;
  }
}

@media (max-width: 400px) {
  .footer-link ul {
    column-gap: 0;
    flex-direction: column;
  }
  .footer-link ul li.hs-menu-depth-1 {
    margin-bottom: 20px;
  }
  .custom-footer .footer-wrapper {
    text-align: center;
  }
}


/* added 10/26/2024 Image styling for right above footer with gray overlay*/
.section-cta {
  position: relative;
  background-size: cover;
  background-position: center;
  opacity: 0.9; /* Adjust this value to reduce transparency (0.9 means 90% opaque) */
}

.section-cta .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Light gray overlay with lower opacity */
  z-index: 1;
}

/* Ensure content is on top of overlay */
.section-cta .container {
  position: relative;
  z-index: 2;
}

#hs_cos_wrapper_widget_1683589193631 .section-cta {
  background-color: #fff;
}
