/* ========================================
   DPS WHATSAPP SECTION CSS START 
   ======================================== */


/* Floating Buttons CSS - Add to your styles.css */
.floating-buttons-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between buttons */
    align-items: flex-end;
}

/* WhatsApp Container */
.whatsapp-container {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.whatsapp-text {
    background: white;
    color: #333333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 1px solid #e5e7eb;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.whatsapp-container:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

/* WhatsApp Button */
.whatsapp-fab {
    fill: white;
    width: 56px;
    height: 56px;
    padding: 8px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    pointer-events: auto;
}

.whatsapp-fab:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transform: scale(1.05);
    text-decoration: none;
}

.whatsapp-ico {
    width: 100%;
    height: 100%;
}

/* Back to Top Container */
.back-to-top-container {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top-container.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-text {
    background: #1d4ed8;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.back-to-top-container:hover .back-to-top-text {
    opacity: 1;
    transform: translateX(0);
}

/* Back to Top Button - Smaller Circle */
.back-to-top-fab {
    width: 46px; /* Reduced from 56px */
    height: 46px; /* Reduced from 56px */
    background-color: #1d4ed8;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px; /* Reduced from 24px */
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.back-to-top-fab:hover {
    background-color: #1e40af;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transform: scale(1.05);
}

/* Pulse animation for WhatsApp */
@keyframes pulse-whatsapp {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.whatsapp-fab.pulse {
    animation: pulse-whatsapp 2s ease-in-out;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-buttons-container {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .whatsapp-fab {
        width: 50px;
        height: 50px;
    }
    
    .back-to-top-fab {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .whatsapp-text,
    .back-to-top-text {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .whatsapp-container,
    .back-to-top-container {
        gap: 8px;
    }
}

/* Very small mobile screens */
@media (max-width: 480px) {
    .whatsapp-text,
    .back-to-top-text {
        display: none; /* Hide text on very small screens */
    }
}

/* ========================================
   DPS WHATSAPP SECTION CSS END 
   ======================================== */
