.ve_footer {
  margin-top: 128px;
  padding: 7rem 0 2rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #777;
  position: relative;
  font-family: "Poppins", sans-serif;
  color: var(--vp--color--on-primary);
  background-color: var(--vp--color--primary);
}

.ve_footer__benefits {
  margin-top: 1rem;
  margin-bottom: 3rem;
  padding-left: 0;
}

.ve_footer__ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ve_footer__ul--contacts {
  display: flex;
  flex-direction: column;
  gap: 28px;
}


/* Style for the primary menu in the footer */
.ve_footer__ul--primary {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #777;
}

.ve_footer__ul--primary li {
  margin-bottom: 10px;
}

.ve_footer__ul--primary li a {
  text-decoration: none;
  color: #333;
}

.ve_footer__ul--primary li a:hover {
  color: #007bff;
}

/* End of Style for the primary menu in the footer */

.ve_footer__li {
  display: flex;
  align-content: flex-start;
  color: #FFFFFF;
}

.ve_footer__li>a {
  color: #FFFFFF;
  text-decoration: none;
}

.ve_footer__li>a:hover {
  color: var(--vp--color--secondary);
  text-decoration: underline;
  ;
}

.ve_footer__li div {
  margin-bottom: 8px;
  /* Adjust spacing as needed */
}

.ve_footer__link-out {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #FFFFFF;
  text-decoration: underline;
  margin-right: 4px;
  text-decoration: none;
}

.ve_footer__link-out:visited {
  color: white;
}

.ve_footer__link-out>span {
  text-decoration: underline;
  font-weight: 700;
}

.ve_footer__link-out>i {
  text-decoration: none;
}

.ve_footer__link-out:hover {
  color: #00ffc8;
}

.ve_footer__link-out-description {
  color: #f2f1f1;
}

.ve_footer__i {
  margin-right: 8px;
  margin-top: 4px;
}

.ve_footer__site_info {
  margin-top: 72px !important;
}

.ve_footer_service__ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ve_footer__brand {
  position: relative;
  width: 320px;
  margin-bottom: 32px;
}

@media (max-width: 760px) {

  .ve_footer {
    padding: 2rem 0 2rem;
  }

  .ve_footer__brand {
    width: 100%;
    margin-bottom: 24px;
    padding: 32px;
  }

  .ve_footer__frame-wrap {
    margin-bottom: 32px;
    width: 100%;
  }

  .ve_footer__frame {
    width: 100% !important;
  }

  .ve_footer_copyright.mt-5.pt-5 {
    padding-top: 40px !important;
    margin-top: 16px !important;
  }
}

.ve_footer__brand-backgrount-circle {
  display: none;
  position: absolute;
  top: 15px;
  left: 77%;
  background-color: white;
  height: 40px;
  width: 40px;
  border-radius: 40px;
  opacity: 1;
  box-shadow: 0px 0rem 2rem 32px rgb(255 255 255);
  z-index: 2;
}

.ve_footer__barnd-description {
  max-width: 490px;
  margin-bottom: 32px;
}

.ve_footer__frame {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  width: 350px;
  position: relative;
  /*
     box-shadow:
     -7px -7px 20px 0px #fff9,
     -4px -4px 5px 0px #fff9,
     7px 7px 20px 0px #0002,
     4px 4px 5px 0px #0001,
     inset 0px 0px 0px 0px #fff9,
     inset 0px 0px 0px 0px #0001,
     inset 0px 0px 0px 0px #fff9,        inset 0px 0px 0px 0px #0001;
   transition:box-shadow 0.6s cubic-bezier(.79,.21,.06,.81);
   */
  border-radius: 10px;
}

.ve_footer__frame-wrap {
  display: inline-flex;
  border-radius: 10px;
  background-color: #e0e5ec;
}

.ve_footer__frame-btn {
  height: 35px;
  width: 35px;
  border-radius: 3px;
  background: #e0e5ec;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    -7px -7px 20px 0px #fff9,
    -4px -4px 5px 0px #fff9,
    7px 7px 20px 0px #0002,
    4px 4px 5px 0px #0001,
    inset 0px 0px 0px 0px #fff9,
    inset 0px 0px 0px 0px #0001,
    inset 0px 0px 0px 0px #fff9, inset 0px 0px 0px 0px #0001;
  transition: box-shadow 0.6s cubic-bezier(.79, .21, .06, .81);
  font-size: 16px;
  color: rgba(42, 52, 84, 1);
  text-decoration: none;
}

.ve_footer__frame-btn:active {
  box-shadow:
    4px 4px 6px 0 rgba(255, 255, 255, .5),
    -4px -4px 6px 0 rgba(116, 125, 136, .2),
    inset -4px -4px 6px 0 rgba(255, 255, 255, .5),
    inset 4px 4px 6px 0 rgba(116, 125, 136, .3);
}

.ve_footer_copyright {
  /*border-top: 1px solid var(--vp--color--on-primary);*/
  border-top: 1px solid #aa9494;
}

/* Style for the old menu */
.ve_footer__old-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ve_footer__old-menu li {
  position: relative;
}

/* Top-level menu links */
.ve_footer__old-menu>ul>li>a {
  display: block;
  background-color: transparent;
  /* Remove background */
  color: #fff;
  /* Make text color white */
  text-decoration: none;
  margin-bottom: 5px;
  /* Keep spacing between items */
  cursor: pointer;
  border: none;
  /* Remove border */
  padding: 0;
  /* Remove padding */
}

.ve_footer__old-menu>ul>li>a:hover {
  color: #ccc;
  /* Make text slightly darker on hover */
}

/* Submenu links */
.ve_footer__old-menu .sub-menu li a {
  display: block;
  background-color: transparent;
  /* Remove background */
  color: #fff;
  /* Make text color white */
  text-decoration: none;
  margin-bottom: 5px;
  /* Keep spacing between items */
  border: none;
  /* Remove border */
  padding: 8px 15px;
  /* Keep padding for submenu items */
}

.ve_footer__old-menu .sub-menu li a:hover {
  color: #ccc;
  /* Make text slightly darker on hover */
}

/* Hide submenus by default */
.ve_footer__old-menu .sub-menu {
  display: none;
  list-style: none;
  /* Remove dots */
  padding: 0;
  margin: 0;
  position: relative;
  margin-left: 15px;
  /* Adjust spacing if needed */
  border-left: none;
  /* Remove left border */
}

/* Show submenus when active */
.ve_footer__old-menu .sub-menu.active {
  display: block;
}

/* Add transition for smooth dropdown effect */
.ve_footer__old-menu .sub-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.ve_footer__old-menu .sub-menu.active {
  max-height: 500px;
  /* Adjust based on submenu content */
  opacity: 1;
}

/* Hide all top-level menu items except the first one */
.ve_footer__old-menu>ul>li:not(:first-child) {
  display: none;
}

/* Remove dot next to Головна */
.ve_footer__old-menu {
  list-style: none;
  /* Remove dots for top-level menu */
  padding: 0;
  margin: 0;
}

/* Ensure submenus are hidden by default */
.ve_footer__old-menu .sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  border-left: 1px solid #ddd;
  margin-left: 15px;
}

.ve_footer__old-menu .sub-menu.active {
  display: block;
}

.ve_footer__li--phone {
  display: flex;
  align-items: center;
  color: var(--vp--color--on-primary);
}

.ve_footer__li--phone i {
  margin-right: 8px;
  margin-top: 0px;
}
