/*--------------------------------------------------------------
# Common
--------------------------------------------------------------*/
/* ************ Google Font ************ */

:root {
  --primary-font: 'Titillium Web', sans-serif;
  --primary-color: #B72F25;
  --primary-color-rgb: rgba(183, 47, 37, 0.9);
  --second-color: #070707;
  --second-color-rgb: rgba(7, 7, 7, 0.9);
  --white-color: #FFF;
}

/* turn any icon into white (good for monochrome/transparent icons) */
.icon-white {
  /* convert color -> gray, make it black, then invert to white */
  filter: grayscale(1) brightness(0) invert(1);
  /* keep layout stable */
  display: inline-block;
  vertical-align: middle;
  /* width: 48px;
  height: 48px; */
  object-fit: contain;
}

/* WhatsApp Floating Button Styles */

/* var(--second-color) */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: var(--white-color);
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 16px;
}

.whatsapp-tooltip {
    position: absolute;
    top: 50%;
    right: 70px;
    transform: translateY(-50%);
    background-color: #333;
    color: var(--white-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .whatsapp-float i {
        margin-top: 13px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

.whatsapp-float.clicked {
    transform: scale(0.95);
}
