/* Social Widget Styles */
.flatsome-child-social-widget {
  position: fixed;
  bottom: 10%;
  right: 15px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Hiệu ứng lắc lư khi hover */
  transition: transform 1s;
}

.flatsome-child-social-widget .social-icon {
  position: relative;
  z-index: 1;
}

.flatsome-child-social-widget .social-icon {
  animation: fc-swing 1s cubic-bezier(.36,.07,.19,.97) infinite;
}

/* Hiệu ứng ripple/gợn sóng */
.flatsome-child-social-widget .social-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  background: rgba(26,115,200,0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
.flatsome-child-social-widget .social-icon::before {
  animation: fc-ripple 1.2s infinite;
  opacity: 1;
}

@keyframes fc-ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  70% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

@keyframes fc-swing {
  15% {
    transform: translateX(-3px) rotate(-4deg);
  }
  30% {
    transform: translateX(2px) rotate(3deg);
  }
  45% {
    transform: translateX(-2px) rotate(-2deg);
  }
  60% {
    transform: translateX(1px) rotate(1deg);
  }
  75% {
    transform: translateX(-1px) rotate(-1deg);
  }
  100% {
    transform: translateX(0) rotate(0);
  }
}
.flatsome-child-social-widget .social-icon {
  display: block;
  margin: 0 auto;
  width: 45px;
  height: 45px;
}
.flatsome-child-social-widget .social-icon img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  position: relative;
}
.flatsome-child-social-widget .social-icon.facebook img {
  background: #1877f2;
}
.flatsome-child-social-widget .social-icon.zalo img {
  background: #0084ff;
}
.flatsome-child-social-widget .social-icon.tiktok img {
  background: #000;
}

.newsletter-widget {
  background: none;
  padding: 0;
}
.newsletter-title {
  display: block;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  font-size: 16px;
  text-transform: uppercase;
}
.newsletter-input-group {
  display: flex;
  align-items: center;
  position: relative;
}
.newsletter-input-group input[type="email"] {
  flex: 1;
  border: none;
  border-radius: 6px 0 0 6px;
  padding: 12px 16px;
  font-size: 16px;
  background: #f5f6fa;
  color: #222;
  outline: none;
}
.newsletter-submit {
  background: #284682;
  border: none;
  border-radius: 0 6px 6px 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: -2px;
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  height: 40px;
  transition: background 0.2s;
}
.newsletter-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('../images/email.png') center/contain no-repeat;
}
@media (max-width: 768px) {
  #footer .col {
    flex-basis: 100%;
    max-width: 100%;
  }
  #footer .img.qr-code {
    max-width: 150px;
  }
}