/**
 * Omaaa Astro — 3D Embossed Call & WhatsApp Action Buttons
 * Designed for authentic tactile, raised ("उभरे हुए") appearance across the entire website.
 */

.btn-call-3d,
.btn-whatsapp-3d,
.btn-chat-3d {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    border-radius: 28px !important;
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease, filter 0.18s ease !important;
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* 1. Saffron-Amber 3D Call Button */
.btn-call-3d {
    background: linear-gradient(135deg, #FF7A00 0%, #E65100 65%, #C23800 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 
        0 4px 12px rgba(230, 81, 0, 0.45),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.2) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.btn-call-3d:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 7px 18px rgba(230, 81, 0, 0.58),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.75),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

.btn-call-3d:active {
    transform: translateY(1px) scale(0.99) !important;
    box-shadow: 
        0 2px 6px rgba(230, 81, 0, 0.4),
        inset 0 2px 3px rgba(0, 0, 0, 0.25) !important;
}

/* 2. Vibrant Emerald 3D WhatsApp Button */
.btn-whatsapp-3d {
    background: linear-gradient(135deg, #2ED76B 0%, #25D366 40%, #128C7E 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 
        0 4px 12px rgba(18, 140, 126, 0.48),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.2) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.btn-whatsapp-3d:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 7px 18px rgba(18, 140, 126, 0.62),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.75),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

.btn-whatsapp-3d:active {
    transform: translateY(1px) scale(0.99) !important;
    box-shadow: 
        0 2px 6px rgba(18, 140, 126, 0.4),
        inset 0 2px 3px rgba(0, 0, 0, 0.25) !important;
}

/* 3. Golden Saffron 3D Chat Button */
.btn-chat-3d {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 
        0 4px 12px rgba(217, 119, 6, 0.45),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.2) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.btn-chat-3d:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 7px 18px rgba(217, 119, 6, 0.58),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.75),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

/* Size Modifiers */
.btn-call-3d.btn-sm,
.btn-whatsapp-3d.btn-sm,
.btn-chat-3d.btn-sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
    gap: 6px !important;
    border-radius: 24px !important;
}

.btn-call-3d.btn-lg,
.btn-whatsapp-3d.btn-lg,
.btn-chat-3d.btn-lg {
    padding: 12px 24px !important;
    font-size: 16px !important;
    gap: 10px !important;
    border-radius: 32px !important;
}

/* 3D Icon Presentation */
.cta-3d-icon {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)) !important;
    transition: transform 0.18s ease !important;
}

.btn-call-3d:hover .cta-3d-icon,
.btn-whatsapp-3d:hover .cta-3d-icon,
.btn-chat-3d:hover .cta-3d-icon {
    transform: scale(1.1) !important;
}

.btn-sm .cta-3d-icon,
.cta-3d-icon-sm {
    width: 17px !important;
    height: 17px !important;
}

.btn-lg .cta-3d-icon,
.cta-3d-icon-lg {
    width: 26px !important;
    height: 26px !important;
}

/* Container & Alignment in Contact CTA */
.contact-quick-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 10px 0 !important;
}

.contact-quick-compact .contact-quick-actions {
    margin: 4px 0 !important;
}

/* Astrologer & Pandit Card Contact Actions */
.profile-contact-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 10px !important;
}

.profile-contact-actions .btn-call-3d,
.profile-contact-actions .btn-whatsapp-3d,
.profile-contact-actions .btn-chat-3d {
    flex: 1 1 auto !important;
}

@media (max-width: 576px) {
    .contact-quick-actions {
        width: 100% !important;
    }
    .contact-quick-actions .btn-call-3d,
    .contact-quick-actions .btn-whatsapp-3d {
        flex: 1 1 calc(50% - 6px) !important;
        padding: 8px 10px !important;
        font-size: 13.5px !important;
    }
}
