.main-footer {
  width: 100%;
  background-color: #011342;
  padding: 48px 84px;
  transition: 0.3s ease;
}

.main-footer .footer-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 104px;
}

.main-footer .footer-top .footer-top-button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 22px;
  line-height: 24px;
  font-weight: 600;
  background-color: #6085e0;
  border: none;
  outline: none;
  padding: 18px 20px;
  cursor: pointer;
  transition: 0.3s ease;
}

.main-footer .footer-top .footer-top-button:hover {
  background-color: #4e74d3ff;
  transition: 0.3s ease;
}

.main-footer .contact-wrapper {
  border-top: 1px solid #ffffff30;
  padding-top: 8px;
  margin-bottom: 64px;
}

.main-footer .contact-wrapper > p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #ffffff;
}

.main-footer .contact-wrapper .contact-container {
  display: flex;
  gap: 24px;
}

.main-footer .contact-wrapper .contact-container .left-side {
  flex: 1;
  height: 580px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
}

.main-footer .contact-wrapper .contact-container .left-side .top-content h2 {
  color: #ffffff;
  font-size: 48px;
  line-height: 52px;
  font-weight: 600;
  margin: 32px 0 16px 0;
}

.main-footer .contact-wrapper .contact-container .left-side .top-content p {
  color: #ffffff;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  max-width: 461px;
}

.main-footer .contact-wrapper .contact-container .right-side {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-footer .contact-wrapper .contact-container .right-side > div {
  width: 100%;
}

.main-footer
  .contact-wrapper
  .contact-container
  .right-side
  .contact-form
  .form-field {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.main-footer
  .contact-wrapper
  .contact-container
  .right-side
  .contact-form
  .form-field
  div
  h5 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  margin: 8px 0;
}

.main-footer
  .contact-wrapper
  .contact-container
  .right-side
  .contact-form
  .form-field
  div {
  width: 100%;
  flex: 1;
}

.main-footer
  .contact-wrapper
  .contact-container
  .right-side
  .contact-form
  .form-field
  div
  span
  select {
  width: 100%;
  outline: none;
  border: none;
  padding: 13px 16px;
  border-radius: 5px;
  font-size: 16px;
  line-height: 24px;
  color: #212721;
  margin-bottom: 10px;
}

.main-footer
  .contact-wrapper
  .contact-container
  .right-side
  .contact-form
  .form-field
  div
  span
  input {
  width: 100%;
  outline: none;
  border: none;
  padding: 13px 16px;
  border-radius: 5px;
  font-size: 16px;
  line-height: 24px;
  color: #212721;
  margin-bottom: 10px;
}

.main-footer
  .contact-wrapper
  .contact-container
  .right-side
  .contact-form
  .form-textarea
  p
  span
  textarea {
  width: 100%;
  height: 170px;
  resize: none;
  outline: none;
  border: none;
  padding: 13px 16px;
  border-radius: 5px;
  font-size: 16px;
  line-height: 24px;
  color: #212721;
  margin-top: 8px;
}

.main-footer
  .contact-wrapper
  .contact-container
  .right-side
  .contact-form
  .form-textarea
  h5 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  margin-top: 8px;
}

.main-footer
  .contact-wrapper
  .contact-container
  .right-side
  .contact-form
  input[type="submit"] {
  width: 100%;
  margin-top: 30px;
  color: #ffffff;
  font-size: 22px;
  line-height: 24px;
  font-weight: 600;
  background: #6085e0;
  border: none;
  outline: none;
  padding: 18px;
  cursor: pointer;
}

.wpcf7-spinner {
  display: none;
}

.form-field div:has(.polaris-contact-form-dropdown) {
  position: relative;
}

.polaris-contact-form-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 4px;
  padding: 10px 40px 10px 12px;
  font-size: 16px;
  width: 100%;
  color: #333;
  cursor: pointer;
}

.form-field div:has(.polaris-contact-form-dropdown)::after {
  content: "";
  background-image: url("/wp-content/uploads/2025/10/input-field-arrow-down-icon.svg");
  background-size: cover;
  background-position: center;
  width: 15px;
  height: 15px;
  position: absolute;
  right: 14px;
  top: 64%;
  transform: translateY(-50%);
  color: #555;
  font-size: 14px;
  pointer-events: none;
}

.input-with-icon {
  position: relative;
}

.input-with-icon::after {
  content: "";
  background-image: url("/wp-content/uploads/2025/10/input-field-pin-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  position: absolute;
  right: 9px;
  top: 30%;
  pointer-events: none;
}

.polaris-contact-form-location-field {
  width: 100%;
  padding-right: 36px;
}

.main-footer .contact-form .wpcf7-not-valid-tip {
  position: absolute;
  top: 35px;
}

.main-footer .wpcf7-response-output {
  color: white;
  border-color: #6085e0 !important;
  padding: 10px !important;
}

/* FOOTER LINKS */
.footer-links-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 20px;
  border-top: 1px solid #ffffff4d;
  padding-top: 16px;
}

.footer-links-container ul {
  list-style-type: none;
}

.footer-links-container li {
  margin-bottom: 12px;
}

.footer-links-container h4 {
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: #ffffff;
  padding-bottom: 8px;
}

.footer-links-container .footer-services-menu li a,
.footer-links-container .footer-sectors-menu li a,
.footer-links-container .footer-agency-menu li a,
.footer-links-container .footer-marketing-resources-menu li a {
  text-decoration: none;
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
  color: #ffffff;
  transition: 0.3s ease;
}

.footer-links-container .footer-services-menu li a:hover,
.footer-links-container .footer-sectors-menu li a:hover,
.footer-links-container .footer-agency-menu li a:hover,
.footer-links-container .footer-marketing-resources-menu li a:hover {
  color: #6085e0;
}

.footer-links-container .footer-services-row {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
}

.footer-links-container .footer-services-row .footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-container .footer-services-row .footer-socials .social {
  width: 52px;
  height: 52px;
  border-radius: 100%;
  border: 1px solid #ffffff4d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.footer-links-container .footer-services-row .footer-socials .social:hover {
  background-color: #6085e0;
  border-color: #6085e0;
}

.footer-links-container
  .footer-agency-marketing-resources-row
  .marketing-resources-block {
  margin-top: 20px;
}

.footer-links-container .footer-contact-row .contact-email {
  margin-bottom: 20px;
}

.footer-links-container .footer-contact-row .contact-email a {
  text-decoration: none;
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
  color: #ffffff;
  transition: 0.3s ease;
}

.footer-links-container .footer-contact-row .contact-email a:hover {
  color: #6085e0;
}

.footer-links-container .footer-contact-row .contact-address p {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #ffffff;
}

.footer-links-container .footer-contact-row .map-image {
  margin-top: 44px;
}

.footer-links-container .footer-contact-row .footer-socials {
  display: none;
}

.main-footer .footer-bottom {
  width: 100%;
  margin: 33px 0;
}

.main-footer .footer-bottom .privacy-cookies-terms-mobile ul {
  display: none;
}

.main-footer .footer-copyright-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff4d;
  padding-top: 16px;
}

.main-footer .footer-copyright-container .left-side p {
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: #ffffff;
}

.main-footer .footer-copyright-container .right-side ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style-type: none;
}

.main-footer .footer-copyright-container .right-side ul li a {
  text-decoration: none;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #ffffff;
  transition: 0.3s ease;
}

.main-footer .footer-copyright-container .right-side ul li a:hover {
  color: #6085e0;
}

/* MOBILE FOOTER DROPDOWNS */
.main-footer .mobile-footer-dropdowns {
  display: none;
}

@media screen and (max-width: 1024px) {
  .main-footer {
    padding: 48px 40px;
  }
  .main-footer .contact-wrapper .contact-container {
    flex-direction: column;
  }
  .main-footer .contact-wrapper .contact-container .left-side .top-content {
    margin-bottom: 48px;
  }
  .main-footer .contact-wrapper .contact-container .left-side .top-content p {
    max-width: 100%;
    width: 100%;
  }
  .main-footer .contact-wrapper .contact-container .left-side .image-container {
    display: none;
  }
  .footer-links-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-links-container .footer-services-row {
    justify-content: start;
    gap: 10px;
  }
  .main-footer .footer-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
  }
}

@media screen and (max-width: 768px) {
  .main-footer {
    padding: 24px 21px;
  }
  .main-footer .footer-top {
    margin-bottom: 23px;
  }
  .main-footer .footer-top img {
    width: 134px;
    height: 17px;
  }
  .main-footer .footer-top .footer-top-button {
    width: 162px;
    font-size: 14px;
    padding: 8px 16px;
    justify-content: center;
    gap: 0;
  }
  .main-footer .footer-top .footer-top-button img {
    display: none;
  }
  .main-footer .contact-wrapper .contact-container {
    flex-direction: column;
  }
  .main-footer .contact-wrapper .contact-container .left-side .top-content h2 {
    font-size: 32px;
    line-height: 38px;
  }
  .main-footer .contact-wrapper .contact-container .left-side .top-content p {
    font-size: 17px;
    line-height: 24px;
  }
  .main-footer
    .contact-wrapper
    .contact-container
    .right-side
    .contact-form
    .form-field {
    width: 100%;
    flex-direction: column;
    align-items: start;
    gap: 0;
  }

  .main-footer
    .contact-wrapper
    .contact-container
    .right-side
    .contact-form
    input[type="submit"] {
    padding: 8px;
    font-size: 16px;
  }

  .footer-links-container .footer-services-menu li a,
  .footer-links-container .footer-sectors-menu li a,
  .footer-links-container .footer-agency-menu li a,
  .footer-links-container .footer-marketing-resources-menu li a {
    font-size: 18px;
  }

  .footer-links-container .footer-contact-row .contact-email a {
    font-size: 18px;
  }

  .footer-links-container .footer-contact-row .contact-address p {
    font-size: 18px;
  }
}

@media screen and (max-width: 582px) {
  .footer-links-container {
    grid-template-columns: 1fr;
  }

  .footer-links-container .footer-services-row {
    gap: 44px;
  }

  .main-footer .footer-bottom .footer-bottom-logos img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .main-footer .footer-bottom .privacy-cookies-terms-mobile ul {
    align-self: flex-start;
    list-style-type: none;
    display: flex;
    gap: 16px;
  }

  .main-footer .footer-bottom .privacy-cookies-terms-mobile ul li a {
    text-decoration: none;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    color: #ffffff;
  }

  .main-footer .footer-copyright-container .right-side {
    display: none;
  }

  .main-footer .footer-bottom {
    gap: 16px;
  }

  .footer-links-container .footer-services-row,
  .footer-links-container .footer-sectors-row,
  .footer-links-container .footer-agency-marketing-resources-row {
    display: none;
  }

  .footer-links-container .footer-contact-row .map-image {
    display: none;
  }

  .footer-links-container .footer-contact-row .footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 44px;
  }

  .footer-links-container .footer-contact-row .footer-socials .social {
    width: 52px;
    height: 52px;
    border-radius: 100%;
    border: 1px solid #ffffff4d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
  }

  /* MOBILE FOOTER DROPDOWNS */
  .main-footer .mobile-footer-dropdowns {
    display: inherit;
    margin-top: 50px;
  }

  .main-footer .mobile-footer-dropdowns .mobile-footer-dropdown {
    border-top: 1px solid #ffffff80;
    border-bottom: 1px solid #ffffff80;
  }

  .main-footer .mobile-footer-dropdowns .mobile-footer-dropdown:nth-child(2) {
    border-top: none;
  }
  .main-footer .mobile-footer-dropdowns .mobile-footer-dropdown:nth-child(3) {
    border-top: none;
  }
  .main-footer .mobile-footer-dropdowns .mobile-footer-dropdown:nth-child(4) {
    border-top: none;
  }

  .main-footer
    .mobile-footer-dropdowns
    .mobile-footer-dropdown
    .dropdown-select {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    padding-bottom: 0;
    padding-right: 18px;
    cursor: pointer;
  }

  .main-footer
    .mobile-footer-dropdowns
    .mobile-footer-dropdown
    .dropdown-select
    .dropdown-text {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #ffffff;
  }

  .main-footer
    .mobile-footer-dropdowns
    .mobile-footer-dropdown
    .dropdown-select
    .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-footer
    .mobile-footer-dropdowns
    .mobile-footer-dropdown
    .dropdown-select
    .arrow-icon
    img {
    transition: 0.3s ease;
  }

  .arrow-rotate {
    transform: rotate(-180deg);
    transition: 0.3s ease;
  }

  .mobile-footer-dropdowns .dropdown-options {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease,
      margin-bottom 0.3s ease, visibility 0.3s ease, margin-top 0.3s ease;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }

  .mobile-footer-dropdowns .dropdown-options.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-bottom: 19px;
    margin-top: 10px;
  }

  .main-footer
    .mobile-footer-dropdowns
    .mobile-footer-dropdown
    .dropdown-options
    div
    ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }

  .main-footer
    .mobile-footer-dropdowns
    .mobile-footer-dropdown
    .dropdown-options
    div
    ul
    li
    a {
    text-decoration: none;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #ffffff;
    margin-left: 5px;
  }
}

.wpcf7-not-valid-tip {
  color: tomato !important;
  margin-bottom: 15px !important;
}
