/* Floating Social Media Buttons - Stuck to Right Edge */
.social-floating {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: 9999;
}

.social-btn {
    width: 60px;
    height: 50px;
    background-color: #E30613; /* Brand Red */
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    border-radius: 30px 0 0 30px; /* Rounded only on the left */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.15);
    padding-left: 5px; /* Offset icon slightly from edge */
}

.social-btn:hover {
    width: 80px; /* Expand on hover */
    padding-right: 15px; /* Balance the shift */
    box-shadow: -6px 6px 20px rgba(227, 6, 19, 0.3);
}

.social-btn.instagram {
    /* Keeping them both red as per request, but can be customized */
    background-color: #E30613;
}

.social-btn.linkedin {
    background-color: #E30613;
}

.social-btn.whatsapp {
    background-color: #E30613;
}

/* Tooltip styles */
.social-btn .tooltip {
    position: absolute;
    right: 70px;
    background-color: #0A0A0A;
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-btn .tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #0A0A0A;
}

.social-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* Icons specifically white */
.social-btn i {
    color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .social-btn {
        width: 50px;
        height: 45px;
        font-size: 20px;
    }
    
    .social-btn:hover {
        width: 60px;
    }
    
    .social-btn .tooltip {
        display: none;
    }
}
