/* ============================================
   eduSYMS Floating Contact Widget
   ============================================ */

.edusyms-floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.edusyms-floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7cc820 0%, #94c43c 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 30px rgba(124, 200, 32, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.edusyms-floating-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 40px rgba(124, 200, 32, 0.6);
    color: white;
    text-decoration: none;
}

.edusyms-floating-btn i {
    font-size: 24px;
}

/* Phone Button Specific */
.edusyms-floating-btn.phone {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.4);
}

.edusyms-floating-btn.phone:hover {
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.6);
}

/* WhatsApp Button Specific */
.edusyms-floating-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.edusyms-floating-btn.whatsapp:hover {
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

/* Email Button Specific */
.edusyms-floating-btn.email {
    background: linear-gradient(135deg, #87a552 0%, #5c6454 100%);
    box-shadow: 0 8px 30px rgba(135, 165, 82, 0.4);
}

.edusyms-floating-btn.email:hover {
    box-shadow: 0 12px 40px rgba(135, 165, 82, 0.6);
}

/* Pulse Animation for Main Contact Button */
.edusyms-floating-btn.main {
    animation: edusyms-pulse 3s infinite;
}

@keyframes edusyms-pulse {
    0% {
        box-shadow: 0 8px 30px rgba(124, 200, 32, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(124, 200, 32, 0.7), 0 0 0 15px rgba(124, 200, 32, 0.1);
    }
    100% {
        box-shadow: 0 8px 30px rgba(124, 200, 32, 0.4);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .edusyms-floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .edusyms-floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .edusyms-floating-btn i {
        font-size: 20px;
    }
}

/* Tooltip for Floating Buttons */
.edusyms-floating-btn[data-tooltip] {
    position: relative;
}

.edusyms-floating-btn[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.edusyms-floating-btn[data-tooltip]:after {
    content: '';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.edusyms-floating-btn[data-tooltip]:hover:before,
.edusyms-floating-btn[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .edusyms-floating-btn[data-tooltip]:before,
    .edusyms-floating-btn[data-tooltip]:after {
        display: none;
    }
}
