

/* ================= LEFT SOCIAL BAR ================= */
.left-social-bar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 9999;
}

/* COMMON BUTTON STYLE */
.social-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
}

/* COLORS */
.fb { background: #1877f2; }
.insta { background: #e4405f; }
.linkedin { background: #0077b5; }
.youtube { background: #ff0000; }

.call { background: #007bff; }
.whatsapp { background: #25d366; }

/* HOVER EFFECT */
.social-btn:hover {
  width: 55px;
}

/* DIVIDER */
.divider {
  height: 10px;
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {

  .left-social-bar {
    top: auto;
    bottom: 20px;
    left: 10px;
    transform: none;
  }

  .social-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .social-btn:hover {
    width: 45px;
  }
}
.rainbow-footer .container {
  padding: 0 !important;
}

.rainbow-footer * {
  box-sizing: border-box;
}

/* CALL BUTTON */
.social-btn.call {
    background: #007bff;
    position: relative;
    overflow: visible;
    z-index: 2;
    animation: callPulse 2s infinite;
}

/* Expanding Ring */
.social-btn.call::before,
.social-btn.call::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    border: 2px solid rgba(0,123,255,0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s infinite;
    z-index: -1;
}

.social-btn.call::after {
    animation-delay: 1s;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes callPulse {
    0%,100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

/* Phone Icon Shake */
.social-btn.call i {
    animation: phoneShake 2s infinite;
}

@keyframes phoneShake {
    0%,100% {
        transform: rotate(0deg);
    }
    5% {
        transform: rotate(-20deg);
    }
    10% {
        transform: rotate(20deg);
    }
    15% {
        transform: rotate(-20deg);
    }
    20% {
        transform: rotate(20deg);
    }
    25% {
        transform: rotate(0deg);
    }
}