/* Floating contact button styles extracted from yeo.css */

.floating-whatsapp {
    position: fixed;
    bottom: calc(2rem + 3.724rem); /* increased by 33% from 2.8rem */
    right: 2rem;
    z-index: 9999;
}

.floating-message {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.floating-message-btn {
    display: flex;
    align-items: center;
    background: #fff;
    color: #0a007e;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.7rem 1.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: box-shadow 0.2s, background 0.2s;
    position: relative;
    outline: none;
}

.floating-message-btn:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.floating-message-btn:hover .floating-message-text {
    opacity: 1;
    max-width: 200px;
    margin-left: 0.7rem;
}

.floating-message-btn:active {
    background: #e0e0e0;
}

.message-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-message-text {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.2s, max-width 0.2s, margin-left 0.2s;
    margin-left: 0;
}

.floating-whatsapp-btn {
    display: flex;
    align-items: center;
    background: #fff;
    color: #25d366;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.7rem 1.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: box-shadow 0.2s, background 0.2s;
    position: relative;
    outline: none;
}

.floating-whatsapp-btn:hover {
    background: #e9f9ee;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.floating-whatsapp-btn:hover .floating-whatsapp-text {
    opacity: 1;
    max-width: 200px;
    margin-left: 0.7rem;
}

.floating-whatsapp-btn:active {
    background: #d4f5e3;
}

.whatsapp-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-whatsapp-text {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.2s, max-width 0.2s, margin-left 0.2s;
    margin-left: 0;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: calc(2rem + 3.724rem);
        right: 1rem;
    }
    .floating-message {
        bottom: 2rem;
        right: 1rem;
    }
    .floating-message-btn,
    .floating-whatsapp-btn {
        padding: 0.7rem 1rem;
        font-size: 1rem;
    }
    .message-icon,
    .whatsapp-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .floating-whatsapp {
        bottom: calc(1.2rem + 3.458rem); /* increased by 33% from 2.6rem */
        right: 0.5rem;
    }
    .floating-message {
        bottom: 1.2rem;
        right: 0.5rem;
    }
    .floating-message-btn,
    .floating-whatsapp-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }
    .floating-message-text,
    .floating-whatsapp-text {
        font-size: 0.95rem;
    }
    .message-icon,
    .whatsapp-icon {
        font-size: 1rem;
    }
}

@keyframes whatsapp-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); }
}

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

.floating-whatsapp-btn {
    animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp-btn:hover {
    animation: none;
}

.floating-message-btn {
    animation: message-pulse 2s infinite;
}

.floating-message-btn:hover {
    animation: none;
} 