#contactInfo {
  position: fixed;
  top: 50%;
  right: 0%;
  transform: translate(0%, -50%);
  background-color: #2e1e1a;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  z-index: 9999 !important;
}

#contactInfo #whatsapp {
  border-top-left-radius: 5px;
  background: #5CB338;
  padding: 1.5rem 1rem;
  position: relative;
}

#contactInfo #whatsapp-box {
  width: 160px !important;
  height: 100%;
  background-color: #417f26;
  border-radius: 5px;
  transition: all .5s;
  position: absolute;
  z-index: -99;
  right: -300%;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

#contactInfo #whatsapp-box span {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

#contactInfo #whatsapp img {
  width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateY360 1.5s ease-in-out infinite;
  transform-style: preserve-3d;
  /* Optional: Keeps 3D depth for better effect */
}

@keyframes rotateY360 {
  from {
    transform: translate(-50%, -50%) rotateY(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotateY(360deg);
  }
}


#contactInfo #phone {
  background: #3A59D1;
  padding: 1.5rem 1.5rem;
  position: relative;
}

#contactInfo #phone-box {
  width: 160px !important;
  height: 100%;
  background-color: #2a44ae;
  border-radius: 5px;
  transition: all .5s;
  position: absolute;
  z-index: -99;
  right: -300%;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

#contactInfo #phone-box span {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

#contactInfo #phone img {
  width: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateY360 1.5s ease-in-out infinite;
  transform-style: preserve-3d;
  /* Optional: Keeps 3D depth for better effect */
}

#contactInfo #instagram {
  background: #833ab4;
  background: linear-gradient(to right,
      #833ab4, #fd1d1d, #fcb045);
  padding: 1.5rem 1.5rem;
  position: relative;
}

#contactInfo #instagram-box {
  width: 160px !important;
  height: 100%;
  background: #833ab4;
  background: linear-gradient(to right,
      #833ab4, #fd1d1d, #fcb045);
  transition: all .5s;
  border-radius: 5px;
  position: absolute;
  z-index: -99;
  right: -300%;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

#contactInfo #instagram-box span {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

#contactInfo #instagram img {
  width: 26px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateY360 1.5s ease-in-out infinite;
  transform-style: preserve-3d;
  /* Optional: Keeps 3D depth for better effect */
}



#contactInfo #facebook {
  background: #227aff;
  padding: 1.5rem 1.5rem;
  position: relative;
}

#contactInfo #facebook-box {
  width: 160px !important;
  height: 100%;
  background-color: #075ddd;
  border-radius: 5px;
  transition: all .5s;
  position: absolute;
  z-index: -99;
  right: -300%;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

#contactInfo #facebook-box span {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

#contactInfo #facebook img {
  width: 26px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateY360 1.5s ease-in-out infinite;
  transform-style: preserve-3d;
  /* Optional: Keeps 3D depth for better effect */
}

#contactInfo #youtube {
  background: #FF0000;
  border-bottom-left-radius: 5px;
  padding: 1.5rem 1.5rem;
  position: relative;
}

#contactInfo #youtube-box {
  width: 160px !important;
  height: 100%;
  background-color: #ad0000;
  border-radius: 5px;
  transition: all .5s;
  position: absolute;
  z-index: -99;
  right: -300%;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

#contactInfo #youtube-box span {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

#contactInfo #youtube img {
  width: 26px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateY360 1.5s ease-in-out infinite;
  transform-style: preserve-3d;
  /* Optional: Keeps 3D depth for better effect */
}