@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.social-media-footer {
    padding: 30px 0;
  
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 0 auto 30px;
    max-width: 80%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    text-decoration: none;
}

.social-icon {
    width: 60px;
    height: 60px;
    position: relative;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.icon-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.whatsapp .icon-inner {
    color: #25D366;
}

.facebook .icon-inner {
    color: #1877F2;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    z-index: 1;
}

.social-icon::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.whatsapp::after {
    background: #25D366;
}

.facebook::after {
    background: #1877F2;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-icon:hover::after {
    top: 0;
}

.social-icon:hover .icon-inner {
    color: white;
}

@media (max-width: 768px) {
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .icon-inner {
        font-size: 24px;
    }
}

@keyframes subtle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.social-icon:hover {
    animation: subtle-pulse 1.5s infinite;
}