/* Social Media Wrapper */
.social-media-wrapper {
    margin-bottom: 30px;
}

.social-section-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Classic Social Icons Container */
.social-icons-classic {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Social Icon Base Styles */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hover Effects */
.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Ripple Effect */
.social-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    left: -100%;
    transition: left 0.3s ease;
}

.social-icon:hover::after {
    left: 100%;
}

/* Platform-Specific Background Colors */
.facebook-bg { 
    background-color: #1877f2; 
    background: linear-gradient(135deg, #1877f2 0%, #0d5bb5 100%);
}

.twitter-bg { 
    background-color: #1da1f2; 
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.instagram-bg { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.linkedin-bg { 
    background-color: #0a66c2; 
    background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
}

.youtube-bg { 
    background-color: #ff0000; 
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.pinterest-bg { 
    background-color: #bd081c; 
    background: linear-gradient(135deg, #bd081c 0%, #8c0615 100%);
}

.tiktok-bg { 
    background-color: #000000; 
    background: linear-gradient(135deg, #000000 0%, #25f4ee 50%, #fe2c55 100%);
}

.whatsapp-bg { 
    background-color: #25d366; 
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}

/* Optional: Tooltip-like effect on hover */
.social-icon::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.social-icon:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* Active state (when clicked) */
.social-icon:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-icons-classic {
        gap: 10px;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .social-section-title {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .social-icons-classic {
        justify-content: center;
        gap: 8px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-section-title {
        text-align: center;
        font-size: 1rem;
    }
}

/* Animation for initial load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-icons-classic {
    animation: fadeInUp 0.5s ease-out;
}

.social-icons-classic a:nth-child(2) { animation-delay: 0.1s; }
.social-icons-classic a:nth-child(3) { animation-delay: 0.2s; }
.social-icons-classic a:nth-child(4) { animation-delay: 0.3s; }
.social-icons-classic a:nth-child(5) { animation-delay: 0.4s; }

/* Focus accessibility */
.social-icon:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* Optional: Add subtle pulse animation for attention */
@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.social-icon:hover i {
    animation: subtlePulse 0.5s ease-in-out;
}