/* VoiceCo.ai Social Media Custom Styling - Redesigned */

/* Social media buttons with improved layout and visibility */
.voiceco-social {
    width: 40px !important;
    height: 40px !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 8px !important;
    margin-bottom: 8px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    color: #ffffff !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    font-size: 16px !important;
}

.voiceco-social:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2) !important;
    text-decoration: none !important;
}

.voiceco-social:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
}

/* Individual platform styling with better contrast */
.voiceco-social[href*="x.com"]:hover,
.voiceco-social[href*="twitter"]:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.voiceco-social[href*="facebook"]:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #ffffff !important;
}

.voiceco-social[href*="youtube"]:hover {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
    color: #ffffff !important;
}

.voiceco-social[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important;
    border-color: #e6683c !important;
    color: #ffffff !important;
}

.voiceco-social[href*="linkedin"]:hover {
    background: #0077b5 !important;
    border-color: #0077b5 !important;
    color: #ffffff !important;
}

/* Icon styling with better visibility */
.voiceco-social i {
    font-size: 16px !important;
    line-height: 1 !important;
    color: inherit !important;
}

/* X (Twitter) icon specific styling for better visibility */
.voiceco-social .fa-x-twitter {
    font-weight: 900 !important;
    font-size: 14px !important;
}

/* Improved container layout */
.footer .d-flex.pt-2 {
    gap: 0px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 15px !important;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .voiceco-social {
        width: 38px !important;
        height: 38px !important;
        margin-right: 6px !important;
        margin-bottom: 6px !important;
    }
    
    .voiceco-social i {
        font-size: 14px !important;
    }
    
    .voiceco-social .fa-x-twitter {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .voiceco-social {
        width: 36px !important;
        height: 36px !important;
        margin-right: 5px !important;
    }
    
    .voiceco-social i {
        font-size: 13px !important;
    }
}

/* Animation for social media section */
.footer .d-flex {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced accessibility */
.voiceco-social:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Tooltip styling */
.voiceco-social::after {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.voiceco-social:hover::after {
    opacity: 1;
}

/* Ensure all icons are properly aligned */
.voiceco-social {
    vertical-align: top !important;
}

/* Special handling for Font Awesome 6 X icon */
.fa-x-twitter::before {
    content: "\e61b" !important;
}

/* Fallback for X icon if Font Awesome 6 not loaded */
.voiceco-social[href*="x.com"] i.fa-x-twitter::before,
.voiceco-social[href*="twitter"] i.fa-x-twitter::before {
    content: "𝕏" !important;
    font-family: "Times New Roman", serif !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

/* Container improvements for better spacing */
.footer .col-md-6.col-lg-3 {
    margin-bottom: 20px;
}

/* Better text spacing above social icons */
.footer .d-flex.pt-2 {
    padding-top: 20px !important;
}

