/* Colors */
:root {
  --white: #fff;
  --blue: #00aada;
  --red: #ff4141;
  
}

.animation-btncall {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100vh; /* full screen center */
}

/* Button base */
.callbtn {
  display: flex;
  align-items: center;
 
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  background-color: #bc0501
}

@media(max-width:768px){
  .callbtn {
    display: none;
  }
}
/* icon wrapper */
.sign {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* phone icon */
.phone-icon {
  font-size: 28px;
  color: var(--white);
  z-index: 2;
  position: relative;
}

/* ripple rings */
.sign::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  animation: ring-circle-anim 1.2s infinite ease-in-out;
  
  
  
}

.sign::before {
  content: '';
  position: absolute;
  
  background-color: rgba(0, 170, 218, 0.3);
  animation: ring-circle-fill-anim 2.3s infinite ease-in-out;
}

/* text */
.number {
  position: absolute;
  right: 0;
  width: 0;
  opacity: 0;
  color: var(--white);
  font-size: 1.1em;
  font-weight: 600;
  transition: 0.3s;
  white-space: nowrap;
}

/* Hover expand */
.callbtn:hover {
  width: 190px;
  border-radius: 40px;
}

.callbtn:hover .sign {
  width: 30%;
  padding-left: 15px;
}

.callbtn:hover .number {
  opacity: 1;
  width: 70%;
  padding-right: 10px;
    color: var(--white);
}

/* oscillation */
.osc-rotation {
  animation: oscillate-rotation 1s infinite ease-in-out;
  transform-origin: 50% 50%;
}

/* Animations */
@keyframes ring-circle-anim {
  0% { transform: scale(1.1); opacity: 0; }
  30% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1.7); opacity: 0.1; }
}

@keyframes ring-circle-fill-anim {
  0% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.4); opacity: 0.2; }
  100% { transform: scale(1.1); opacity: 0.2; }
}

@keyframes oscillate-rotation {
  0% { transform: rotate(0); }
  10% { transform: rotate(-20deg); }
  20% { transform: rotate(20deg); }
  30% { transform: rotate(-20deg); }
  40% { transform: rotate(20deg); }
  50%,100% { transform: rotate(0); }
}


/* .whatsapp-float {
    position: fixed;
    bottom: 115px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    background: url('https://cdn-icons-png.flaticon.com/512/733/733585.png') no-repeat center;
    background-size: contain;
} */

/* Mobile Adjust */
@media (max-width: 768px) {
    .floating_btn {
      display: none;
    }
}
.floating_btn {
    position: fixed;
    bottom: 64px;
    right: 4px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.contact_icon {
  background-color: #05a13e;
  color: #fff;
  width: 60px;
  height: 60px;
  font-size:30px;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translatey(0px);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 0 #05a13e;
  -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  text-decoration: none !important;
  transition: all 300ms ease-in-out;
}

@keyframes pulsing {
 
  to {
 
    box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
 
  }
 
}
