/* --- Social Sharing Buttons --- */

:root {
    --x-color: #0F1419;
    --facebook-color: #1877F2;
    --instagram-color: #E4405F;
    --share-bg: rgba(255, 255, 255, 0.85);
}

/* Floating Share Bar (Desktop) */
.share-bar-desktop {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Floating Share Bar (Mobile) */
.share-bar-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--share-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.75rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid rgba(255,255,255,0.3);
}

@media (max-width: 992px) {
    .share-bar-desktop { display: none; }
    .share-bar-mobile { display: flex; }
}

/* Share Button Style */
.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #4a5568;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 1.2rem;
}

.share-btn:hover {
    transform: scale(1.15) translateY(-3px);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.share-btn.btn-x:hover { background-color: var(--x-color); border-color: var(--x-color); }
.share-btn.btn-facebook:hover { background-color: var(--facebook-color); border-color: var(--facebook-color); }
.share-btn.btn-instagram:hover { background-color: var(--instagram-color); border-color: var(--instagram-color); }

/* Homepage Connect Section */
.connect-section {
    padding: 80px 0;
    background: #fff;
}

.social-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-card:hover {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transform: translateY(-10px);
}

.social-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-card:hover .social-icon-box {
    transform: rotate(-10deg) scale(1.1);
}

.social-card h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.social-card p {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1.5rem;
}

/* Specific Brand Colors for connection cards */
.icon-x { background: #f0f2f5; color: var(--x-color); }
.icon-facebook { background: #ebf5ff; color: var(--facebook-color); }
.icon-instagram { background: #fff0f3; color: var(--instagram-color); }

.social-card:hover .icon-x { background: var(--x-color); color: #fff; }
.social-card:hover .icon-facebook { background: var(--facebook-color); color: #fff; }
.social-card:hover .icon-instagram { background: var(--instagram-color); color: #fff; }
