
/* Whatsapp and Call */

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: none;
    outline: none;
}

.floating-button.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-button.call {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.floating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-button .button-tooltip {
    position: absolute;
    right: 70px;
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.floating-button .button-tooltip:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary);
}

.floating-button:hover .button-tooltip {
    opacity: 1;
    visibility: visible;
}

.floating-button .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4757;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.35);
    animation: badgePulse 2s ease-in-out infinite;
    border: 2px solid #fff;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    box-sizing: border-box;
    line-height: 1;
    padding: 0;
    font-family: 'Inter', sans-serif;
}



@keyframes pulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-button {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .floating-button .button-tooltip {
        right: 65px;
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-button {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

/* Floating buttons for contact page */
.contact-page .floating-buttons {
    bottom: 100px;
}

/* Animation for new messages */
@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(25deg); }
    20% { transform: rotate(-25deg); }
    30% { transform: rotate(25deg); }
    40% { transform: rotate(-25deg); }
    50%, 100% { transform: rotate(0); }
}

.floating-button.ringing {
    animation: ring 1.5s ease-in-out 3;
}

/* Custom rupee symbol */
.rupee-symbol {
    font-family: Arial, sans-serif;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.rupee-symbol::before {
    content: 'Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¹';
    font-size: 3.1em;

}
