/* ===================================
   Social Sharing Buttons
   =================================== */

.social-share-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.share-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid;
    color: white;
}

.share-btn svg {
    flex-shrink: 0;
}

.share-btn span {
    white-space: nowrap;
}

/* Facebook */
.share-facebook {
    background: #1877f2;
    border-color: #1877f2;
}

.share-facebook:hover {
    background: #145dbf;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Twitter/X */
.share-twitter {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-twitter:hover {
    background: #1a8cd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

/* LinkedIn */
.share-linkedin {
    background: #0077b5;
    border-color: #0077b5;
}

.share-linkedin:hover {
    background: #006399;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

/* WhatsApp */
.share-whatsapp {
    background: #25d366;
    border-color: #25d366;
}

.share-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Email */
.share-email {
    background: #ea4335;
    border-color: #ea4335;
}

.share-email:hover {
    background: #d33426;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-share-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .social-share-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .share-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .share-btn span {
        display: none;
    }

    .share-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .social-share-buttons {
        gap: 0.5rem;
    }

    .share-btn {
        padding: 0.5rem;
    }
}

/* ===================================
   Hero Section Social Share
   =================================== */

.hero-social-share {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem;
    margin: 0 !important;
    /* Remove margin, using gap from parent */
    padding: 1.5rem;
    /* Rich Purple Gradient (Blended) */
    background: linear-gradient(145deg, #4a3a90 0%, #3d2a7c 50%, #2d1a5e 100%);
    border-radius: 16px;
    width: fit-content !important;
    max-width: 650px;
    /* Match other elements */
    /* 3D Depth Effect */
    box-shadow:
        0 10px 30px rgba(58, 37, 112, 0.6),
        0 5px 15px rgba(45, 26, 94, 0.5),
        inset 0 -3px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 8px rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0) translateZ(0);
}

.hero-social-share:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 40px rgba(58, 37, 112, 0.7),
        0 8px 20px rgba(45, 26, 94, 0.6),
        inset 0 -4px 14px rgba(0, 0, 0, 0.35),
        inset 0 3px 10px rgba(255, 255, 255, 0.3);
}

.share-label-hero {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    /* Improved contrast */
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.social-share-buttons-hero {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.share-btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    color: white;
    cursor: pointer;
    position: relative;
    /* 3D Capsule Effect */
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transform: translateY(0) translateZ(0);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
}

.share-btn-hero::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-btn-hero:hover::before {
    opacity: 1;
}

.share-btn-hero svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Brand Colors with 3D Effect */
.share-btn-hero.share-facebook {
    background: linear-gradient(145deg, #1e88ff 0%, #1877f2 50%, #0c63d4 100%);
}

.share-btn-hero.share-facebook:hover {
    background: linear-gradient(145deg, #2a95ff 0%, #1e88ff 50%, #1877f2 100%);
    transform: translateY(-6px) scale(1.1) rotateX(5deg);
    box-shadow:
        0 12px 32px rgba(24, 119, 242, 0.6),
        0 6px 16px rgba(24, 119, 242, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
}

.share-btn-hero.share-twitter {
    background: linear-gradient(145deg, #2ab0ff 0%, #1da1f2 50%, #0d8bd9 100%);
}

.share-btn-hero.share-twitter:hover {
    background: linear-gradient(145deg, #3dbdff 0%, #2ab0ff 50%, #1da1f2 100%);
    transform: translateY(-6px) scale(1.1) rotateX(5deg);
    box-shadow:
        0 12px 32px rgba(29, 161, 242, 0.6),
        0 6px 16px rgba(29, 161, 242, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
}

.share-btn-hero.share-linkedin {
    background: linear-gradient(145deg, #0088cc 0%, #0077b5 50%, #005885 100%);
}

.share-btn-hero.share-linkedin:hover {
    background: linear-gradient(145deg, #0099dd 0%, #0088cc 50%, #0077b5 100%);
    transform: translateY(-6px) scale(1.1) rotateX(5deg);
    box-shadow:
        0 12px 32px rgba(0, 119, 181, 0.6),
        0 6px 16px rgba(0, 119, 181, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
}

.share-btn-hero.share-whatsapp {
    background: linear-gradient(145deg, #2fe072 0%, #25d366 50%, #1ebe57 100%);
}

.share-btn-hero.share-whatsapp:hover {
    background: linear-gradient(145deg, #3ef57e 0%, #2fe072 50%, #25d366 100%);
    transform: translateY(-6px) scale(1.1) rotateX(5deg);
    box-shadow:
        0 12px 32px rgba(37, 211, 102, 0.6),
        0 6px 16px rgba(37, 211, 102, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
}

.share-btn-hero.share-email {
    background: linear-gradient(145deg, #ff5544 0%, #ea4335 50%, #d62516 100%);
}

.share-btn-hero.share-email:hover {
    background: linear-gradient(145deg, #ff6655 0%, #ff5544 50%, #ea4335 100%);
    transform: translateY(-6px) scale(1.1) rotateX(5deg);
    box-shadow:
        0 12px 32px rgba(234, 67, 53, 0.6),
        0 6px 16px rgba(234, 67, 53, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .hero-social-share {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        padding: 1.25rem;
    }

    .share-label-hero {
        font-size: 0.9rem;
    }

    .share-btn-hero {
        width: 40px;
        height: 40px;
    }

    .share-btn-hero svg {
        width: 16px;
        height: 16px;
    }
}